[Bug 20480] Soldier of Fortune II Multiplayer Main Menu won't show up (ATI specific)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 29 12:26:36 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=20480

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|Abandoned?                  |download
                URL|                            |http://www.gamefront.com/fi
                   |                            |les/files/609644/sof2_test.
                   |                            |exe
                 CC|                            |focht at gmx.net

--- Comment #23 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

the game engine contains a stack buffer overflow due to 'GL_EXTENSION' string
being too large (game is old) -> bug 25362

--- snip ---
...
004B6894  PUSH 0
004B6896  MOV ESI,EAX
004B6898  MOV DWORD PTR SS:[ESP+24],SoF2MP-T.00558490 ;  ASCII "disabled"
004B68A0  MOV DWORD PTR SS:[ESP+28],SoF2MP-T.00558488 ;  ASCII "enabled"
004B68A8  MOV DWORD PTR SS:[ESP+2C],SoF2MP-T.005600C0 ;  ASCII "windowed"
004B68B0  MOV DWORD PTR SS:[ESP+30],SoF2MP-T.005600B4 ;  ASCII "fullscreen"
004B68B8  CALL DWORD PTR DS:[1172658]                 ;  SoF2MP-T.0040F8D0
004B68BE  PUSH SoF2MP-T.0116F778        ;  ASCII "GeForce GT 425M/PCIe/SSE2"
004B68C3  PUSH SoF2MP-T.005600A0        ;  ASCII "GL_RENDERER: %s"
004B68C8  PUSH 0
004B68CA  CALL DWORD PTR DS:[1172658]   ;  SoF2MP-T.0040F8D0
004B68D0  PUSH SoF2MP-T.0116FF78        ;  ASCII "4.4.0 NVIDIA 331.67"
004B68D5  PUSH SoF2MP-T.00560090        ;  ASCII "GL_VERSION: %s"
004B68DA  PUSH 0
004B68DC  CALL DWORD PTR DS:[1172658]   ;  SoF2MP-T.0040F8D0
004B68E2  PUSH SoF2MP-T.01170378

;  ASCII "GL_AMD_multi_draw_indirect GL_ARB_arrays_of_arrays
GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_buffer_storage
GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_color_buffer_float
GL_ARB_compatibility GL_ARB_compressed_tex"...

004B68E7  PUSH SoF2MP-T.0056007C        ;  ASCII "GL_EXTENSIONS: %s"
004B68EC  PUSH 0
004B68EE  CALL DWORD PTR DS:[1172658]   ;  SoF2MP-T.0040F8D0 

<overflows return stack>
--- snip ---

You need to work around with:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Soldier of Fortune II - Double Helix MP
TEST

$ __GL_ExtensionStringVersion=17700 wine  ./SoF2MP-Test.exe
--- snip ---

Someone with ATI please retest and resolve.

Nvidia works here, everything is displayed fine.

For convenience you can put a file named 'sof2mp.cfg' or 'sof2mp_default.cfg'
in game 'demo/MP' folder.
This allows to start the game with specific settings such as windowed mode.

--- snip ---
...
seta r_gldriver "opengl32"
seta r_fullscreen "0 0 0"
--- snip ---

$ sha1sum sof2_test.exe 
24faf8bfade90e517053144271b1db16e0aee970  sof2_test.exe

$ du -sh sof2_test.exe 
52M    sof2_test.exe

$ wine --version
wine-1.7.21-3-gbf72c67

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list