forked from CubeCoders/AMPTemplates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ark-saupdates.json
111 lines (111 loc) · 6.46 KB
/
ark-saupdates.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[
{
"UpdateStageName": "SteamCMD Server Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "SteamCMD",
"UpdateSourceData": "2430930",
"UpdateSourceArgs": "2399830",
"ForceDownloadPlatform": "Windows"
},
{
"UpdateStageName": "ServerAPI Config Backup",
"UpdateSourcePlatform": "All",
"UpdateSource": "CopyFilePath",
"UpdateSourceData": "{{$FullBaseDir}}ShooterGame/Binaries/Win64/ArkApi/Plugins/Permissions/config.json.bak",
"UpdateSourceArgs": "{{$FullBaseDir}}ShooterGame/Binaries/Win64/ArkApi/Plugins/Permissions/config.json",
"OverwriteExistingFiles": true,
"UpdateSourceConditionSetting": "ServerExecutable",
"UpdateSourceConditionValue": "AsaApiLoader",
"SkipOnFailure": true
},
{
"UpdateStageName": "ServerAPI Launcher Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "GithubRelease",
"UpdateSourceArgs": "ArkServerApi/AsaApi",
"UpdateSourceTarget": "{{$FullBaseDir}}ShooterGame/Binaries/Win64/",
"UnzipUpdateSource": true,
"OverwriteExistingFiles": true,
"DeleteAfterExtract": true,
"UpdateSourceConditionSetting": "ServerExecutable",
"UpdateSourceConditionValue": "AsaApiLoader"
},
{
"UpdateStageName": "ServerAPI Config Restore",
"UpdateSourcePlatform": "All",
"UpdateSource": "CopyFilePath",
"UpdateSourceData": "{{$FullBaseDir}}ShooterGame/Binaries/Win64/ArkApi/Plugins/Permissions/config.json",
"UpdateSourceArgs": "{{$FullBaseDir}}ShooterGame/Binaries/Win64/ArkApi/Plugins/Permissions/config.json.bak",
"OverwriteExistingFiles": true,
"UpdateSourceConditionSetting": "ServerExecutable",
"UpdateSourceConditionValue": "AsaApiLoader",
"SkipOnFailure": true
},
{
"UpdateStageName": "Config Directory Creation",
"UpdateSourcePlatform": "All",
"UpdateSource": "CreateDirectory",
"UpdateSourceArgs": "{{$FullBaseDir}}ShooterGame/Saved/Config/WindowsServer",
"OverwriteExistingFiles": false
},
{
"UpdateStageName": "Game.ini Config Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/ark-sagame.ini",
"UpdateSourceArgs": "Game.ini",
"UpdateSourceTarget": "{{$FullBaseDir}}ShooterGame/Saved/Config/WindowsServer/",
"OverwriteExistingFiles": false
},
{
"UpdateStageName": "GameUserSettings.ini Config Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/ark-sawin-gameusersettings.ini",
"UpdateSourceArgs": "GameUserSettings.ini",
"UpdateSourceTarget": "{{$FullBaseDir}}ShooterGame/Saved/Config/WindowsServer/",
"OverwriteExistingFiles": false
},
{
"UpdateStageName": "First Backup Exclusions Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/exclusions/.backupExclusionsArkSA1",
"UpdateSourceArgs": ".backupExclude",
"UpdateSourceTarget": "{{$FullBaseDir}}",
"UpdateSourceConditionSetting": "backupExclude",
"UpdateSourceConditionValue": "true",
"OverwriteExistingFiles": false
},
{
"UpdateStageName": "Second Backup Exclusions Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "FetchURL",
"UpdateSourceData": "https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/exclusions/.backupExclusionsArkSA2",
"UpdateSourceArgs": ".backupExclude",
"UpdateSourceTarget": "{{$FullBaseDir}}ShooterGame",
"UpdateSourceConditionSetting": "backupExclude",
"UpdateSourceConditionValue": "true",
"OverwriteExistingFiles": false
},
{
"UpdateStageName": "Proton GE Download",
"UpdateSourcePlatform": "Linux",
"UpdateSource": "Executable",
"UpdateSourceData": "/bin/bash",
"UpdateSourceArgs": "-c \"mkdir -p \\\"{{$FullRootDir}}.proton/compatdata\\\" \\\"{{$FullBaseDir}}.steam/steam\\\" \\\"{{$FullBaseDir}}.steam/sdk32\\\" \\\"{{$FullBaseDir}}.steam/sdk64\\\" && \\cp -f \\\"{{$FullRootDir}}linux32/steamclient.so\\\" \\\"{{$FullBaseDir}}.steam/sdk32/\\\" && \\cp -f \\\"{{$FullRootDir}}linux64/steamclient.so\\\" \\\"{{$FullBaseDir}}.steam/sdk64/\\\" && rm -rf \\\"{{$FullRootDir}}.proton/compatdata/\\\"* >/dev/null 2>&1 && wget -q $(wget -qO- https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep browser_download_url | cut -d\\\\\\\" -f4 | grep .tar.gz) && tar -xzf GE-Proton*.tar.gz -C \\\"{{$FullRootDir}}.proton\\\" --strip-components=1 ; rm GE-Proton*.* && { STEAM_COMPAT_DATA_PATH=\\\"{{$FullRootDir}}.proton/compatdata\\\" STEAM_COMPAT_CLIENT_INSTALL_PATH=\\\"{{$FullBaseDir}}.steam/steam\\\" {{$FullRootDir}}.proton/proton PROTON_LOG=1 >/dev/null 2>&1; exit 0; }\"",
"UpdateSourceConditionSetting": "ProtonRelease",
"UpdateSourceConditionValue": "latest",
"SkipOnFailure": false
},
{
"UpdateStageName": "Proton GE Download",
"UpdateSourcePlatform": "Linux",
"UpdateSource": "Executable",
"UpdateSourceData": "/bin/bash",
"UpdateSourceArgs": "-c \"mkdir -p \\\"{{$FullRootDir}}.proton/compatdata\\\" \\\"{{$FullBaseDir}}.steam/steam\\\" \\\"{{$FullBaseDir}}.steam/sdk32\\\" \\\"{{$FullBaseDir}}.steam/sdk64\\\" && \\cp -f \\\"{{$FullRootDir}}linux32/steamclient.so\\\" \\\"{{$FullBaseDir}}.steam/sdk32/\\\" && \\cp -f \\\"{{$FullRootDir}}linux64/steamclient.so\\\" \\\"{{$FullBaseDir}}.steam/sdk64/\\\" && rm -rf \\\"{{$FullRootDir}}.proton/compatdata/\\\"* >/dev/null 2>&1 && wget -q \\\"https://github.com/GloriousEggroll/proton-ge-custom/releases/download/{{SpecificReleaseVersion}}/{{SpecificReleaseVersion}}.tar.gz\\\" && tar -xzf GE-Proton*.tar.gz -C \\\"{{$FullRootDir}}.proton\\\" --strip-components=1 ; rm GE-Proton*.* && { STEAM_COMPAT_DATA_PATH=\\\"{{$FullRootDir}}.proton/compatdata\\\" STEAM_COMPAT_CLIENT_INSTALL_PATH=\\\"{{$FullBaseDir}}.steam/steam\\\" {{$FullRootDir}}.proton/proton PROTON_LOG=1 >/dev/null 2>&1; exit 0; }\"",
"UpdateSourceConditionSetting": "ProtonRelease",
"UpdateSourceConditionValue": "specificversion",
"SkipOnFailure": false
}
]