Skip to content

Simple script to automatically update games installed by SteamCMD

License

Notifications You must be signed in to change notification settings

paroxy777/SteamCMD-AutoUpdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SteamCMD-AutoUpdate

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.

Theory of operation

  1. Stop the running server gracefully
  2. Verify the server process has quit
  3. Run the SteamCMD command to perform the update
  4. Restart the server process
  5. Verify the server process has restarted

3rd Party Requirements

  • SteamCMD
  • A Windows Service for the dedicated server. This can be done easily with NSSM, or manually if you prefer.

Builds available

  • Windows CMD batch file (.cmd)
  • AutoIt script (.au3)
  • Execuable console app (.exe is directly compiled from the .au3 source file)

Installation

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

Usage

CMD Version:

  1. Edit the User Configuration area at the top of the .cmd file.
  2. Run as Administrator. This is required for the Windows Service stop/start controls.

AU3 or .EXE Version:

  1. Edit the .INI to match your server's configuration.
  2. Run as Administrator. This is required for the Windows Service stop/start controls.

Managing multiple dedicated servers

CMD version:

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.

AU3 or EXE version:

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.

About

Simple script to automatically update games installed by SteamCMD

Resources

License

Stars

Watchers

Forks