Assetto Corsa Competizione: Linux tweaks (#336)

This commit is contained in:
Greelan 2023-04-16 14:51:47 +10:00 committed by GitHub
parent 6d3de36c16
commit 89f8caf334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,16 +13,16 @@ Meta.MinAMPVersion=2.4.0.2
Meta.SpecificDockerImage=cubecoders/ampbase:wine
Meta.DockerRequired=False
Meta.ContainerPolicy=SupportedOnWindows, RecommendedOnLinux
Meta.ContainerPolicyReason=The server requires Wine and Xvfb to run on Linux. Using a container avoids the need to install these dependencies on the host.
Meta.ContainerPolicyReason=The server requires Wine to run on Linux. Using a container avoids the need to install this dependency on the host.
Meta.Prerequsites=[]
Meta.ConfigReleaseState=NotSpecified
App.DisplayName=Assetto Corsa Competizione
App.RootDir=./assetto-corsa-comp/
App.BaseDirectory=./assetto-corsa-comp/1430110
App.ExecutableWin=1430110\server\accServer.exe
App.ExecutableLinux=/usr/bin/xvfb-run
App.ExecutableLinux=/usr/bin/wine
App.WorkingDir=1430110/server
App.LinuxCommandLineArgs=-a wine "./accServer.exe"
App.LinuxCommandLineArgs="./accServer.exe"
App.WindowsCommandLineArgs=
App.CommandLineArgs={{$PlatformArgs}} {{$FormattedArgs}}
App.AppSettings={}
@ -42,7 +42,7 @@ App.Ports=[{"Protocol":"UDP","Port":9231,"Ref":"UDPPort","Name":"UDP Port","Desc
App.PrimaryApplicationPortRef=UDPPort
App.UniversalSleepApplicationUDPPortRef=UDPPort
App.UniversalSleepSteamQueryPortRef=TCPPort
App.MaxUsers=85
App.MaxUsers=30
App.UseRandomAdminPassword=False
App.RemoteAdminPassword=Password123
App.AdminMethod=STDIO
@ -51,20 +51,20 @@ App.RCONConnectDelaySeconds=5
App.RCONConnectRetrySeconds=5
App.TelnetLoginFormat={0}
App.UpdateSources=[{"UpdateStageName":"SteamCMD Server Download","UpdateSourcePlatform":"All","UpdateSource":"SteamCMD","UpdateSourceData":"1430110","UpdateSourceArgs":"805550","ForceDownloadPlatform":"Windows"},{"UpdateStageName":"Initialise Wine","UpdateSourcePlatform":"Linux","UpdateSource":"Executable","UpdateSourceData":"/bin/bash","UpdateSourceArgs":"-c 'WINEPREFIX=\"{{$FullRootDir}}.wine\" WINEARCH=win64 /usr/bin/wineboot --init --update'"}]
App.Compatibility=LinuxBufferedConsole, WindowsBufferedConsole
App.Compatibility=WindowsBufferedConsole
App.SteamUpdateAnonymousLogin=False
App.SteamForceLoginPrompt=False
App.RapidStartup=False
App.MonitorChildProcess=True
App.MonitorChildProcessWaitMs=2000
App.MonitorChildProcessName=wine64
App.MonitorChildProcessName=accServer.exe
App.SupportsUniversalSleep=False
App.WakeupMode=Any
App.ApplicationReadyMode=RegexMatch
App.TemplateMatchRegex={{(\$?[\w]+)}}
Console.FilterMatchRegex=\[\?25l|\[\?25
Console.FilterMatchRegex=
Console.FilterMatchReplacement=
Console.ThrowawayMessageRegex=^((WARNING|ERROR): Shader.+|\d+:err:ole:.*|Could not find Wine Gecko.*)$
Console.ThrowawayMessageRegex=^((WARNING|ERROR): Shader.+|Could not find Wine Gecko.*|Server was running late for \d+ step\(s\), not enough CPU power)$
Console.AppReadyRegex=^Listening to TCP \d+ \| UDP \d+$
Console.UserJoinRegex=^New connection request: id (?<sessionid>.+?) (?<username>.+?) (?<userid>.+?) on car model \d+$
Console.UserLeaveRegex=^Client (?<sessionid>.+?) closed the connection \(\d+\)$