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

Difference between revisions of "Soldier of Fortune II: Double Helix"

From PCGamingWiki, the wiki about fixing PC games
Line 211: Line 211:
 
:1. Open [[#Configuration file(s) location|the configuration file]].
 
:1. Open [[#Configuration file(s) location|the configuration file]].
 
:2. Change the default value of <code>seta cg_crosshairSize "24"</code>, to a lower, desired, one.
 
:2. Change the default value of <code>seta cg_crosshairSize "24"</code>, to a lower, desired, one.
:3. Save the file with the ''Read-Only'' attribute (to prevent change from reverting itselft)
+
:3. Save the file. (Save with the ''Read-Only'' attribute (to prevent change from reverting itselft)
 
}}
 
}}
  

Revision as of 22:58, 18 April 2021

Soldier of Fortune II: Double Helix
Soldier of Fortune II: Double Helix cover
Developers
Raven Software
Publishers
Activision
OS X MacPlay
Engines
id Tech 3
Release dates
Windows May 20, 2002
macOS (OS X) September 9, 2002
Reception
Metacritic 80
IGDB 68
Soldier of Fortune II: Double Helix on HowLongToBeat
Soldier of Fortune II: Double Helix on IGDB
Soldier of Fortune II: Double Helix on MobyGames
Soldier of Fortune II: Double Helix on Wikipedia

Warnings

GameSpy online services have been shut down (see Network for solutions).
Soldier of Fortune
Soldier of Fortune 2000
Soldier of Fortune II: Double Helix 2002
Soldier of Fortune: Payback 2007

General information

Soldier of Fortune 2 Multiplayer Community - patches, mods and forum.
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)
CD key
Simple disc check. Original and Gold releases.
Windows
macOS (OS X)
GOG.com
DRM-free
Gold Edition
Windows

Essential improvements

Patches

Patches are available for both Windows and OS X.

Sui's Fix

Installing Sui's Fix[1]
  1. Download latest Sui's Fix and extract it.
  2. Move extracted files (winmm.dll and folders base and scripts) to <path-to-game>.
  3. Edit the file <path-to-game>\scripts\SoF2-Fixes.ini to configure the fix.

Notes

Fix requires Gold Edition (1.03) - GOG version. Fix works only for Singleplayer.

Game data

Configuration file(s) location

System Location
Windows <path-to-game>\base\[Note 1]
macOS (OS X)
sof2sp.cfg contains single player settings.
mp\sof2mp.cfg contains multiplayer settings.

Save game data location

System Location
Windows <path-to-game>\base\save[Note 1]
macOS (OS X)

Save game cloud syncing

System Native Notes
GOG Galaxy

Video settings

Basic video settings.
Basic video settings.
Advanced video settings.
Advanced video settings.

Template:Video settings

Widescreen resolution

Running the game in widescreen resolution in single player[citation needed]
  1. Start the game.
  2. Open the console ( Shift+~).
  3. Type in: r_customwidth X, where X is width of your desired resolution (for example, for 1680x1050 resolution, replace X with 1680).
  4. Now, type in: r_customheight Y, where Y is height of your desired resolution (for example, for 1680x1050 resolution, replace Y with 1050).
  5. Type in: r_mode -1 to make the game use custom resolutions.
  6. Type in vid_restart to restart the renderer and apply new resolution settings.

Notes

See the WSGF entry to fix the HUD in widescreen.
This method doesn't work for multiplayer.
Setting the single player configuration file for widescreen[citation needed]
  1. Run the game at least once and set the graphic options to your preference.
  2. Edit the file <path-to-game>\base\sof2sp.cfg.
  3. Set r_customwidth X, where X is width of your desired resolution (for example, for 1680x1050 resolution, replace X with 1680).
  4. Set r_customheight Y, where Y is height of your desired resolution (for example, for 1680x1050 resolution, replace Y with 1050).
  5. Set r_mode -1 to make the game use custom resolutions.

Notes

See the WSGF entry to fix the HUD in widescreen.
This method doesn't work for multiplayer.
Image will be Vert- and FOV will need to be adjusted to compensate.
Running the game in widescreen resolution in multiplayer[citation needed]
  1. Download Soldier of fortune 2 Multiplayer Widescreen Patch.
  2. Extract the file to the installation folder, where SoF2MP.exe is located.
  3. Run the patch and choose your desired resolution.

Notes

In the game parameters, select 640x480 as the default resolution, otherwise the patch won't work.
This method doesn't work for single player.

Field of view (FOV)

Changing FOV using hex editor[2]
  1. Go to the installation folder.
  2. Open cgamex86.dll with a hex editor such as HxD.
  3. Go to the address AEB00 (game ver. 1.00) or AEA54 (game ver. 1.3 / Gold Update).
  4. You'll see that it is set to 38 30, which is 80. Change it according to your preference (recommended 39 30 (90) for 16:10 monitors and 39 35 (95) for 16:9).
  5. Save the file and run the game.
  6. To check FOV while in game, type in cg_fov (without the attribute behind it).

