How to update TF2 without installing another instance of TF2

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
AstroZombie
A regular
A regular
Posts: 50
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Nov 28, 2006 9:20 am

How to update TF2 without installing another instance of TF2

Post by AstroZombie »

I just rented a VDS, I have COD and TF2 running based on the preinstalled files that came with the server. I want to update the TF2 server using the HldsUpdateTool, however, every time I run it I end up just installing another instance of TF2 and I just end up chewing through gigs of may allotted bandwidth for the month.

Here is the command I am running in order to update TF2:

C:\Game installs>HldsUpdateTool.exe –command update –game tf -dir “C:\game installs\sourcebase\orangebox\tf” –verify_all


Some additional information, I am running firedaemon to autostart the servers. I have added this line to the Parameters section under the Program Tab of Firedaemon: "C:\Game installs\sourcebase\orangebox\srcds.exe" -game tf -console +exec server.cfg +maxplayers 22 +map ctf_2fort -autoupdate . Does the -autoupdate handle the updating of the server?

I have read the information on these websites but I am still stumped:
http://supportwiki.steampowered.com/wik ... ted_Server

http://www.srcds.com/db/engine.php?suba ... 1097362093

http://tf2wiki.net/wiki/Windows_dedicat ... rver_files

Any help would be much appreciated. My server may currently be up to date but I would like to know how to keep it up to date easily in the future.
"Frag the weak, hurdle the dead."
Good judgment comes from experience…and a lot of that comes from bad judgment.
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: How to update TF2 without installing another instance of TF2

Post by Edge100x »

To update our default install, I would recommend going to the command line and typing:

Code: Select all

cd\Game installs
HldsUpdateTool.exe –command update –game tf -dir sourcebase –verify_all
The secret sauce here is mainly the folder name; you don't want the "orangebox/tf" bit in there.

The -autoupdate option does not currently work on the Windows versions of Valve's servers, so updates always need to be done manually.
AstroZombie
A regular
A regular
Posts: 50
Joined: Tue Nov 28, 2006 9:20 am

Re: How to update TF2 without installing another instance of TF2

Post by AstroZombie »

Thanks Edge. That has stopped the updater from installing another instance of TF2. Also the update worked as well. I knew I must have been something as simple as your answer.

Also just for anyone else that may have this issue, before you run the update be sure you stop the game service/application/server or you will get an error.
"Frag the weak, hurdle the dead."
Good judgment comes from experience…and a lot of that comes from bad judgment.
Post Reply