AMPTemplates/v-risingupdates.json

61 lines
2.5 KiB
JSON

[
{
"UpdateStageName":"SteamCMD Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"1829350",
"UpdateSourceArgs":"1604030",
"ForceDownloadPlatform":"Windows"
},
{
"UpdateStageName":"Data Directory Creation",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}save-data/Settings"
},
{
"UpdateStageName":"Game Config File Copy",
"UpdateSourcePlatform":"All",
"UpdateSource":"CopyFilePath",
"UpdateSourceData":"{{$FullBaseDir}}save-data/Settings/ServerHostSettings.json",
"UpdateSourceArgs":"{{$FullBaseDir}}VRisingServer_Data/StreamingAssets/Settings/ServerHostSettings.json",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Game Config File Copy",
"UpdateSourcePlatform":"All",
"UpdateSource":"CopyFilePath",
"UpdateSourceData":"{{$FullBaseDir}}save-data/Settings/ServerGameSettings.json",
"UpdateSourceArgs":"{{$FullBaseDir}}VRisingServer_Data/StreamingAssets/Settings/ServerGameSettings.json",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Download BepInEx From Thunderstore",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://v-rising.thunderstore.io/package/download/BepInEx/BepInExPack_V_Rising/1.668.5/",
"UpdateSourceArgs":"BepInEx-BepInExPack_V_Rising-1.668.5.zip",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true,
"UpdateSourceConditionSetting":"BepInExEnabled",
"UpdateSourceConditionValue":"true"
},
{
"UpdateStageName":"BepInEx Copy",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"cmd.exe",
"UpdateSourceArgs":"/C xcopy /E /Y /I v-rising\\1829350\\BepInExPack_V_Rising\\* v-rising\\1829350\\ && rmdir /Q /S v-rising\\1829350\\BepInExPack_V_Rising",
"UpdateSourceConditionSetting":"BepInExEnabled",
"UpdateSourceConditionValue":"true"
},
{
"UpdateStageName":"Initialise Wine",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'WINEPREFIX=\"{{$FullRootDir}}.wine\" WINEARCH=win64 /usr/bin/wineboot --init --update'"
}
]