http://bugs.winehq.org/show_bug.cgi?id=13632
--- Comment #38 from Alexey Loukianov mooroon2@mail.ru 2012-05-29 01:29:47 CDT --- Created attachment 40320 --> http://bugs.winehq.org/attachment.cgi?id=40320 Updated crash log with symbolic info
I had identified this crash to happen in case Wine had been compiler with "-O2" flag. Replacing it with "-O0" and recompiling fixes the problem,
The game is now able to start up (using native vcrun2003 and Wine patched with D3DXSaveSurfaceToFileInMemory implementation) with built-in d3dx9_XX/d3dcompiler_XX and successfully start up a new game with the only mission that is available in demo. Rendering is messed up (I will attach screenshot illustrating it a bit later) and there are no texts displayed at all (as expected, it is bug #26136), but as soon as it would be clear how to treat the crash in libc's strcmp I get when Wine is compiled with level 2 gcc optimizations turned on - IMO this bug might be safely closed as FIXED. Other issues related to properly implementing all d3dx9_XX fucntionality should be tracked in other bug reports.