https://bugs.winehq.org/show_bug.cgi?id=39478
--- Comment #3 from Matteo Bruni matteo.mystral@gmail.com --- Created attachment 52617 --> https://bugs.winehq.org/attachment.cgi?id=52617 Fix
I see, the game actually creates a ddraw7 object to retrieve the VRAM size, apparently.
FWIW it does crash for me showing a "buffer overrun" messagebox unless I limit the GL extension string. In that case it works fine here on Mesa but it crashes on Nvidia as in the attached log.
It turns out that it's crashing in wined3d because of the __GL_ExtensionStringVersion thing. Specifically, we enable the ARB_DEBUG_OUTPUT flag because we get an OpenGL 4.5 context but the extension is disabled in the driver and the extension entrypoints are set to NULL.
The attached patch fixes it for me. Running the game with WINEDEBUG=-d3d should also workaround.