This script automates the process of downloading multiple mods for a game (Project Zomboid in this case) using SteamCMD. You can easily modify the script to suit your needs.
- SteamCMD must be installed on your machine.
- A Linux-based operating system is recommended for running this script.
-
Set up the target mods directory:
- Modify the
MODS_DIRvariable in the script to point to the directory where you want to install the mods. - Example:
/home/user/game-mods/
- Modify the
-
Customize the list of mods:
- The
MOD_IDSarray contains Steam Workshop mod IDs. You can add or remove mod IDs as needed.
- The
-
Run the script:
- Open a terminal and navigate to the directory where the script is located.
- Run the script:
./download_mods.sh
-
Check the log:
- The script will create a
mod_download_log.txtfile in the current directory. This file will contain the download status for each mod.
- The script will create a
- The script uses anonymous login to download mods. Make sure your SteamCMD is set up properly.
- You can modify the script to download mods for any Steam game by changing the App ID (currently set to
108600for Project Zomboid).
This script is licensed under the MIT License. Feel free to modify it as needed.