AMPTemplates/quake3-arenaupdates.json
2023-08-13 16:21:19 +10:00

100 lines
4.2 KiB
JSON

[
{
"UpdateStageName":"Server Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://files.ioquake3.org/Windows.zip",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true
},
{
"UpdateStageName":"Server Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://files.ioquake3.org/Linux.zip",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true
},
{
"UpdateStageName":"Server Files Extract",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"cmd.exe",
"UpdateSourceArgs":"/C cd quake3-arena\\server\\ && tar -xf release-mingw64-x86_64.zip && rm release-mingw64-x86_64.zip"
},
{
"UpdateStageName":"Server Files Extract",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'cd ./quake3-arena/server/ && unzip -ao release-linux-x86_64.zip && rm -f release-linux-x86_64.zip && chmod +x ioq3ded.x86_64'"
},
{
"UpdateStageName":"SteamCMD Game Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"2200",
"UpdateSourceTarget":"{{$FullRootDir}}client",
"ForceDownloadPlatform":"Windows"
},
{
"UpdateStageName":"Client File Copy",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"cmd.exe",
"UpdateSourceArgs":"/C xcopy /E /Y /I quake3-arena\\client\\baseq3\\pak0.pk3 quake3-arena\\server\\baseq3\\ && rmdir /Q /S quake3-arena\\client\\"
},
{
"UpdateStageName":"Client File Copy",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c '\\cp -rf ./quake3-arena/client/baseq3/pak0.pk3 ./quake3-arena/server/baseq3/ && rm -rf ./quake3-arena/client/'"
},
{
"UpdateStageName":"Patch Files Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://files.ioquake3.org/quake3-latest-pk3s.zip",
"UpdateSourceTarget":"{{$FullRootDir}}",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true
},
{
"UpdateStageName":"Patch Files Copy",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"cmd.exe",
"UpdateSourceArgs":"/C xcopy /E /Y /I quake3-arena\\quake3-latest-pk3s\\baseq3\\*.pk3 quake3-arena\\server\\baseq3\\ && xcopy /E /Y /I quake3-arena\\quake3-latest-pk3s\\missionpack\\*.pk3 quake3-arena\\server\\missionpack\\ && rmdir /Q /S quake3-arena\\quake3-latest-pk3s\\"
},
{
"UpdateStageName":"Patch Files Copy",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c '\\cp -rf ./quake3-arena/quake3-latest-pk3s//baseq3/*.pk3 ./quake3-arena/server/baseq3/ && \\cp -rf ./quake3-arena/quake3-latest-pk3s/missionpack/*.pk3 ./quake3-arena/server/missionpack/ && rm -rf ./quake3-arena/quake3-latest-pk3s/'"
},
{
"UpdateStageName":"Base.cfg Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/quake3-arenabase.cfg",
"UpdateSourceArgs":"base.cfg",
"UpdateSourceTarget":"{{$FullBaseDir}}baseq3",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Server.cfg Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/quake3-arenaserver.cfg",
"UpdateSourceArgs":"server.cfg",
"UpdateSourceTarget":"{{$FullBaseDir}}baseq3",
"OverwriteExistingFiles":false
}
]