WineHQ

Soldier of Fortune

CD released versions, includes Gold and Platinum

Application Details:

Version: 1.x
License:
URL: http://www.activision.com/game...
Votes: 0
Latest Rating: Gold
Latest Wine Version Tested: 3.1

Maintainers: About Maintainership

No maintainers. Volunteer today!

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Installation works perfectly.

What does not

The game crashes on boot.

Wine provides the following info in Konsole:

fixme:keyboard:RegisterHotKey ((nil),0,0x00000001,9): stub
fixme:keyboard:RegisterHotKey ((nil),1,0x00000001,13): stub
fixme:wave:DSD_CreateSecondaryBuffer (0x16f260,0x33fd3c,28,0,0x18078c,0x18089c,0x180768): stub
fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE
wine: Unhandled page fault on read access to 0x7d88f136 at address 0x7d88f136 (thread 000f), starting debugger...
Unhandled exception: page fault on read access to 0x7d88f136 in 32-bit code (0x7d88f136).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7d88f136 ESP:7d873a70 EBP:7d873ac8 EFLAGS:00210246( - 00 -RIZP1)
EAX:00000000 EBX:7d8a9f44 ECX:00000004 EDX:7d873aa0
ESI:7d873aa0 EDI:00010026
Stack dump:
0x7d873a70: 00000000 00000000 00000000 00000000
0x7d873a80: fffffffd 00000000 00000000 00000000
0x7d873a90: 7c210c30 7d764000 00000004 7bc28ba1
0x7d873aa0: 00000000 00000012 00000000 00000000
0x7d873ab0: 00000831 00000000 00000000 7bc7a4e8
0x7d873ac0: 0033fd70 7d88f060 7d873ad8 7bc5c5ae
Backtrace:
=>1 0x7d88f136 (0x7d873ac8)
2 0x7bc5c5ae call_thread_entry_point+0xe() in ntdll (0x7d873ad8)
3 0x7bc5d292 in ntdll (+0x4d292) (0x7d873b78)
4 0x7bc5d52f in ntdll (+0x4d52f) (0x7d874478)
5 0xb7dde504 start_thread+0x84() in libpthread.so.0 (0x7d8744e8)
6 0xb7d7151e __clone+0x5e() in libc.so.6 (0x00000000)
0x7d88f136: -- no code accessible --
Modules:
Module Address Debug info Name (94 modules)
PE 10000000-10020000 Deferred ffc10
PE 20000000-2040b000 Deferred sof
PE 30000000-300b1000 Deferred ref_gl
PE 60000000-6005b000 Deferred defsnd
ELF 7b800000-7b924000 Deferred kernel32
\-PE 7b820000-7b924000 \ kernel32
ELF 7bc00000-7bc96000 Export ntdll
\-PE 7bc10000-7bc96000 \ ntdll
ELF 7bf00000-7bf03000 Deferred
ELF 7d1a3000-7d21d000 Deferred libglu.so.1
ELF 7d21d000-7d29d000 Deferred opengl32
\-PE 7d230000-7d29d000 \ opengl32
ELF 7d29d000-7d2cf000 Deferred uxtheme
\-PE 7d2a0000-7d2cf000 \ uxtheme
ELF 7d2cf000-7d38b000 Deferred comctl32
\-PE 7d2e0000-7d38b000 \ comctl32
ELF 7d38b000-7d3b2000 Deferred msvfw32
\-PE 7d390000-7d3b2000 \ msvfw32
ELF 7d3b2000-7d3ec000 Deferred avifil32
\-PE 7d3c0000-7d3ec000 \ avifil32
ELF 7d3ec000-7d401000 Deferred midimap
\-PE 7d3f0000-7d401000 \ midimap
ELF 7d401000-7d427000 Deferred msacm32
\-PE 7d410000-7d427000 \ msacm32
ELF 7d427000-7d43f000 Deferred msacm32
\-PE 7d430000-7d43f000 \ msacm32
ELF 7d43f000-7d47b000 Deferred wineoss
\-PE 7d450000-7d47b000 \ wineoss
ELF 7d6a8000-7d6ae000 Deferred libnss_dns.so.2
ELF 7d6b0000-7d6b5000 Deferred libxfixes.so.3
ELF 7d6b5000-7d6be000 Deferred libxcursor.so.1
ELF 7d6be000-7d6db000 Deferred imm32
\-PE 7d6d0000-7d6db000 \ imm32
ELF 7d6db000-7d6f9000 Deferred ximcp.so.2
ELF 7d6f9000-7d6fb000 Deferred xlcutf8load.so.2
ELF 7d6fb000-7d6fe000 Deferred libxrandr.so.2
ELF 7d6fe000-7d706000 Deferred libxrender.so.1
ELF 7d706000-7d709000 Deferred libxinerama.so.1
ELF 7d8ab000-7d8bf000 Deferred winejoystick
\-PE 7d8b0000-7d8bf000 \ winejoystick
ELF 7d8bf000-7d8d6000 Deferred mcicda
\-PE 7d8d0000-7d8d6000 \ mcicda
ELF 7db08000-7db51000 Deferred dsound
\-PE 7db10000-7db51000 \ dsound
ELF 7debf000-7e682000 Deferred libglcore.so.1
ELF 7e682000-7e707000 Deferred libgl.so.1
ELF 7e707000-7e7d0000 Deferred libx11.so.6
ELF 7e7d0000-7e7dd000 Deferred libxext.so.6
ELF 7e7dd000-7e7f5000 Deferred libice.so.6
ELF 7e7f5000-7e883000 Deferred winex11
\-PE 7e800000-7e883000 \ winex11
ELF 7e883000-7e8a1000 Deferred libexpat.so.1
ELF 7e8a1000-7e8d0000 Deferred libfontconfig.so.1
ELF 7e8d0000-7e8e4000 Deferred libz.so.1
ELF 7e8e4000-7e94e000 Deferred libfreetype.so.6
ELF 7e94e000-7e9dc000 Deferred winmm
\-PE 7e960000-7e9dc000 \ winmm
ELF 7e9dc000-7ea08000 Deferred ws2_32
\-PE 7e9e0000-7ea08000 \ ws2_32
ELF 7ea08000-7ea22000 Deferred wsock32
\-PE 7ea10000-7ea22000 \ wsock32
ELF 7ea22000-7ea36000 Deferred lz32
\-PE 7ea30000-7ea36000 \ lz32
ELF 7ea36000-7ea4f000 Deferred version
\-PE 7ea40000-7ea4f000 \ version
ELF 7ea4f000-7ea62000 Deferred libresolv.so.2
ELF 7ea62000-7ea80000 Deferred iphlpapi
\-PE 7ea70000-7ea80000 \ iphlpapi
ELF 7ea80000-7ead5000 Deferred rpcrt4
\-PE 7ea90000-7ead5000 \ rpcrt4
ELF 7ead5000-7eb6e000 Deferred ole32
\-PE 7eae0000-7eb6e000 \ ole32
ELF 7eb6e000-7ebb3000 Deferred advapi32
\-PE 7eb80000-7ebb3000 \ advapi32
ELF 7ebb3000-7ebbe000 Deferred libgcc_s.so.1
ELF 7ebc0000-7ebc5000 Deferred libxdmcp.so.6
ELF 7ebc5000-7ebce000 Deferred libsm.so.6
ELF 7ecad000-7ed65000 Deferred gdi32
\-PE 7ecc0000-7ed65000 \ gdi32
ELF 7ed65000-7ee9f000 Deferred user32
\-PE 7ed80000-7ee9f000 \ user32
ELF 7efa9000-7efb4000 Deferred libnss_files.so.2
ELF 7efb4000-7efca000 Deferred libnsl.so.1
ELF 7efca000-7eff0000 Deferred libm.so.6
ELF 7eff1000-7eff3000 Deferred libnvidia-tls.so.1
ELF 7eff3000-7eff6000 Deferred libxau.so.6
ELF 7eff6000-7f000000 Deferred libnss_nis.so.2
ELF b7c90000-b7c95000 Deferred libxxf86vm.so.1
ELF b7c96000-b7c9f000 Deferred libnss_compat.so.2
ELF b7ca0000-b7ca4000 Deferred libdl.so.2
ELF b7ca4000-b7dd8000 Export libc.so.6
ELF b7dd9000-b7dec000 Export libpthread.so.0
ELF b7dfc000-b7f0d000 Deferred libwine.so.1
ELF b7f0f000-b7f2a000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
0000000a
0000000c 0
0000000b 0
00000008 (D) C:\ProgramFiles\Xplosiv\SOFPLATINUM\SoF.exe
0000000f 0 <==
0000000e 15
0000000d 15
00000009 0

