This repository is a nillerusr's Source Engine dedicated
branch published to let users build and run dedicated servers
Clone repo and change directory:
git clone https://github.com/bariscodefxy/source-engine-dedicated.git --recursive --depth 1
cd source-engine-dedicated
Install dependencies: fontconfig, freetype2, OpenAL, SDL2, libbz2, libcurl, libjpeg, libpng, zlib, libedit, libegl
You also need 32 bit versions of these libraries
On Debian/Ubuntu:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install libedit-dev:i386 # Example for installing one of the lib
Game | modname |
---|---|
Half-Life 2: Deathmatch | hl2mp |
Day of Defeat: Source | dod |
Change branch to ssdk-2013 to apply this
git checkout ssdk-2013
Game | modname |
---|---|
Counter-Strike: Source | cstrike |
modname
in command should be one from the tables above
./waf configure -T debug --build-game=modname --prefix=/path/to/game -d
./waf install
Prefix paramter should point to the root folder of the game. /home/user/Counter-Strike Source Dedicated Server
for example
Before executing install, delete all files in bin
and modname/bin
folders in game folder
TODO(WAF is not configured for Windows/MacOS. Use VPC as temporary solution)