Created
January 30, 2025 18:17
-
-
Save kane-thornwyrd/61bc1b0ecf7eaffe261b9330e93eee55 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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