Workarounds

What was not tested

The game itself.

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowDebian GNU/Linux Unstable "Sid" x86_64Feb 22 20183.1Yes Yes YesGoldSven Arvidsson 
ShowUbuntu 17.10 "Artful" amd64 (+variants like Kubuntu)Aug 30 20172.15-stagingYes No NoGarbageMehmet 
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Apr 02 20172.4Yes No GarbageMehmet 
ShowArch Linux x86_64Sep 15 20141.7.26Yes Yes Goldan anonymous user 
ShowMac OS X 10.7 "Lion"Aug 17 20121.5.10Yes Yes Platinuman anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected

Show all bugs

HowTo / Notes

Missing Textures Fix

2015-06-02 Admin note: the following was extracted from user comments made in 2014 and may not apply to current Wine.


It has been reported that the following changes to the config.cfg may fix the texture-related problems:

set gl_fogverts "0"
set gl_fogmode "0"
set gl_rj "0"
set cpu_memory_using "3"
set gl_gentextures_broken "1"
set gl_scissor_broken "0"
set gl_swapinterval "1"
set gl_s3_s3tc "0"
set gl_ext_anisotropic "0"
set gl_ext_multitexture "1"
set gl_ext_swapinterval "1"
set gl_displayrefresh "0"

Other solutions:
* Use the fglx driver instead of the radeon driver
* Select 'QeffectsGL' instead of 'Default OpenGL' in de SoF video settings menu (QeffectsGL.dll is an opengl32.dll wrapper DLL that's distributed with the SoFplus 20140531 client mod)

Workaround for OpenGL rendering environment initalisation error

The default OpenGL renderer (ref_gl.dll) may reject any driver that has the string "generic" in GL_RENDERER.  This can make the game fail to launch e.g. on Ubuntu, since the kernel version is exposed in GL_RENDERER and contains the "-generic" suffix:

    $ glxinfo | grep 'renderer string'
    OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.27.0, 5.0.0-20-generic, LLVM 8.0.0)

Since ref_gl.dll contains only one occurrence of "generic", it is easy to patch the file for example by using sed to replace the word with another equal-length word that does not conflict with your GL_RENDERER:

    sed -i s/generic/SoFsuxx/ ref_gl.dll

Comments

Comments Disabled

Comments for this application have been disabled because there are no maintainers.
Back