https://bugs.winehq.org/show_bug.cgi?id=46474
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #13 from Piotr Caban piotr.caban@gmail.com --- It's caused by incorrect PAGE_EXECUTE_WRITECOPY handling in Wine. Application makes the executable image writeable, modifies its code segment and expects that it causes memory protection change to PAGE_EXECUTE_READWRITE.
There are some patches that implement it in wine-staging but only for i386 case (the game is 64-bit).
It's possible to start the game with following environment variable: WINE_DLLOVERRIDES="winedbg.exe=d" wine ... This is causing the application to work in the same way as with strace attached but doesn't affect game speed.