SRCDS Steam group

Grampy's noob guide to TF2 linux server install & setup
Hey ya'll,

I just spent the day trying to figure out how to get my Team Fortress 2 server set up, and I finally worked my way through several problems, so I thought I'd post what I did to get it up and running.

I dont know anything about the actual configuration, admin commands, or much else for that matter. But as a noob, I got things up, and I can now connect to my linux server from my windows xp machine.

Ill post links to the information that I found and any notes that I may have for them.

First the install of the server files for your linux machine. This is from the front page here are under the getting started link.

At step 1 you run the hldsupdatetool.bin, once that has been installed,
you then should add a step chmod +x steam (This will allow you to update steam later on)

At step 2 you need to change the game name from Counter-Strike Source to simply tf, keep the quote marks.

At step 3 is says

First edit (or create) srcds_l/cstrike/cfg/server.cfg like you want it to be. Now we are ready to run the srcds.
./srcds_run -console -game cstrike +map de_dust -maxplayers 16 -autoupdate
and press enter. (-game hl2mp if it's a HL2DM server ofcourse)
Your srcds is now up and running.

To make this step work try the following.

I found a very nice server.cfg at this link.

He posted an updated server.cfg about halfway down the page.

You need to go to the srcds/orangebox/tf/cfg folder and create this file manually.

Then you need to make it so that it can be used by steam with this command.

+exec server.cfg

The step also says that you are ready to run the srcds, which didnt work for me. It turns out that when you run the hldsupdatetool.bin it doesnt update all the tf files. So I found the command to do a full scan on your tf files.

./steam -command update -game tf -verify_all

Run this from your srcds directory. I had to run this a few times to get all the files updated, and note, there is a delay before it starts the update so be patient.

If all goes well, and if I didnt forget anything. you should be able to start up the server from you srcds/orangebox directory. (for the complete noob, from a treminal window type cd/srcds and hit enter, then type cd/orangebox and hit enter.

I was able to simpy type

./srcds_run -game tf +map ctf_2fort +maxplayers 24 -autoupdate

to get the basic server going. As far as more detailed options for the command, well, your guess is as good as mine since I don't know what I am doing. hehe

Take care and good luck.


One last thing, Just found a server admin tool, since I am not sure how to do it in game. Its the HLSW program.
Hey thanks so much for your tutorial, I am also a noob on linux and I just got into fedora.

Your tutorial was great, im now downloading the massive file so I decided to register and give you some feedback.

If I have any questions with steps 3 or onward I will be sure to ask, but pretty straightforward from here on. Thanks =)
One other thought,

You will also need to forward ports 27005 - 27015 in order for the server to work over the interweb.
Please do not raise old, dead threads from the dead. If you need similar help, please feel free to post your own thread with your question. Remember to read the required READ ME FIRST thread for the area in which you are posting.

Thread Locked.

Forum Jump:

Users browsing this thread: 1 Guest(s)