Soldier Of Fortune

Here you'll get instructions of how to install a linux dedicated Soldier Of Fortune server.

This requires the official retail CD!

Getting the files

The latest release dedicated linux server (1.2)
sof2dedlinux1_02a.zip
The latest update (1.2a)
sof2dedlinux1_02a.zip

Installing the files

$ mkdir /usr/local/games/sof2
$ cd /usr/local/games/sof2
$ unzip /tmp/sof2dedlinux1_02.zip
$ mkdir ./base
$ cp /path/to/cdrom/base/*.pk3 ./base
$ cp libcxa.so.1 /usr/lib (as root!)
$ unzip /tmp/sof2dedlinux1_02a.zip

Configuring the dedicated Server

$ vi ./base/server.cfg

Example config for CTF game

set public 1
set deathmatch 4
set hostname DragonBe's SoF2 Server
set welcome_mess Welcome @ DragonBe's SoF2 Dedicated Linux Server
set cheats 0
set maxclients 16
set fraglimit 0
set timelimit 20
set maxspectators 2
set sv_reconnect_limit 3
set sv_suicidepenalty 10
set ctf_loops 3

Running the dedicated Server

$ ./sof2ded +exec server.cfg

Port Settings

  • UDP 28910: SoF Game Server
  • UDP 28911 - 28915: GameSpy Connections