https://bugs.winehq.org/show_bug.cgi?id=41977
Bug ID: 41977 Summary: Gunner3 always crashes due to wine having a different allocation scheme than windows Product: Wine Version: 1.9.24 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ArchLinux
Created attachment 56382 --> https://bugs.winehq.org/attachment.cgi?id=56382 Hack to get the game working, patch for the exe
Gunner 3 always crashes when selecting a level. According to my debugging, it's because the game allocates memory with RtlAllocateHeap and then accesses the area before that, aka undefined behavior. But note that it works just fine on all windows versions and ReactOS.
It's probably WONTFIX, but since it works on windows I'll provide a hack (and maybe a patch) for usage on linux.
Attached an patch for the gunner3.exe, make sure it has the MD5 4481bc4382bb00353edf0635516d904d.