A python script to automatically download and install Left 4 Dead 2 workshop addons for dedicated servers.
The script uses the Steam web API to fetch the last updated timestamp of each addon. This is then compared to a saved timestamp if available.
- Automatic download and install
- Only downloads new or updated addons
--check-addons
Checks for extra and missing addons. Missing addons will be downloaded and extras will be logged but not deleted.--validate
Compares the file size of each addon with the file size reported by Steam. If they differ, the addon will be downloaded again.
- Python 3.11
- Python libraries:
- requests
- json
- os
- logging
- time
- subprocess
- shutil
- datetime
- shlex
- argparse
- Steam web API key.
- Steam account with Steam guard disabled.
- SteamCMD
Open workshop_updater.py
and edit the Tool Settings as needed.
Then run python.
- The tool currently doesn't check if a download has failed.
Run the tool with --check-addons
to check for extra and missing addons. Missing addons will be downloaded automatically. Extras will be logged but not deleted.