Skip to content

Instantly share code, notes, and snippets.

@kane-thornwyrd
Created January 30, 2025 18:17
Show Gist options
  • Save kane-thornwyrd/61bc1b0ecf7eaffe261b9330e93eee55 to your computer and use it in GitHub Desktop.
Save kane-thornwyrd/61bc1b0ecf7eaffe261b9330e93eee55 to your computer and use it in GitHub Desktop.
#!/bin/sh
modFolder="$PWD/mods/$1"
[ -d $modFolder ] || mkdir -p $modFolder
dataFolder="$PWD/data/$1"
[ -d $dataFolder ] || mkdir -p $dataFolder
logPath="$PWD/logs/$1_logs"
[ -d $logPath ] || mkdir -p $logPath
"./$1/Vintagestory" --addModPath $modFolder --dataPath $dataFolder --logPath $logPath
: <<'COMMENT'
Copy the vintagestory folder under another name, like "my_modpack"
To launch Vintage Story, run this script like so:
$ ./launch_VintageStory_modpack.sh my_modpack
3 folders will be created:
- ./mods/my_modpack
- ./data/my_modpack
- ./logs/my_modpack_logs
To launch this instance as a server, run this script like so:
$ ./launch_VintageStory_modpack.sh my_modpack Server
COMMENT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment