From 16e88393b9f5cf5e3d0e66b6fe57b9b5ca2f87a7 Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Tue, 30 Aug 2022 18:30:27 +1000 Subject: [PATCH] Add Windows support (#181) --- broke-protocol.kvp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/broke-protocol.kvp b/broke-protocol.kvp index b204eaa..7ad6a34 100644 --- a/broke-protocol.kvp +++ b/broke-protocol.kvp @@ -1,6 +1,6 @@ Meta.DisplayName=Broke Protocol Meta.Description=Broke Protocol Dedicated Server -Meta.OS=Linux +Meta.OS=Windows, Linux Meta.Arch=x86_64 Meta.Author=Greelan Meta.URL=https://brokeprotocol.com/ @@ -19,18 +19,18 @@ Meta.NoCommercialUsage=False App.DisplayName=Broke Protocol App.RootDir=./brokeprotocol/ App.BaseDirectory=./brokeprotocol/server/ -App.ExecutableWin= +App.ExecutableWin=server/BrokeProtocol.exe App.ExecutableLinux=server/bpgameserver.x86_64 App.WorkingDir=server App.LinuxCommandLineArgs= App.WindowsCommandLineArgs= -App.CommandLineArgs=-batchmode -logfile +App.CommandLineArgs=-batchmode -logfile - App.UseLinuxIOREDIR=False App.AppSettings={} App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullBaseDir}}linux64:%LD_LIBRARY_PATH%","SteamAppId":"696370"} App.CommandLineParameterFormat=-{0} "{1}" App.CommandLineParameterDelimiter= -App.ExitMethod=SIGTERM +App.ExitMethod=OS_CLOSE App.ExitTimeout=30 App.ExitString=stop App.ExitFile=app_exit.lck @@ -53,9 +53,9 @@ App.RCONConnectRetrySeconds=5 App.RCONHeartbeatMinutes=0 App.RCONHeartbeatCommand=ping App.TelnetLoginFormat={0} -App.UpdateSources=[{"UpdateStageName":"SteamCMD Component Download","UpdateSourcePlatform":"Linux","UpdateSource": "SteamCMD","UpdateSourceData":"1007","UpdateSourceTarget":"{{$FullBaseDir}}"},{"UpdateStageName":"Server Download","UpdateSourcePlatform":"Linux","UpdateSource":"FetchURL","UpdateSourceData":"https://brokeprotocol.com/wp-content/uploads/game.tar.gz","UpdateSourceTarget":"{{$FullBaseDir}}","UnzipUpdateSource":true,"OverwriteExistingFiles":true,"DeleteAfterExtract":true}] +App.UpdateSources=[{"UpdateStageName":"SteamCMD Server Download","UpdateSourcePlatform":"Windows","UpdateSource": "SteamCMD","UpdateSourceData":"696370","UpdateSourceTarget":"{{$FullBaseDir}}"},{"UpdateStageName":"SteamCMD Component Download","UpdateSourcePlatform":"Linux","UpdateSource": "SteamCMD","UpdateSourceData":"1007","UpdateSourceTarget":"{{$FullBaseDir}}"},{"UpdateStageName":"Server Download","UpdateSourcePlatform":"Linux","UpdateSource":"FetchURL","UpdateSourceData":"https://brokeprotocol.com/wp-content/uploads/game.tar.gz","UpdateSourceTarget":"{{$FullBaseDir}}","UnzipUpdateSource":true,"OverwriteExistingFiles":true,"DeleteAfterExtract":true}] App.Compatibility=None -App.SteamUpdateAnonymousLogin=True +App.SteamUpdateAnonymousLogin=False App.SteamForceLoginPrompt=False App.RapidStartup=False App.MonitorChildProcess=False