http://bugs.winehq.org/show_bug.cgi?id=24299
Summary: Starcraft 2: Custom maps with dialog labels using style "ABChoiceBackButtonText" crashes game Product: Wine Version: 1.3.1 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: eric.julien+winehq@gmail.com
Created an attachment (id=30620) --> (http://bugs.winehq.org/attachment.cgi?id=30620) Modified map that doesn't crash
When using some custom map, SC2 may crash. With the latest version of the Multitasking Trainer by stet_tcl, it does crash as soon as you select the race. By trial and error, I found out it was the "Enable coach mode:" button that made it crash. What makes it different fromt other labels is that it has a style applied to it. That style is ABChoiceBackButtonText. Some other style, such as ABChoiceButtonText seem to work fine. If I remove that style specification from all strings in GameString.txt (using Ladik's MPQ Editor) using some sed command, the map will run fine.
I've attached a version of the map that induces the crash (with a single ABChoiceBackButtonText label) and a version that doesn't crash. Those should only work as expected with enUS N.A. retail copies, as the enGB locale has it's own version of the GameStrings.txt file that I don't think I have modified.
Note that I can't see the ABChoiceBackButtonText style in the list of styles available from the Starcraft 2 Editor, don't know if it's related.
I've included wine's output for both a run of the crash inducing map and the one that runs fine. I haven't been able to run it with WINEDEBUG="+all", Sc2 seems to terminate prematurely in that case.
Some other maps also crash for me (ie. The Unit Tester), but I don't know if it's related.