https://bugs.winehq.org/show_bug.cgi?id=53814
Bug ID: 53814 Summary: TMUnlimiter 1.2.0.0 unable to find configuration INI Product: Wine Version: 7.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: asdfghrbljzmkd@outlook.com Distribution: ---
TrackMania Nations Forever 2.11.26 (https://nadeo-download.cdn.ubi.com/trackmaniaforever/tmnationsforever_setup....)
TMUnlimiter 1.2.0.0 (https://trackmania-unlimiter.software.informer.com/download/)
Running TMUnlimiterConfigurator.exe gives an error message:
--------------------------- Error --------------------------- Failed to read TMUnlimiter.ini file. Make sure that this file is in the same directory. If you have it, try to run application with administrator rights. --------------------------- OK ---------------------------
Also, when changing settings directly in the INI then starting the game, the changed settings are not recognized.
https://bugs.winehq.org/show_bug.cgi?id=53814
--- Comment #1 from Rafał Mużyło galtgendo@o2.pl --- ...
The minimum needed would be a console log with WINEDEBUG=file. Perhaps 'reg' would be useful too, depending on where the program gets the location from.
https://bugs.winehq.org/show_bug.cgi?id=53814
Qwerty Chouskie asdfghrbljzmkd@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |asdfghrbljzmkd@outlook.com
--- Comment #2 from Qwerty Chouskie asdfghrbljzmkd@outlook.com --- Created attachment 73336 --> https://bugs.winehq.org/attachment.cgi?id=73336 Log
Debug log attached.
https://bugs.winehq.org/show_bug.cgi?id=53814
Qwerty Chouskie asdfghrbljzmkd@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=53814
--- Comment #3 from Rafał Mużyło galtgendo@o2.pl --- By the log, the file "C:\Program Files (x86)\TmNationsForever\TMUnlimiter.ini" is found and read with no problem reported.
https://bugs.winehq.org/show_bug.cgi?id=53814
--- Comment #4 from Qwerty Chouskie asdfghrbljzmkd@outlook.com --- (In reply to Rafał Mużyło from comment #3)
By the log, the file "C:\Program Files (x86)\TmNationsForever\TMUnlimiter.ini" is found and read with no problem reported.
What other logs should I provide to help debug the issue then? Perhaps it's an issue with Wine's INI decoder?
https://bugs.winehq.org/show_bug.cgi?id=53814
Qwerty Chouskie asdfghrbljzmkd@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://trackmania-unlimite | |r.software.informer.com/dow | |nload/
https://bugs.winehq.org/show_bug.cgi?id=53814
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Created attachment 73470 --> https://bugs.winehq.org/attachment.cgi?id=73470 Exceptions with WINE_MONO_TRACE=E:all
I doubt it's the ini. A quick look through a decompiler shows the program just has a big catch statement, and if anything goes wrong, it gives that message.
You can get the underlying exception using "WINE_MONO_TRACE=E:all wine EXE" Too bad it doesn't have line numbers though...
https://bugs.winehq.org/show_bug.cgi?id=53814
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download
https://bugs.winehq.org/show_bug.cgi?id=53814
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Summary|TMUnlimiter 1.2.0.0 unable |TMUnlimiter 1.2.0.0 |to find configuration INI |requires ini files with | |whitespace in the section | |to be parsed properly Status|UNCONFIRMED |NEW Component|-unknown |kernel32
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Okay, it is the ini.
If you open the ini, you see it has sections like
[ NewTrackSettings | TrackSize ]
instead of
[NewTrackSettings | TrackSize]
Those spaces break Wine. Should be easy to fix though...
https://bugs.winehq.org/show_bug.cgi?id=53814
--- Comment #7 from Qwerty Chouskie asdfghrbljzmkd@outlook.com --- (In reply to Fabian Maurer from comment #6)
Okay, it is the ini.
If you open the ini, you see it has sections like
[ NewTrackSettings | TrackSize ]
instead of
[NewTrackSettings | TrackSize]
Those spaces break Wine. Should be easy to fix though...
I can confirm that manually removing the spaces fixes loading the INI in-game (and presumably fixes loading in the config utility too). Hopefully this is a simple fix in Wine, I imagine there are probably other apps out there running into this issue.
https://bugs.winehq.org/show_bug.cgi?id=53814
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 73534 --> https://bugs.winehq.org/attachment.cgi?id=73534 patch
Please try this one.
https://bugs.winehq.org/show_bug.cgi?id=53814
--- Comment #9 from Fabian Maurer dark.shadow4@web.de --- Patch works fine for me.
https://bugs.winehq.org/show_bug.cgi?id=53814
--- Comment #10 from Qwerty Chouskie asdfghrbljzmkd@outlook.com --- I don't have a Wine build environment set up but I see it's already been tested by another. Hopefully this can be merged into Wine soon :)
https://bugs.winehq.org/show_bug.cgi?id=53814
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |8d9eb707c61455583a42891d684 | |1ba9feeaf78d3 Resolution|--- |FIXED
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com --- It is merged in wine 7.22, see 8d9eb707c61455583a42891d6841ba9feeaf78d3.
https://bugs.winehq.org/show_bug.cgi?id=53814
--- Comment #12 from Qwerty Chouskie asdfghrbljzmkd@outlook.com --- (In reply to Nikolay Sivov from comment #11)
It is merged in wine 7.22, see 8d9eb707c61455583a42891d6841ba9feeaf78d3.
Awesome, thanks!
https://bugs.winehq.org/show_bug.cgi?id=53814
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc1.
https://bugs.winehq.org/show_bug.cgi?id=53814
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://trackmania-unlimite |https://web.archive.org/web |r.software.informer.com/dow |/20240401092656/https://dow |nload/ |nload.informer.com/win-1191 | |545739-5095d364-619c1c4e-2f | |9a42de10e7d00d17-abe92bece7 | |1c13ad1-5338995953-11755276 | |62/tmunlimiter-1.2.0.0-rele | |ase-nations.exe CC| |focht@gmx.net
--- Comment #14 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link from Internet Archive for documentation/reproduction purpose.
https://web.archive.org/web/20240401092656/https://download.informer.com/win...
$ sha1sum tmunlimiter-1.2.0.0-release-nations.exe 23b94eb101b8375f92c0a7f2adfbe44efce38305 tmunlimiter-1.2.0.0-release-nations.exe
$ du -sh tmunlimiter-1.2.0.0-release-nations.exe 17M tmunlimiter-1.2.0.0-release-nations.exe
Regards