https://bugs.winehq.org/show_bug.cgi?id=51447
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #1 from Bernhard Übelacker bernhardu@mailbox.org --- Created attachment 70298 --> https://bugs.winehq.org/attachment.cgi?id=70298 51447_debugging.txt
Hello, I tried to have a look and think the issue is that rtcw-developers did not expect the opengl extensions to grow over 4096 bytes. Unfortunately with my AMD/Mesa driver it grows to 4111 bytes and therefore overwrites the return address at the stack. Therefore it tries to execute instructions, in your case at address 0x415f4c47 which translates to 0x47 'G', 0x4c 'L', 0x5f '_', 0x41 'A'.
This opengl extenstions string can be limited by these environments: NVidia: __GL_ExtensionStringVersion=17700 wine WolfSP.exe Intel/AMD: MESA_EXTENSION_MAX_YEAR=2005 wine WolfSP.exe
With the latter WolfSP starts and shows the intro video for me.
Therefore this seems to be a duplicate of https://bugs.winehq.org/show_bug.cgi?id=30794 which itself is closed as duplicate of: https://bugs.winehq.org/show_bug.cgi?id=25362