GNU/Linux Day Of Defeat 1.3 Server Tutorial
Written by: Rodo Abad
Posted on: Jan 14, 2009 11:00:00 PM

GNU/Linux Day Of Defeat 1.3 Server TutorialDay Of Defeat is a team-based multiplayer World War II first-person shooter computer game of the European Theater of World War II. This tutorial is written to help users in setting up a Day Of Defeat 1.3 game server in a GNU/Linux based machine. This tutorial assumes that you either have a Windows based or GNU/Linux based machine that will connect to a GNU/Linux based machine remotely.

Requirements

  •  Basic knowledge of Windows based machines
  •  Basic knowledge of GNU/Linux based machines
  •  Internet connection
  •  SSH client. I recommend PuTTy
  •  wget is installed in your GNU/Linux machine
  •  screen is installed in your GNU/Linux machine
  •  root privileges when needed

Let's start things first by being organized. Create a directory named hlds. cd to the hlds directory. Download the hldsupdatetool.bin from SteamPowered.com using wget.

mkdir hlds

cd hlds

wget http://www.steampowered.com/download/hldsupdatetool.bin

NOTE: If you can't use wget then it's most likely not installed or your user privilege isn't enough to use wget. If it's the latter, please contact your system administrator about this problem. If however it is not installed and you do have access to the user root, you can just su - to root and install wget from there. Please take note that I am using a Redhat based GNU/Linux distribution for this tutorial so the commands to login to the user root and/or install applications may be different depending on your GNU/Linux distribution.

yum install wget

We'll then turn hldsupdatetool.bin into an executable with the chmod command.

chmod +x hldsupdatetool.bin

Run hldsupdatetool.bin and just say yes after reading the license agreement. Remember, only say yes if you fully agree on their license agreement.

./hldsupdatetool.bin

NOTE: If you receive a uncompress: command not found message it means your GNU/Linux machine does't have uncompress installed. There's an easy work around for this, use the following while logged-in as the user root.

ln -s /bin/gunzip /bin/uncompress

We'll then create a directory named dod and then move steam to the dod directory using the mv command. Then we'll cd to the dod directory.

mkdir dod

mv steam dod/

cd dod/

You need to run steam at least once so that it'll update it self. After that it's ready to install your Day Of Defeat 1.3 server files.

./steam

Once steam has updated itself, install the Day Of Defeat 1.3 server files with the following command. Go ahead and take a break since it'll take awhile to get done.

./steam -command update -game "dod" -dir .

When you're done installing the Day Of Defeat 1.3 files, you can edit or create your server.cfg in hlds/dod/.