Notes

Be sure to backup cgamex86.dll before editing.
cg_fov may also need to be changed in sof2sp.cfg for this solution to work.
Changing FOV using console in singleplayer[citation needed]
  1. Start the game.
  2. Load a saved game or start a new game.
  3. Open the console ( Shift+~).
  4. Type in: setrandom sv_cheats 1 to enable cheats.
  5. Now type in: cg_fov X where X is a value of horizontal FOV between (default is 80, maximum is 160).

Notes

Every time a cutscene is being played, your FOV is going to switch back to 80. See the above hex edit for a permanent solution.
Changing FOV using console in Multiplayer[citation needed]

Changing FOV in multiplayer is easier, because command cg_fov X isn't cheat protected.

  1. Start SOF2 Multiplayer.
  2. Join a server (or host it)
  3. Open the console ( Shift+~).
  4. Type in: cg_fov X, where X is a value of horizontal FOV between 80 (min) and 100 (max).

High frame rate

Custom FPS cap[citation needed]
  1. Start the game.
  2. Open the console ( Shift+~).
  3. Type in com_maxfps followed by the desired FPS cap (e.g. com_maxfps 120).

Notes

Exceeding 60 FPS will cause the character to get stuck in some places.[3]

Head bob

Disable head bob[4]
1. Open the configuration file.
2. Change the value of seta cg_bobup, seta cg_bobpitch and seta cg_bobroll to "0".
3. Save the file. (save with read-only attribute, to prevert change from reverting itself)

Oversized Crosshair

Reduce the Oversized Crosshair[5]
1. Open the configuration file.
2. Change the default value of seta cg_crosshairSize "24", to a lower, desired, one.
3. Save the file. (Save with the Read-Only attribute (to prevent change from reverting itselft)

FPS OSD is missing

Restore the missing FPS OSD (on-screen display) when using custom resolutions[6]
1. Open the configuration file.
2. # Add new line with: seta r_customPixelAspect "1"
3. Save the file with the Read-Only attribute (to prevent change from reverting itselft)

Notes

r_customPixelAspect "1": toggles the use of custom screen resolution/sizes (0: off, 1: on)


Input settings

Input settings.
Input settings.

Template:Input settings

Mouse acceleration

Both Mouse Acceleration and Mouse Filtering are disabled by default. There is an option to enable Mouse Filtering under "Misc Settings". Mouse Acceleration can be activated using console command cl_mouseAccel 1.

Audio settings

Template:Audio settings

Localizations

Language UI Audio Sub Notes
English
French
German
Italian
Japanese
Spanish

Network

Multiplayer types

Type Native Players Notes
LAN play
64
Online play
64 GameSpy services have been shut down;[7] see GameSpy for workarounds.

Connection types

Type Native Notes
Matchmaking
Peer-to-peer
Dedicated
Dedicated servers can be made in-game or with Linux dedicated server.
Self-hosting
Direct IP

Issues unresolved

Game can't be uninstalled

Error: "Could not open INSTALL.LOG file"

Issues fixed

Shadow glitch

Soldier of Fortune II- Double Helix — "projection" shadow glitch.png
Soldier of Fortune II- Double Helix — "projection" shadow glitch-2.png
Lower shadow quality[8]
  1. Running the game with the projection shadows on causes this glitch to happen.
  2. Go to the options menu.
  3. Select scalability settings.
  4. Change shadow quality setting to "blob".

FPS drops on modern systems

FPS drops on modern systems[citation needed]
  1. Go to the options menu.
  2. Select Video Options.
  3. Just below the Gamma slider, you'll find the Light Flares setting.
  4. Change it to 'Simple' or 'Off'.

Graphics settings are lost each time when starting multiplayer

Graphics settings are lost each time when starting Multiplayer[citation needed]
  1. Go to the installation folder\base\MP.
  2. Open sof2mp.cfg
  3. Add these lines :
seta cg_shadows 3
seta cg_shellejection 1
seta cg_goredetail 2

Notes

Solution to fix Texture Filter and FX Quality reset remain to be found.

Impossible to download custom maps / mods

Impossible to download custom maps / mods[citation needed]
  1. Go to the installation folder
  2. Right click on Sof2MP.exe and select "Properties".
  3. On the compatibility tab select "Run this program as administrator" and click OK.

Other information

API

Technical specs Supported Notes
OpenGL 1.2
ExecutablePPC 32-bit 64-bit Notes
Windows
macOS (OS X)

Middleware

Middleware Notes
Audio OpenAL
Anti-cheat PunkBuster [citation needed]

System requirements

Windows
Minimum Recommended
Operating system (OS) 98, ME
Processor (CPU) Intel Pentium III 450 MHz or AMD Athlon
System memory (RAM) 128 MB
Hard disk drive (HDD) 1.5 GB
Video card (GPU) OpenGL compatible
16 MB of VRAM

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