/l4d2wsupdatetool

Left 4 Dead 2 Steam Workshop Updater Tool

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Left 4 Dead 2 Steam Workshop Updater Tool

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.

Features

  • Automatic download and install
  • Only downloads new or updated addons

Parameters

  • --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.

Requirements

  • 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

Usage

Open workshop_updater.py and edit the Tool Settings as needed.

Then run python.

Limitations

  • 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.