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.

Difference between revisions of "Soldier of Fortune"

From PCGamingWiki, the wiki about fixing PC games
imported>Plok
Line 381: Line 381:
 
===No music or speech===
 
===No music or speech===
 
{{Fixbox|description=Set your audio quality to 22 kHz or 44 kHz in the games audio menu}}
 
{{Fixbox|description=Set your audio quality to 22 kHz or 44 kHz in the games audio menu}}
 +
 +
===Small HUD at high resolutions===
 +
{{Fixbox|description=Force resolution with Peixoto patch<ref>[https://www.gog.com/forum/soldier_of_fortune_series/is_there_a_way_to_change_the_size_of_the_hud Is there a way to change the size of the HUD? - GOG.com]</ref>|fix=
 +
# Choose low resolution in game.
 +
# Download and extract [https://www.patreon.com/user?u=44312848 Peixoto's Patch]
 +
# Run {{file|Peixoto.bat}}.
 +
# Add SoF.exe as an OpenGL game.
 +
# Enable forced resolution.
 +
}}
  
 
==Other information==
 
==Other information==

Revision as of 11:40, 12 November 2022

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
Monetization One-time game purchase
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.
A Tactical Low-Violence Version was also sold in retail, with permanently disabled gore.
Free demo versions are available from GameFront: Windows (standard), Windows (low-violence), Linux.

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 the engine's security vulnerabilities not found within the 1.07f Beta patch.

Installation instructions[1]
  1. Extract the contents of your downloaded .zip file in <path-to-game>.
  2. Run sofplus-client-patch.cmd.
  3. Next it will generate a zip file in the same root folder named sofplus-client-20140531.zip.
  4. Open this and extract this in <path-to-game>. Overwrite when prompted.
Support for retail and GOG version.
Comes in two separate installers; Client and Dedicated Server. They can be used independently of each other.
Blocks all known id Tech 2 engine exploits that would otherwise make your PC vulnerable.
Doesn't save renderer options after turning game off.

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.[2] May require DirectSound 3D restoration software.
Subtitles
Under miscellaneous settings
Closed captions
Mute on focus lost
EAX support
A3D 3.0 & EAX 2[3][4]
Royalty free audio

Localizations

Language UI Audio Sub Notes
English
French
Italian
Fan translation, download.
Spanish
Fan translation, download.
Turkish
Fan translation, download.
Ukrainian
Fan translation & dubbing by TSF, download.

Network

Multiplayer types

Type Native Players Notes
LAN play
32
Online play
32 The official GameSpy service shut down in 2014; SoFplus has an alternate master server.

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 fixed

LoadLibrary("Defsnd.dll") failed

Create a copy of game's executable
  1. Create a copy of SoF.exe in the same root folder where it's located; do not change the name of the copied .exe.
  2. Launch the game using the copy of the .exe, don't use the original executable or the game won't launch.
If installing SoFplus. do this after you install the mod.
Might also work with other startup-related issues due to Windows 10 updates/drivers.

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

Install SoFplus

Refuses to boot, the process is visible in the taskbar

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.[5]

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

Disabling Logitech mouse software can fix this issue.
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 or 44 kHz in the games audio menu

Small HUD at high resolutions

Force resolution with Peixoto patch[6]
  1. Choose low resolution in game.
  2. Download and extract Peixoto's Patch
  3. Run Peixoto.bat.
  4. Add SoF.exe as an OpenGL game.
  5. Enable forced resolution.

Other information

API

Executable 32-bit 64-bit Notes
Windows
Linux

Middleware

Middleware Notes
Audio DirectSound
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; the Platinum 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