What is SoFplus

SoFplus is a mod for Soldier of Fortune 1.07f. It supports SoF1 clients or SoF1 dedicated servers. Non-dedicated servers are not supported. The client and server mods can be used independently of each other.

The primary purpose is to fix SoF1 1.07f bugs. An unpatched SoF has a number of vulnerabilites that allow a remote attacker to take over your PC. SoFplus blocks all known exploits. Without SoFplus, your SoF server or client can be crashed or hacked. It's even possible to take over your entire PC.

SoFplus - client version

Features:

Changed menus

The violence lock button on the main menu has been replaced with a SoFplus button. If you want to restore your main menu to the defaults, delete sofplus-optional.pak from the base directory. You will still be able to access the SoFplus menus by typing 'menu spm' in the console.

Main menu

The sound frequency setting in the audio settings can now be changed to 11, 22, 44 and 48 kHz.

Audio settings menu

The video settings menu has been overhauled to allow custom video modes and FOV settings. Two extra texture settings have been added for better looking graphics.

Video settings menu

Added menus

Credits

Settings Settings

Name

Vote

Servers

QFX QFX

FOV changes for widescreen

A new cvar '_sp_cl_vid_fov' has been added to change the FOV. Allowed values are:

The images below show how FOV affects the amount of information that's on the screen. The red box indicates what area would have been visible with an aspect ratio of 4:3 and horizontal FOV of 95 (SoF default settings).

 
  screenshot screenshot screenshot screenshot screenshot screenshot
Aspect ratio: 16:9 8:5 (16:10) 4:3 8:5 (16:10) 16:9 4:3
_sp_cl_vid_fov: 0 or 95 0 or 95 0, 1 or 95 1 or 105 1 or 111 111
Horizontal FOV: 95 95 95 105 111 111
Vertical FOV: 63 69 79 79 79 79

Multiple monitors

You can play SoF on a multi-monitor setup. Here's what I used for three 1440x900 monitors (not their native resolution, but this is the highest resolution they all have in common). On my setup the primary display is the in the center, which is why vid_xpos has to be shifted 1440 pixels to the left.

set _sp_cl_vid_fov 1            // FOV hor+ mode
set _sp_cl_vid_border 0         // No border when in windowed mode
set _sp_cl_vid_mode_2 4320x900  // Reconfigure gl_mode 2 for 4320x900
set vid_fullscreen 0            // Switch to windowed mode
set gl_mode 2                   // Switch to gl_mode 2
vid_restart                     // Restart video
set vid_xpos -1440              // Move the window to the top-left position
set vid_ypos 0                  // Move the window to the top-left position

The output of the vid_restart command looks like this:

R_Shutdown() - Shutting down
------- Loading ref_gl.dll -------
Patching ref_gl.dll
ref_gl version: GL 0.01
Initializing OpenGL display
...setting mode 2: 4320 900 W
...setting windowed mode
...registering window class: ok
Creating DS buffers
...using secondary sound buffer
GL_PFD: color(32-bits) Z(24-bit)
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: ATI Radeon HD 4770
GL_VERSION: 3.3.11672 Compatibility Profile Context
GL_MAX_TEXTURE_SIZE: 8192
...allowing CDS
...enabling WGL_EXT_swap_control
...using GL_ARB_multitexture (8 TMUs)
...GL_EXT_texture_filter_anisotropic available
...using GL_EXT_texture_filter_anisotropic
...using GL_S3_s3tc
------------------------------------

Screenshots

Three 1440x900 monitors (4320x900)

4320x900 preview

4320x900 preview

Two 1920x1080 monitors (3840x1080). Never use an even number of monitors like this, because the center of the view (what you aim at) will be at the edge of two of the monitors.

3840x1080 preview

Issues

The bottom part of the menus is clipped off
I've patched all menus to support widescreen aspect ratios up to 16:9. Multi-monitor setups have much wider aspect ratios (like 24:5 in my 4320x900 example). I could make a patch for that if someone actually needs it. There's two ways to work around this: Temporarily switch to a different video mode via the console (e.g. gl_mode 3) or simply use the console to do what you want to do (e.g. connect 5.135.46.179:28914).
The windows taskbar is always visible
To get rid of the Windows taskbar, you have to reconfigure your taskbar and uncheck the 'Keep the taskbar on top of other windows' setting.
The HUD location isn't configurable
I could make a patch for that if someone actually needs it.

SoFplus - dedicated server version

Features:

SoFplus server 20140531 is the latest version.

If you are upgrading from 1.4t* versions: Almost everything changed, so you can't simply upgrade from 1.4t* by just replacing files. Try to install and configure it on your home PC first before installing it on a rented server.

If you are upgrading from the 2012*/2013* versions: The scripts have been modified and have been moved from user-server/sofplus/ to user-server/sofplus/addons/. The spawn files have been moved from user-server/sofplus/sv/spawn/ to user-server/sofplus/spawn/. Try to install and configure it on your home PC first before installing it on a rented server.

If you want to run your server with full violence, start your server with commandline option '+set sv_violence 32' (in sof-server-start.bat), or set the cvar _sp_sv_violence_lock_override in sofplus-cvars.cfg to 1.

One of the most useful server commands for players is: .players
Type this on the client in your console, or as chat text and include the dot. The output will look something like this:

].players
82.94.226.186:28950: print
Players (fps_max = 150; SoFplus 20140531)
 # FPS Ping Score PPM FRG DIE SK TK FLG Name
-- --- ---- ----- --- --- --- -- -- --- ---------------
 0  29  153     0   0   0   1  0  0   0 xspencekilu
 1  29  140     9   4  11   5  1  0   0 BEEOTCH
 2  29   84     9   5  10  19  0  0   0 UnluckyKollargoll
 3  29  171    16   9  16   4  0  0   0 Crazy Legs
 4  18   65    23   6  24  21  0  0   0 Tr!sTaN
 5  12  116     8   4   8   8  0  0   0 Slovak sniper
 6  29   46     3   1   3   7  0  0   0 fatboy ronaldo
 7  15  180    11   4  13  17  1  0   0 Oggy
 8  29  372     0   0   0   1  0  0   0 izzy
 9 110   21     0   0   0   1  0  0   0 Joan Mullins
11  29  319     0   0   0   1  0  0   0 John Mullinz

Downloads

Current version

File Description
sofplus-client-20140531.zip SoFplus client 20140531. You may want to look at the installation instructions / changelog first.
sofplus-server-20140531.zip SoFplus server 20140531. You may want to look at the installation instructions / changelog first.
sofplus-manual.html Description of all SoFplus cvars and commands. This file is also included in the SoFplus client and server downloads
sof-exe.zip Original SoF.exe, in-case you want to uninstall SoFplus

Scripts / addons for current version

File Description
spf_cl_chat.zip Client script for coloured chat text and big 4-line chat (README)
spf_cl_chat_weird.zip Client script to speak gibberish (README)
spf_cl_demos.zip Client script for recording demos on connect (README)

Old versions

File Description
SoFplus releases All SoFplus releases.
Client addons Old client addons.
Server addons Old server addons.

Thanks

SoFplus was created with the help and ideas of many players, like: