http://bugs.winehq.org/show_bug.cgi?id=35453
Bug ID: 35453 Summary: Medal of Honor Allied Assault won't launch Product: Wine Version: unspecified Hardware: Other OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: paulthetall@gmail.com Classification: Unclassified
Medal of Honor Allied Assault won't launch. In 1.3.9 it still works with vcruntime6 and the old patch.
In recent Wine versions the game won't launch at all. Get this message from debug. Tried Nvidia physx and vcrun2008 error stays the same.
err:seh:setup_exception_record stack overflow 1280 bytes in thread 0026 eip 7bc6f79f esp 01400e30 stack 0x1400000-0x1401000-0x1c00000
http://bugs.winehq.org/show_bug.cgi?id=35453
--- Comment #1 from Paul The Tall paulthetall@gmail.com --- it happens as well for the GOG.com version as for the CD version. No difference.
http://bugs.winehq.org/show_bug.cgi?id=35453
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #2 from Austin English austinenglish@gmail.com --- Please run a regression test: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=35453
--- Comment #3 from Paul The Tall paulthetall@gmail.com --- That stuff go's over my head.... I know it works in wine 1.3.9 but quits working when opengl is starting to come in (1.3.25?) so its something to do with that?
http://bugs.winehq.org/show_bug.cgi?id=35453
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #4 from Wylda wylda@volny.cz ---
As there is the overflow, it looks like the well know "GL Extension string" problem. I had the same and solved for nVidia:
1. regedit mohaa_disabled_extenstions-v2.reg 2. __GL_ExtensionStringVersion=17700 wine MOHAA.exe
I got the "mohaa_disabled_extenstions-v2.reg" here: http://bugs.winehq.org/attachment.cgi?id=44390
After that MOHAA (Medal of Honor Allied Assault v1.11) runs perfectly under wine-1.7.11 even with original CD protected by:
* [!] Safedisc v2.60.052 detected !
There is bunch of similar MOHAA bug reports, but here is nothing to solve i guess. It's the application bug, not wine's.
http://bugs.winehq.org/show_bug.cgi?id=35453
--- Comment #5 from Paul The Tall paulthetall@gmail.com --- The point 2. I don't understand, can you clearify that one? Many thanks in advance! I already had the disabled extensions inserted though.
http://bugs.winehq.org/show_bug.cgi?id=35453
--- Comment #6 from Wylda wylda@volny.cz --- (In reply to comment #5)
The point 2. I don't understand, can you clearify that one?
The "__GL_ExtensionStringVersion" is a variable to which is assigned the value 17700. The value represents nVidia driver's v177.xx capabilities. It's like a switch, which takes you to history (newer drivers have more capabilites & extensions, so the string length is bigger and games based on Quake's engine didn't expect such a lengthy string, so they crash).
For intel graphics the trick to reduce is different:
MESA_EXTENSION_MAX_YEAR=2003 wine MOHAA.exe
For example, see bug 31730.
http://bugs.winehq.org/show_bug.cgi?id=35453
--- Comment #7 from Henri Verbeet hverbeet@gmail.com --- (In reply to comment #4)
As there is the overflow, it looks like the well know "GL Extension string" problem. I had the same and solved for nVidia:
- regedit mohaa_disabled_extenstions-v2.reg
- __GL_ExtensionStringVersion=17700 wine MOHAA.exe
In principle step 2 on its own should be enough to fix this. I.e., you shouldn't need to set the "DisabledExtensions" registry setting.
(In reply to comment #6)
For intel graphics the trick to reduce is different:
MESA_EXTENSION_MAX_YEAR=2003 wine MOHAA.exe
This should work for any Mesa based driver, including Nouveau and r600g in particular.
The original reporter is using MacOS though, and I'm not aware of a similar mechanism to limit the GL extension string there. I suspect that the reason the .reg file doesn't work is simply that the extension string on modern GPUs / GL implementations is still too long, even after disabling all those extensions.
http://bugs.winehq.org/show_bug.cgi?id=35453
--- Comment #8 from Paul The Tall paulthetall@gmail.com --- No, Wylda was right, it fixed the problem for me.
http://bugs.winehq.org/show_bug.cgi?id=35453
--- Comment #9 from Paul The Tall paulthetall@gmail.com --- Problem fixed by "long" key :P
http://bugs.winehq.org/show_bug.cgi?id=35453
Paul The Tall paulthetall@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Paul The Tall paulthetall@gmail.com --- Problem fixed by "long" key :P I think I missed a couple of the total list of characters. Don't know why that still worked in 1.3.9 and not anymore in 1.7.4 and Crossover. Imported this string and it simply worked and also now in Crossover. Thanks for the help!
http://bugs.winehq.org/show_bug.cgi?id=35453
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |DUPLICATE
--- Comment #11 from Henri Verbeet hverbeet@gmail.com ---
*** This bug has been marked as a duplicate of bug 31730 ***
https://bugs.winehq.org/show_bug.cgi?id=35453
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- Closing duplicate.
http://bugs.winehq.org/show_bug.cgi?id=35453
--- Comment #13 from Wylda wylda@volny.cz --- (In reply to comment #7)
In principle step 2 on its own should be enough to fix this. I.e., you shouldn't need to set the "DisabledExtensions" registry setting.
Hi Henri, for the record - i double checked it right now and i need both of these setting applied. If i use only the 1st or only the 2nd, i get the crash when OpenGL is initializing.
http://bugs.winehq.org/show_bug.cgi?id=35453
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression |
--- Comment #14 from Wylda wylda@volny.cz ---
Removing the regression keyword as there is nothing to bisect.
https://bugs.winehq.org/show_bug.cgi?id=35453
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Version|unspecified |1.3.25 Summary|Medal of Honor Allied |Medal of Honor Allied |Assault won't launch |Assault won't launch | |(GL_EXTENSION string | |overflow)
--- Comment #15 from Anastasius Focht focht@gmx.net --- Hello folks,
resolving this as dupe of bug 25362 which serves as collector for this overflow.
Regards
*** This bug has been marked as a duplicate of bug 25362 ***