forked from CubeCoders/AMPTemplates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sunkenlandupdates.json
53 lines (53 loc) · 2.46 KB
/
sunkenlandupdates.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[
{
"UpdateStageName":"SteamCMD Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"2667530",
"UpdateSourceArgs":"2080690",
"UpdateSourceVersion":"{{ServerBranch}}",
"ForceDownloadPlatform":"Windows"
},
{
"UpdateStageName":"Initialise Wine",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'WINEPREFIX=\"{{$FullRootDir}}.wine\" WINEARCH=win64 WINEDEBUG=-all /usr/bin/wineboot --init --update'",
"SkipOnFailure":false
},
{
"UpdateStageName":"Saves Directory Creation",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"cmd.exe",
"UpdateSourceArgs":"/C mkdir \"%UserProfile%\\AppData\\LocalLow\\Vector3 Studio\\Sunkenland\\Worlds\" > NUL 2>&1 & rd /S /Q \"{{$FullBaseDir}}Worlds\" > NUL 2>&1 & mklink /J \"{{$FullBaseDir}}Worlds\" \"%UserProfile%\\AppData\\LocalLow\\Vector3 Studio\\Sunkenland\\Worlds\" > NUL 2>&1",
"SkipOnFailure":false
},
{
"UpdateStageName":"Saves Directory Creation",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'mkdir -p \"{{$FullRootDir}}.wine/drive_c/users/amp/AppData/LocalLow/Vector3 Studio/Sunkenland/Worlds\" >/dev/null 2>&1; cd sunkenland/2667530 && ln -sf \"../.wine/drive_c/users/amp/AppData/LocalLow/Vector3 Studio/Sunkenland/Worlds\" ./ >/dev/null 2>&1'",
"SkipOnFailure":false
},
{
"UpdateStageName":"Default World Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/sunkenlandworld.zip",
"UpdateSourceTarget":"{{$FullBaseDir}}Worlds",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":false,
"DeleteAfterExtract":true
},
{
"UpdateStageName":"Create Readme File",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"CreateFile",
"UpdateSourceArgs":"{{$FullBaseDir}}Worlds/README.txt",
"UpdateSourceData":"WARNING: This directory will include the save data of multiple Sunkenland servers\nrun on this system.\n\nTake care when managing files in this directory or its subdirectory!",
"OverwriteExistingFiles":true
}
]