https://bugs.winehq.org/show_bug.cgi?id=50420
Paul Gofman pgofman@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman@codeweavers.com
--- Comment #1 from Paul Gofman pgofman@codeweavers.com --- I've tested the Steam version and could reproduce the crash.
The actual crash here is from stub entry point, what Wine is actually trying to say is that there is the call to unimplemented function to user32.dll.SetDisplayConfig, but fails to do that due to currently messed up function ABI (Unix vs WINAPI) for stub entry point on x64 in the PE build, I am going to suggest a patch for that.
SetDisplayConfig is called from SDL2.dll shipped with the game in the game .exe directory. I guess that was working before the blamed commit because it was picking up an SDL2.dll from Steam installation somehow (not sure what it was doing in the GOG case). I checked that copying Steam's SDL2.dll to the game exe directory fixes the issue.
It looks like adding a stub for the missing function is enough, https://source.winehq.org/patches/data/197766 is fixing the game start for me.