From ArchWiki
Revision as of 09:42, 26 December 2012 by Fengchao (talk | contribs) (Add category.)
Jump to: navigation, search

This page describes how to install HLDS (Half-Life Dedicated Server) for installing and running a game server for classic Half-Life 1 games.


First, install hldsAUR from the AUR. Then change the directory to /opt/hlds and begin download the game files, in this example for Counter-Strike 1.6, by executing this command:

$ ./steam -command update -game cstrike -dir .

Start the server

After editing server.cfg, start the server using:

$ ./hlds_run -game cstrike -autoupdate +maxplayers 20 +map de_aztec > /dev/null 2>&1 &

Be sure you forwarded the ports 1200 UDP, 27000 - 27015 UDP, 27020 - 27039 TCP correctly!