Easy Steam dedicated game server updates & local installtion repair.
This project is to a simple way to upgrade any dedicatied game server that was installed via Steam or SteamCMD. SteamCMD will verify your local installtion files and install any recent updates.
This is all highly experimental. There are no destructive functions, but use at your own risk.
- Stop the running server gracefully
- Verify the server process has quit
- Run the SteamCMD command to perform the update
- Restart the server process
- Verify the server process has restarted
- SteamCMD
- A Windows Service for the dedicated server. This can be done easily with NSSM, or manually if you prefer.
- Windows CMD batch file (.cmd)
- AutoIt script (.au3)
- Execuable console app (.exe is directly compiled from the .au3 source file)
Files required for each version:
- .CMD version: SteamCMD-AutoUpdate.cmd
- .AU3 version: SteamCMD-AutoUpdate.au3 & SteamCMD-AutoUpdate.ini
- .EXE version: SteamCMD-AutoUpdate.exe & SteamCMD-AutoUpdate.ini
- Edit the User Configuration area at the top of the .cmd file.
- Run as Administrator. This is required for the Windows Service stop/start controls.
- Edit the .INI to match your server's configuration.
- Run as Administrator. This is required for the Windows Service stop/start controls.
1. Make multiple copies the SteamCMD-AutoUpdate.cmd and modify the User Configuration section in each file.
2. Run the .CMD file for the dedicated server you wish.
Plan A:
1. Create a copy of the SteamCMD-AutoUpdate.ini file and modify it for each dedicated server.
2. Pass the name of the .INI file to the script:
SteamCMD-AutoUpdate.exe C:\folder\path\myCustomFile.ini
Plan B:
Make copies of the the required files into separate directories and modify each SteamCMD-AutoUpdate.ini file.