SteamCMD is a tool provided by Valve that allows you to install and update many game servers. The tool can be run as a Pre-Service with FireDaemon Pro so that any game server updates are downloaded prior to your service starting. This HOWTO will show you how to set up SteamCMD with FireDaemon Pro. You can also use Fusion to manage FireDaemon and other Windows services via a web browser.


SteamCMD Setup Under FireDaemon Pro

Download SteamCMD from the Steam website.


Extract the SteamCMD .zip file somewhere on your hard drive. For the purposes of this HOWTO, we will use C:\SteamCMD.


Download and install FireDaemon Pro into the directory of your choice, typically C:\Program Files\FireDaemon.


Before continuing, your FireDaemon service must already be set up and configured. If you have not done that yet, do so now before continuing with this HOWTO. The FireDaemon knowledgebase contains HOWTO guides for many game servers; check and see if a HOWTO guide for your game exists.


While configuring your FireDaemon service for your game server, in the "Pre / Post-Service" tab, select Insert in the "Pre-Service Programs" section toward the top.



Executable: The path to your steamcmd.exe file. For the purposes of this HOWTO, the path is C:\SteamCMD\steamcmd.exe.


Working Directory: The directory containing your steamcmd.exe file. For the purposes of this HOWTO, the path is C:\SteamCMD.


For your parameters, enter and edit as necessary the update command for the game server you are running.


For games that do not require a username/password

For games that do not require a username or password, enter the following in the Parameters field:
+login anonymous +force_install_dir "C:\Path To Your Server" +app_update #### validate +quit

Replace "C:\Path To Your Server" with the path to your game server and replace #### with the appid of your game server. To find the app id, look here.


For games that do require a username/password

For games that do require a username and password, enter the following in the Parameters field:

+login USERNAME PASSWORD +force_install_dir "C:\Path To Your Server" +app_update #### validate +quit

Replace USERNAME with your Steam account username and PASSWORD with your Steam account password. Please be aware that if you are using your personal Steam account, you will be logged out when the server updates itself. Replace "C:\Path To Your Server" with the path to your game server and replace #### with the appid of your game server. To find the app id, look here.


To give SteamCMD enough time to update all files (2 hours), in the execution box type: 7200000


Set Run Program to "Before Event" and uncheck "Run Detached". Your Pre / Post-Services area should look like this now:



Now click on both OK buttons to update and start your service!


Note: Every time your service starts, it will check if there's an update and verify your files. If you have customised any core files, they could be overwritten during the verification. If you do not want to verify files upon update, then remove the "validate" command from the parameters list.