Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Soldier of Fortune

From PCGamingWiki, the wiki about fixing PC games
Revision as of 06:29, 28 September 2021 by Garrbot (talk | contribs) (→‎Middleware: updated template usage)
Soldier of Fortune
Soldier of Fortune cover
Developers
Raven Software
Linux Loki Software
Publishers
Activision
Engines
id Tech 2
Release dates
Windows March 27, 2000
Linux July 7, 2000
Taxonomy
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

Warnings

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.
liflg.org - SoF game installer for Linux (includes the 1.06a patch).
GOG.com Community Discussions for game series
GOG.com Support Page

Availability

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

Essential improvements

Patches

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.

SoFplus

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. Not available for the Steam release.
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.

Soldier of Fortune Community Edition

An community-made mod that add numerous fan-made features and bugfixes, as well as additional Quality-of-Life support.

Come bundled with the current version of SoFplus.
Support for modern systems.

Game data

Configuration file(s) location

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

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

Save game cloud syncing

System Native Notes
GOG Galaxy

Video

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.
Multi-monitor
Use SoFplus.
Ultra-widescreen
Use SoFplus.
4K Ultra HD
Use SoFplus.
Field of view (FOV)
Use SoFplus.
Windowed
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

Even at the highest setting, corpses will still disappear rather quickly.
Instructions
  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")

Input

Mouse and Controller Options
Mouse and Controller Options

Mouse acceleration

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

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.
Subtitles
Under miscellaneous settings
Closed captions
Mute on focus lost
EAX support
A3D 3.0 & EAX 2[2][3]

Localizations

Language UI Audio Sub Notes
English
Italian
Fan translation, download.
Spanish
Fan translation, download.
Turkish
Fan translation, download.

Network

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

Ports

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

Soldier of Fortune crashes with cannot Load defsnd.dll error

The game appears to crash a lot for people in recent windows 10 updates with no solution even with SoFPlus, and mohaa.exe renamed fix applied.[4][5]

Issues fixed

Game isn't compatible and/or doesn't start

Install SoFPlus patch: http://sof1.megalag.org/sofplus/

Crashes on boot even with SoFPlus patch applied

Copy sof.exe in the games folder and start the game with the copy.

Refuses to boot, the process is visible in the taskbar

Recent Windows update causes this issue[4]
  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.[6]

Low frame rate

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

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

Sliding movement

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

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

Other information

API

Executable 32-bit 64-bit Notes
Windows
Linux

Middleware

Middleware Notes
Interface SDL SDL is Linux only
Input Feel Foundation Classes 1.0.10
1.1.00
Multiplayer GameSpy, World Opponent Network .[7] The Original release from 2000 used WON (World Opponent Network) While The Platinum Release from 2001 and GOG Release Used GameSpy

System requirements

Windows
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
Linux
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


Notes

  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).

References