http://bugs.winehq.org/show_bug.cgi?id=32573
Bug #: 32573 Summary: Torchlight fails to start without native msvcr90 due to corrupted local_settings.txt Product: Wine Version: 1.5.20 Platform: x86 OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com Classification: Unclassified
Created attachment 42988 --> http://bugs.winehq.org/attachment.cgi?id=42988 terminal output
This would be a follow-up to bug #31845 (?)
It was tested with the Steam version of the game. Steam installs MS VC++ 2008 and various DX libraries. The problem occurs if you set msvcr90=builtin. The first time you start the game with built-in msvcr90 it seemingly runs without issues. After exiting and restarting the game you receive a crash as can be seen in the attached log. Even if you set msvcr90=native the game refuses to start from then on.
The game stores it's settings/saved games in ../user/user_name/Application Data/runic games/torchlight. This directory contains the file local_settings.txt. The file is created/updated when the game starts as well as when the game exits. You have to remove the file each time before starting Torchlight with the built-in msvcr90. Maybe it gets corrupted when it is created/updated.
Take the following scenario: you don't have native d3dx9_36 (or _39) installed so the game doesn't start at all, it crashes early after starting. This also results in a corrupted(?) local_settings.txt
The demo version available from Runic Games refused to start for me (that's probably bug #28546), the demo uses some kind of protection. Let me know what debug log would be of help.
wine-1.5.20-57-gdabde6a
http://bugs.winehq.org/show_bug.cgi?id=32573
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Torchlight fails to start |Torchlight fails to start |without native msvcr90 due |due to corrupted |to corrupted |local_settings.txt |local_settings.txt |
--- Comment #1 from GyB gyebro69@gmail.com 2012-12-28 02:59:13 CST --- Sorry, the original bug summary was a bit misleading, as the game doesn't start with native msvcr90 after you started it with built-in at least once.
http://bugs.winehq.org/show_bug.cgi?id=32573
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com Depends on| |8598
--- Comment #2 from Piotr Caban piotr.caban@gmail.com 2012-12-28 06:09:28 CST --- The application opens local_settings.txt file with ccs=unicode option.
http://bugs.winehq.org/show_bug.cgi?id=32573
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Torchlight fails to start |Torchlight fails to start |due to corrupted |due to corrupted |local_settings.txt |local_settings.txt | |(CSS=unicode)
http://bugs.winehq.org/show_bug.cgi?id=32573
--- Comment #3 from Piotr Caban piotr.caban@gmail.com 2013-01-11 13:55:25 CST --- It should be fixed now. Please retest.
http://bugs.winehq.org/show_bug.cgi?id=32573
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from GyB gyebro69@gmail.com 2013-01-11 14:57:57 CST --- Fixed indeed in wine-1.5.21-181-g197041f, thank you.
http://bugs.winehq.org/show_bug.cgi?id=32573
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2013-01-18 14:57:20 CST --- Closing bugs fixed in 1.5.22.
http://bugs.winehq.org/show_bug.cgi?id=32573
Bug 32573 depends on bug 8598, which changed state.
Bug 8598 Summary: msvcrt file IO functions do not handle unicode properly in text mode http://bugs.winehq.org/show_bug.cgi?id=8598
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED