Update Empyrion - Custom Scenario and Default Backup Exclusions (#250)

* Update Empyrion - Custom Scenario and Default Backup Exclusions

This provides a second scenario input that allows the user to specify a custom scenario. The folder name must match the name put in the input.

This also includes a backup exclusion that only stores the Saves folder and the yaml config files.

* Fix stuff

* Update empyrion-galactic-survivalupdates.json
This commit is contained in:
IceOfWraith 2022-12-16 16:06:32 -06:00 committed by GitHub
parent 3fb98509c0
commit feaffecd75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 3 deletions

View File

@ -353,9 +353,9 @@
"EnumValues": {} "EnumValues": {}
}, },
{ {
"DisplayName": "Custom Scenario", "DisplayName": "Scenario",
"Category": "Emp - Game Settings", "Category": "Emp - Game Settings",
"Description": "Choose from premade scenarios.", "Description": "Choose from premade scenarios. If \"Custom Scenario\" is chosen, you must enter the name of the scenario in the Custom Scenario setting.",
"Keywords": "Custom,Scenario", "Keywords": "Custom,Scenario",
"FieldName": "CustomScenario", "FieldName": "CustomScenario",
"InputType": "enum", "InputType": "enum",
@ -376,9 +376,24 @@
"Invader vs Defender - Conflict of Cygnus": "Invader vs Defender - Conflict of Cygnus", "Invader vs Defender - Conflict of Cygnus": "Invader vs Defender - Conflict of Cygnus",
"Shadows of Starlight": "Shadows of Starlight", "Shadows of Starlight": "Shadows of Starlight",
"Stranded at Nemesis (Survival Challenge)": "Stranded at Nemesis (Survival Challenge)", "Stranded at Nemesis (Survival Challenge)": "Stranded at Nemesis (Survival Challenge)",
"Tutorial": "Tutorial" "Tutorial": "Tutorial",
"{{CustomScenarioText}}": "Custom Scenario"
} }
}, },
{
"DisplayName": "Custom Scenario",
"Category": "Emp - Game Settings",
"Description": "Enter a custom scenario. Must select \"Custom Scenario\" in the Scenario drop-down. This is the same as the folder name the scenario is stored under.",
"Keywords": "Custom,Scenario",
"FieldName": "CustomScenarioText",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "CustomScenarioText",
"IncludeInCommandLine": false,
"DefaultValue": "",
"Placeholder": "ReforgedEden",
"EnumValues": {}
},
{ {
"DisplayName": "Release Stream", "DisplayName": "Release Stream",
"Category": "SteamCMD and Updates", "Category": "SteamCMD and Updates",

View File

@ -13,5 +13,14 @@
"UpdateSource": "FetchURL", "UpdateSource": "FetchURL",
"UpdateSourceData": "https://github.com/CubeCoders/AMPTemplates/raw/main/empyriondedicated.yaml", "UpdateSourceData": "https://github.com/CubeCoders/AMPTemplates/raw/main/empyriondedicated.yaml",
"UpdateSourceTarget": "./530870/" "UpdateSourceTarget": "./530870/"
},
{
"UpdateStageName":"Backup Exclusions Download 1",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/exclusions/.backupExclusionsEmpyrion1",
"UpdateSourceArgs":".backupExclude",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"OverwriteExistingFiles":false
} }
] ]

View File

@ -0,0 +1,17 @@
_CommonRedist
Content
DedicatedServer
PlayfieldServer
steamapps
BuildNumber.txt
dedicated.yaml
Empyrion_Example.props
EmpyrionDedicated.cmd
EmpyrionDedicated_NoGraphics.cmd
EmpyrionLauncher.exe
steamclient.dll
steamclient64.dll
tier0_s.dll
tier0_s64.dll
vstdlib_s.dll
vstdlib_s64.dll