echo Updating/installing CS: S hldsupdatetool -command update -game "Counter-Strike Source" -dir C:\srcds echo Updating/installing L4D/L4D2 hldsupdatetool -command update -game "left4dead" -dir C:\srcds echo Updating/installing Episode 1 hldsupdatetool -command update -game "episode1" -dir C:\srcds echo Updating/installing dods hldsupdatetool -command update -game "dods" -dir C:\srcds echo Updating/installing hl2mp hldsupdatetool -command update -game "hl2mp" -dir C:\srcds echo Updating/installing tf hldsupdatetool -command update -game "tf" -dir C:\srcds echo Updating/installing Orange Box hldsupdatetool -command update -game orangebox -dir C:\srcds echo Updating/installing Garrysmod hldsupdatetool -command update -game garrysmod -verify_all -retry -dir C:\srcds echo Update/installation Complete echo Installed to c:\srcds\ echo Your server is now ready to use! place them in c:\srcds\orangebox\garrysmod\ echo This installer can also update necessary server files, so it is recommended that you run it often.pause Now save the file as server_in notepad (NOT .txt) and click the server_file.Now run the hldsupdatetool from the directory you saved it, just by double clicking on it like normal. Type in the commands mentioned here and end a line with the enter key.Navigate through the wizard like you are used to, which means next most of the time. Command(s): The new version of HLDSUpdate Tool will be downloaded now.
echo It is recommended that you start Server Crash Recovery aswell. If you want to use the GUI mode, with the interface do not add any options to it.In this file, you can put rcon passwords, server passwords, sandbox settings, etc. We can create another little batch file to do all this for [email protected] off cd c:\srcds/orangebox echo Starting game server.Please read the whole tutorial before asking questions.
First of all download hldsupdatetool from the VALVe webserver. Do not save it to where your server will be, this will cause a conflict resulting in the error: "Please close the half-life dedicated server update tool that is already running.
Please note that in the 2007 update of Garry's Mod, as it has moved to the Orange Box engine, the actual install directory of gmod will be located at: ./srcds/orangebox/as apposed to:./srcds/ note2: Do not set the hldsupdatetool -dir to /orangebox/ -- it won't work!