Add Conan Exiles (draft)

This brings back the work that was started on https://github.com/CubeCoders/AMPTemplates/pull/3 previously. It has been migrated to use the new generic settings. It currently only works on Windows, but has a baseline started for Proton. Settings have not been added to the GUI yet.
This commit is contained in:
IceOfWraith 2022-01-29 13:12:18 -06:00
parent 9b51cb0b5a
commit 8bb6c59923
2 changed files with 69 additions and 0 deletions

41
conan-exiles.kvp Normal file
View File

@ -0,0 +1,41 @@
App.ApplicationPort1=7777
App.ApplicationPort2=7778
App.ApplicationPort3=27015
App.RemoteAdminPort=25575
App.ApplicationReadyMode=Immediate
App.BaseDirectory=./conan-exiles/443030/
App.LinuxCommandLineArgs=run ./443030/ConanSandbox/Binaries/Win64/ConanSandboxServer-Win64-Test.exe
App.CommandLineArgs={{$PlatformArgs}} -log -Port={{$ApplicationPort1}} -QueryPort={{$ApplicationPort3}} -RconEnabled=1 -RconPort={{$RemoteAdminPort}} -RCONPassword="{{$RemoteAdminPassword}}" {{$FormattedArgs}}
App.CommandLineParameterDelimiter=
App.CommandLineParameterFormat=-{0}="{1}"
App.DisplayName=Conan Exiles
App.EnvironmentVariables={"STEAM_COMPAT_DATA_PATH":"{{$FullRootDir}}","STEAM_COMPAT_CLIENT_INSTALL_PATH":"{{$FullRootDir}}","PROTON_LOG":"1","SteamAppId":"440900"}
App.EnvironmentVariables={"LD_LIBRARY_PATH": "./linux64:%LD_LIBRARY_PATH%", "SteamAppId": "440900"}
App.ExecutableLinux=1580130/proton
App.ExecutableWin=443030\ConanSandbox\Binaries\Win64\ConanSandboxServer-Win64-Test.exe
App.ExitMethod=OS_CLOSE
App.ExitString=stop
App.HasReadableConsole=true
App.HasWritableConsole=true
App.RapidStartup=false
App.UseRandomAdminPassword=True
App.RemoteAdminPort=25575
App.AdminMethod=SourceRCON
App.RootDir=./conan-exiles/
App.UpdateSource=Multi
App.UpdateSources=[{"UpdateStageName": "Proton Download", "UpdateSourcePlatform": "Linux", "UpdateSource": "SteamCMD", "UpdateSourceData": "1580130"}, {"UpdateStageName": "Conan Exiles Server Download", "UpdateSourcePlatform": "All", "UpdateSource": "SteamCMD", "ForceDownloadPlatform": "Windows", "UpdateSourceData": "443030"}]
App.WorkingDir=443030/ConanSandbox/
Console.AppReadyRegex=^LogGameMode:Display: Match State Changed from WaitingToStart to InProgress$
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
Console.UserChatRegex=^(?<username>.+?): (?<message>.+)$
Console.UserJoinRegex=^User (?<username>.+?) \((?<userid>-?d+)\) connected from \[::ffff:(?<endpoint>.+?)\]$
Console.UserLeaveRegex=^User (?<username>.+?) \((?<userid>-?d+)\) disconnected\. Reason: (.+?)$
Meta.Author=IceOfWraith, Greelan, eNcrypt
Meta.ConfigManifest=conan-exilesconfig.json
Meta.ConfigRoot=conan-exiles.kvp
Meta.Description=Conan Exiles Dedicated Server
Meta.DisplayImageSource=steam:440900
Meta.DisplayName=Conan Exiles
Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.ApplicationPort3}
Meta.OS=3
Meta.URL=https://store.steampowered.com/app/440900/Conan_Exiles/

28
conan-exilesconfig.json Normal file
View File

@ -0,0 +1,28 @@
[
{
"DisplayName": "Server Name",
"Category": "Server Settings",
"Description": "The Name of the server shown in the server browser",
"Keywords": "name",
"FieldName": "ServerName",
"InputType": "text",
"IsFlagArgument": false,
"ParamFieldName": "ServerName",
"IncludeInCommandLine": true,
"DefaultValue": "Conan Exiles Server - Powered by AMP",
"EnumValues": {}
},
{
"DisplayName": "Max Players",
"Category": "Server Settings",
"Description": "The maximum amount of players that can be on the server at once",
"Keywords": "players",
"FieldName": "$MaxUsers",
"InputType": "number",
"IsFlagArgument": false,
"ParamFieldName": "$MaxUsers",
"IncludeInCommandLine": true,
"DefaultValue": "100",
"EnumValues": {}
}
]