Project Zomboid

Project Zomboid

Nicht genug Bewertungen
Getting mods for the GoG copy [modding]
Von RIDAI
An easy guide on how to install mods when using the GoG version, with SteamCMD.
We will create a mods.txt file with a workshop URL on each line which will be automatically downloaded.
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
How to download mods for GoG [Windows]
  • Install SteamCMD - Simply download this .zip and extract it to C:\steamcmd\
    https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
  • Now go to C:\steamcmd\ and right click anywhere and select "New > Notepad Document"
  • Rename it to download_zomboid_mods.ps1
  • Right click it and select "Edit"
  • Copy and paste the following text into the file and save it (File > Save):
    function not-exist { -not (Test-Path $args) } Set-Alias !exist not-exist -Option "Constant, AllScope" Set-Alias exist Test-Path -Option "Constant, AllScope" $steamcmdDir = "c:\steamcmd" if (exist .\mods.txt) { $mods_file = Get-Content .\mods.txt } else { $mods_file = Get-Content .\mods.txt.txt } $gameid = 108600 $regex = "(?: *\d+ *(?:\n|$))+$" foreach($line in $mods_file) { $modid = $line -replace '.*id=([0-9]*).*','$1' if($modid -match $regex){ # Download with steamcmd.. Start-Process -FilePath "$($steamcmdDir)\steamcmd.exe" -ArgumentList "+force_install_dir $($Env:tmp) +login anonymous +workshop_download_item $($gameid) $($modid) +quit" # Move from Temp Move-Item "$($Env:tmp)\steamapps\workshop\content\108600\*" "$($env:USERPROFILE)\Zomboid\mods" } } # Open destination folder Invoke-Item "$($env:USERPROFILE)\Zomboid\mods"
  • Now create another text file (New > Notepad document) in the same place called mods.txt and paste your desired mod URLs on each line directly from your browser.
  • Right click and run download_zomboid_mods and wait, the black window should disappear and the mods will appear in the folder that has opened.

    You may need to open these new numbered folders, open the "mod" folder inside, and then you will see the name of the mod as a folder; copy and paste this into the mods folder that opened previously.

    You can then run Zomboid and see the mods.
Troubleshooting
You may have trouble executing the Powershell .ps1 script due to Windows preventing user-created scripts from being run by default. In this case, try running Powershell as admin.
  • Open start menu, type "Windows Powershell", right click it and "Run as administrator". Then copy and paste the following in and hit enter:
    set-executionpolicy remotesigned
If it asks for you to type a letter, type A and hit enter to allow powershell scripts to be run. Now close this new Powershell window and try again by running the Powershell script we made earlier.
2 Kommentare
RIDAI  [Autor] 12. Okt. 2022 um 4:01 
Thank you! Hope it helps.
anthonyjamestone² 11. Okt. 2022 um 15:52 
nice guide mate