Skip to content

Instantly share code, notes, and snippets.

@TheRealNOIG
Last active January 1, 2024 19:18
Show Gist options
  • Save TheRealNOIG/7dfcad4e009eaf9dd3b229fd405b950d to your computer and use it in GitHub Desktop.
Save TheRealNOIG/7dfcad4e009eaf9dd3b229fd405b950d to your computer and use it in GitHub Desktop.

Space Engineer/Tourch - Generate WorkshopItems from Steam Workshop Collection

This snippet will generate a list suited for the Tourch SE dedicated server bulk mod import from a Steam Workshop Collection.

This is a modified version of Saturate's Project Zomboid - Generate WorkshopItems from Steam Workshop Collection https://gist.github.com/Saturate/1519244dee074f3b6afdea349580f0e0

How to use:

  1. Navigate to your collection (eg. https://steamcommunity.com/sharedfiles/filedetails/?id=2871262277)
  2. Copy the code in console.js
  3. Open the devtools for your browser (F12)
  4. Paste and run the code
  5. Copy the output
  6. Paste the config line Tourch mode bulk import
var modIds = Array.from(document.querySelectorAll('[id^="sharedfile_"]')).map(mod => {
return mod.id.replace('sharedfile_', '') + '-Steam';
})
console.log(`This list contains ${modIds.length} mods, copy it to your Tourch bulk Mod list`)
console.log(modIds.join('\n'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment