AMPTemplates/space-engineers-genericupdates.json
2023-06-21 15:17:14 +10:00

75 lines
2.8 KiB
JSON

[
{
"UpdateStageName":"SteamCMD Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"298740",
"UpdateSourceArgs":"244850",
"UpdateSourceVersion":"{{Stream}}",
"ForceDownloadPlatform":"Windows"
},
{
"UpdateStageName":"Create Config Directory",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}servers",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Base Config Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/space-engineers-dedicated.cfg",
"UpdateSourceTarget":"{{$FullBaseDir}}servers",
"UpdateSourceArgs":"SpaceEngineers-Dedicated.cfg",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Mods Workaround 1",
"UpdateSourcePlatform":"All",
"UpdateSource":"CopyFilePath",
"UpdateSourceData":"{{$FullBaseDir}}DedicatedServer64/steamclient64.dll",
"UpdateSourceArgs":"{{$FullBaseDir}}steamclient64.dll",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Mods Workaround 2",
"UpdateSourcePlatform":"All",
"UpdateSource":"CopyFilePath",
"UpdateSourceData":"{{$FullBaseDir}}DedicatedServer64/tier0_s64.dll",
"UpdateSourceArgs":"{{$FullBaseDir}}tier0_s64.dll",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Mods Workaround 3",
"UpdateSourcePlatform":"All",
"UpdateSource":"CopyFilePath",
"UpdateSourceData":"{{$FullBaseDir}}DedicatedServer64/vstdlib_s64.dll",
"UpdateSourceArgs":"{{$FullBaseDir}}vstdlib_s64.dll",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Initialise Wine",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'WINEPREFIX=\"{{$FullRootDir}}.wine\" WINEARCH=win64 WINEDEBUG=-all WINEDLLOVERRIDES=\"mscoree,mshtml=\" /usr/bin/wineboot --init --update'"
},
{
"UpdateStageName":"Winescript Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/space-engineers-genericwinescript.sh",
"UpdateSourceArgs":"winescript.sh",
"UpdateSourceTarget":"{{$FullInstanceDir}}",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Install Windows Components",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"./winescript.sh"
}
]