Soldier of Fortune

From PCGamingWiki, the wiki about fixing PC games
Soldier of Fortune
Soldier of Fortune cover
Raven Software
Linux Loki Software
id Tech 2
Release dates
Windows March 27, 2000
Linux July 7, 2000
Modes Singleplayer, Multiplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres Shooter
Art styles Realistic
Themes Africa, Asia, Contemporary, Europe, Middle East, North America
Series Soldier of Fortune
Soldier of Fortune on HowLongToBeat
Soldier of Fortune on IGDB
Soldier of Fortune on MobyGames
Soldier of Fortune on Wikipedia
Soldier of Fortune
Soldier of Fortune 2000
Soldier of Fortune II: Double Helix 2002
Soldier of Fortune: Payback 2007


GameSpy online services have been shut down (see Network for solutions).

Key points

The retail release has compatibility issues with modern systems and lacks widescreen support (see SoFplus).

General information

SoF Things - A user created fan site for SoF Singleplayer and Multiplayer, as well as working bug fixes and patches. - SoF game installer for Linux (includes the 1.06a patch). Community Discussions for game series Support Page


Source DRM Notes Keys OS
Disc check (requires the CD/DVD in the drive to play)
Simple disc check. Regular, Gold Edition Or Platinum Edition.
Platinum Edition
Not available for sale on GOG in Germany.

Essential improvements[edit]


For the Windows version, install the Gold Patch (if using the original retail release) followed by the v1.07f Beta patch.
For the Linux version, install Patch 1.06a to get the Gold content and other updates.


This fan mod for Soldier of Fortune adds new features, solves problems with modern systems, and blocks vulnerability exploits not found within the 1.07f Beta patch.

Support for retail and GOG version.
Come in two separate installer; Client and Dedicated Server. They can be used independently of each other.
Blocks all known exploits that would otherwise make your PC vulnerable.

Game data[edit]

Configuration file(s) location[edit]

System Location
Windows <path-to-game>\user\config.cfg[Note 1]
Linux ~/.loki/sof/config.cfg
This game does not follow the XDG Base Directory Specification on Linux.

Save game data location[edit]

System Location
Windows <path-to-game>\user\save[Note 1]
Linux ~/.loki/sof/save

Save game cloud syncing[edit]

System Native Notes
GOG Galaxy


In-game video settings.
In-game video settings.
In-game scalability settings.
In-game scalability settings.

Graphics feature State WSGF Notes
Widescreen resolution
Use SoFplus.
Use SoFplus.
Use SoFplus.
4K Ultra HD
Use SoFplus.
Field of view (FOV)
Use SoFplus.
Borderless fullscreen windowed
Use SoFplus.
Anisotropic filtering (AF)
Up to 16x.
Anti-aliasing (AA)
See the glossary page for potential workarounds.
Vertical sync (Vsync)
On by default but can be forced off.
60 FPS
120+ FPS
High frame rate may cause your character to slide across the floor when moving.[citation needed] Cap the frame rate at 60 FPS.Or set monitor on 60hz

Make corpses permanent[edit]

Even at the highest setting, corpses will still disappear rather quickly.
  1. Go to configuration file
  2. Edit config.cfg
  3. Find set ai_maxcorpses "5" and set ai_corpselife "5"
  4. Change both numbers (eg. set ai_maxcorpses "1000")


Mouse and Controller Options
Mouse and Controller Options

Mouse acceleration[edit]

Disable mouse acceleration
  1. Apply The MarkC Windows 8.1 + 8 + 7 Mouse Acceleration Fix.
  2. Go to configuration file
  3. Edit config.cfg
  4. Set set m_cursor_accel "1" to set m_cursor_accel "0"


Audio Settings
Audio Settings

Audio feature State Notes
Separate volume controls
Music, SFX
Surround sound
Up to 7.0 output.[1] May require DirectSound 3D restoration software.
Under miscellaneous settings
Closed captions
Mute on focus lost
EAX support
A3D 3.0 & EAX 2[2][3]


Language UI Audio Sub Notes
Fan translation, download.
Fan translation, download.
Fan translation, download.
Fan translation by TSF, download.


Multiplayer types

Type Native Players Notes
LAN play
32 More than 18 players may crash the server.[citation needed]
Online play
32 More than 18 players may crash the server.[citation needed]

Connection types


Protocol Port(s) and/or port range(s)
TCP 28910
UDP 28911
This game does not support Universal Plug and Play (UPnP) for automatic port configuration.

Issues unresolved[edit]

Issues fixed[edit]

LoadLibrary("Defsnd.dll") failed[edit]

Copy and paste SoF.exe. Leave as SoF - Copy.exe and run.
Might also work with other startup-related issues due to Windows 10 updates/drivers.

Game isn't compatible and/or doesn't start[edit]

Install SoFPlus patch:

Refuses to boot, the process is visible in the taskbar[edit]

Recent Windows update causes this issue[2]
  1. Go to <path-to-game>.
  2. Copy SoF.exe elsewhere.
  3. Rename it to mohaa.exe.
  4. Place it back in <path-to-game>.
  5. Launch the game with mohaa.exe.

Alternatively, you can download and install Microsoft Application Compatibility Toolkit. Once installed, run it by going to C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Application Compatibility Toolkit\Compatibility Administrator (32-bit). Find the entry for Soldier of Fortune, right click on Sof.exe to launch context menu and click on click on Disable.[4]

Low frame rate[edit]

Fix low FPS[citation needed]
  1. Go to <path-to-game>\Base\.
  2. Create or edit autoexec.cfg.
  3. Add gl_dynamic 0 and save.
Enable the following compatibility settings for the SoF.exe file: Compatibility mode (Windows 7)

Mouse skipping[edit]

Lowering your mouse polling rate to 250 or 125Hz may alleviate the issue but the problem remains.

Sliding movement[edit]

When moving, your character will slide across the floor.
Cap the frame rate at 60 FPS[citation needed]
Set refresh rate on 60hz[citation needed]

No music or speech[edit]

Set your audio quality to 22 kHz in the games audio menu.

Other information[edit]


Executable 32-bit 64-bit Notes


Middleware Notes
Audio DirectSound
Interface SDL SDL is Linux only
Input Feel Foundation Classes 1.0.10
Multiplayer GameSpy, WON .[5] The original release from 2000 used WON; the Platinum release used GameSpy

System requirements[edit]

Minimum Recommended
Operating system (OS) 95
Processor (CPU) Intel Pentium 233 MHz
System memory (RAM) 64 MB
Hard disk drive (HDD) 800 MB
Video card (GPU) SVGA
Minimum Recommended
Operating system (OS) Linux Kernel 2.2.x and glibc-2.1
Processor (CPU) Intel Pentium II
System memory (RAM) 32 MB
Hard disk drive (HDD) 150 MB
Video card (GPU) 640x480 resolution; XFree86 version 3.3.5 or newer; 16-bit color


  1. 1.0 1.1 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).