forked from CubeCoders/AMPTemplates
-
Notifications
You must be signed in to change notification settings - Fork 14
/
askaupdates.json
58 lines (58 loc) · 2.8 KB
/
askaupdates.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
[
{
"UpdateStageName": "SteamCMD Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "SteamCMD",
"UpdateSourceData": "3246670",
"UpdateSourceArgs": "1898300",
"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": "Disable Prefix Sound",
"UpdateSourcePlatform": "Linux",
"UpdateSource": "Executable",
"UpdateSourceData": "/bin/bash",
"UpdateSourceArgs": "-c \"cd aska && wget -q -N https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && chmod +x winetricks; export WINEPREFIX=\\\"{{$FullRootDir}}.wine\\\"; export WINEARCH=win64; ./winetricks sound=disabled > winescript_log.txt 2>&1\"",
"SkipOnFailure": true
},
{
"UpdateStageName": "Saves Directory Creation",
"UpdateSourcePlatform": "Windows",
"UpdateSource": "Executable",
"UpdateSourceData": "cmd.exe",
"UpdateSourceArgs": "/C mkdir \"%UserProfile%\\AppData\\LocalLow\\Sand Sailor Studio\\Aska\\data\\server\" > NUL 2>&1 & rd /S /Q \"{{$FullBaseDir}}server\" > NUL 2>&1 & mklink /J \"{{$FullBaseDir}}server\" \"%UserProfile%\\AppData\\LocalLow\\Sand Sailor Studio\\Aska\\data\\server\" > 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/Sand Sailor Studio/Aska/data/server\\\" >/dev/null 2>&1; cd aska/3246670 && ln -sf \\\"../.wine/drive_c/users/amp/AppData/LocalLow/Sand Sailor Studio/Aska/data/server\\\" ./ >/dev/null 2>&1\"",
"SkipOnFailure": false
},
{
"UpdateStageName": "Create Readme File",
"UpdateSourcePlatform": "Windows",
"UpdateSource": "CreateFile",
"UpdateSourceArgs": "{{$FullBaseDir}}server/README.txt",
"UpdateSourceData": "WARNING: This directory will include the savegames of multiple ASKA servers\nrun on this system.\n\nTake care when managing files in this directory!",
"OverwriteExistingFiles": true
},
{
"UpdateStageName": "Create SteamAppID File",
"UpdateSourcePlatform": "All",
"UpdateSource": "CreateFile",
"UpdateSourceData": "1898300",
"UpdateSourceArgs": "{{$FullBaseDir}}steam_appid.txt",
"OverwriteExistingFiles": false
}
]