AMPTemplates/sons-of-the-forestupdates.json
IceOfWraith 5971d1851a
Add Sons of the Forest (#406)
* Add Sons of the Forest

This adds Sons of the Forest. There are no known limitations, but one bug with the game server that if the ports aren't declared as command line args, it fails to start since the ports are not able to be read from the config file. This template caters to both so it should not be an issue.

* Update sons-of-the-forestupdates.json

* Update sons-of-the-forest.kvp

* Update sons-of-the-forestconfig.json

* Update sons-of-the-forest.kvp

* Update sons-of-the-forestconfig.json

* Update sons-of-the-forestconfig.json

* Update sons-of-the-forestconfig.json

* Update sons-of-the-forestconfig.json

* Update sons-of-the-forestconfig.json

* Update sons-of-the-forestconfig.json

* Update sons-of-the-forestconfig.json

---------

Co-authored-by: Greelan <53196309+Greelan@users.noreply.github.com>
2023-06-25 23:03:06 -05:00

41 lines
1.5 KiB
JSON

[
{
"UpdateStageName": "SteamCMD Download",
"UpdateSourcePlatform": "All",
"UpdateSource": "SteamCMD",
"UpdateSourceData": "2465200",
"UpdateSourceArgs": "1326470",
"UpdateSourceVersion": "",
"UpdateSourceTarget": "",
"UnzipUpdateSource": false,
"OverwriteExistingFiles": false,
"ForceDownloadPlatform": "Windows",
"UpdateSourceConditionSetting": null,
"UpdateSourceConditionValue": null,
"DeleteAfterExtract": true,
"OneShot": false
},
{
"UpdateStageName":"Create Config Directory",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}saves",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Base Config Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/sons-of-the-forestdedicatedserver.cfg",
"UpdateSourceTarget":"{{$FullBaseDir}}saves",
"UpdateSourceArgs":"dedicatedserver.cfg",
"OverwriteExistingFiles":false
},
{
"UpdateStageName":"Initialise Wine",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'WINEPREFIX=\"{{$FullRootDir}}.wine\" WINEARCH=win64 /usr/bin/wineboot --init --update'"
}
]