diff --git a/counter-strike2.kvp b/counter-strike2.kvp index 457d896b4..9b1a1511d 100644 --- a/counter-strike2.kvp +++ b/counter-strike2.kvp @@ -31,14 +31,14 @@ App.RootDir=./counter-strike2/ App.BaseDirectory=./counter-strike2/730/ App.SteamWorkshopDownloadLocation= App.ExecutableWin=730\game\bin\win64\cs2.exe -App.ExecutableLinux=730/game/bin/linuxsteamrt64/cs2 -App.WorkingDir=730 -App.LinuxCommandLineArgs= +App.ExecutableLinux=730/run +App.WorkingDir=730/game +App.LinuxCommandLineArgs="{{$FullBaseDir}}game/cs2.sh" --graphics-provider "" -- App.WindowsCommandLineArgs= App.CommandLineArgs={{$PlatformArgs}} -dedicated -usercon -serverlogging -nobreakpad -port {{$ServerPort}} -ip {{$ApplicationIPBinding}} -maxplayers {{$MaxUsers}} {{insecure}}{{CustomParameters}} {{CustomConVars}} +sv_logfile 1 {{gamemode}} +rcon_password "{{$RemoteAdminPassword}}" {{$FormattedArgs}} App.UseLinuxIOREDIR=False App.AppSettings={} -App.EnvironmentVariables={"LD_LIBRARY_PATH":"{{$FullRootDir}}linux64:{{$FullBaseDir}}game/bin/linuxsteamrt64:%LD_LIBRARY_PATH%","SteamAppId":"730"} +App.EnvironmentVariables={"SteamAppId":"730"} App.CommandLineParameterFormat=+{0} "{1}" App.CommandLineParameterDelimiter= App.ExitMethod=String @@ -78,7 +78,7 @@ App.RapidStartup=False App.MonitorChildProcess=False App.DumpFullChildProcessTree=False App.MonitorChildProcessWaitMs=100 -App.MonitorChildProcessName= +App.MonitorChildProcessName=^{{$FullBaseDir}}game/bin/linuxsteamrt64/cs2.*-port {{$ServerPort}}.*$ App.SupportsUniversalSleep=False App.WakeupMode=Any App.ApplicationReadyMode=RCONConnected diff --git a/counter-strike2updates.json b/counter-strike2updates.json index 1c9ba729b..569fa31cf 100644 --- a/counter-strike2updates.json +++ b/counter-strike2updates.json @@ -15,6 +15,22 @@ "UpdateSourceTarget": "{{$FullBaseDir}}game/bin/win64", "SkipOnFailure": false }, + { + "UpdateStageName": "Sniper Download", + "UpdateSourcePlatform": "Linux", + "UpdateSource": "SteamCMD", + "UpdateSourceData": "1628350", + "UpdateSourceTarget": "{{$FullBaseDir}}", + "SkipOnFailure": false + }, + { + "UpdateStageName": "Steamclient Copy", + "UpdateSourcePlatform": "Linux", + "UpdateSource": "Executable", + "UpdateSourceData": "/bin/bash", + "UpdateSourceArgs": "-c \"\\cp -f \\\"{{$FullRootDir}}linux64/steamclient.so\\\" \\\"{{$FullBaseDir}}game/bin/linuxsteamrt64/steamclient.so\\\"\"", + "SkipOnFailure": false + }, { "UpdateStageName": "Metamod Download", "UpdateSourcePlatform": "Linux",