Skip to content

Instantly share code, notes, and snippets.

@SirJson
Created April 28, 2021 00:47
Show Gist options
  • Save SirJson/19782e5ada7e5bf794e648fdde08b563 to your computer and use it in GitHub Desktop.
Save SirJson/19782e5ada7e5bf794e648fdde08b563 to your computer and use it in GitHub Desktop.
Modified OpenRA dedicated server launch script for Windows releases
:: example launch script, see https://github.com/OpenRA/OpenRA/wiki/Dedicated for details
@echo on
set Name="Dedicated Server"
set Mod=ra
set ListenPort=1234
set AdvertiseOnline=True
set Password=""
set RecordReplays=False
set RequireAuthentication=False
set ProfileIDBlacklist=""
set ProfileIDWhitelist=""
set EnableSingleplayer=False
set EnableSyncReports=False
set EnableGeoIP=True
set EnableLintChecks=True
set ShareAnonymizedIPs=False
set SupportDir=""
:loop
OpenRA.Server.exe Engine.EngineDir="." Game.Mod=%Mod% Server.Name=%Name% Server.ListenPort=%ListenPort% Server.AdvertiseOnline=%AdvertiseOnline% Server.EnableSingleplayer=%EnableSingleplayer% Server.Password=%Password% Server.RecordReplays=%RecordReplays% Server.RequireAuthentication=%RequireAuthentication% Server.ProfileIDBlacklist=%ProfileIDBlacklist% Server.ProfileIDWhitelist=%ProfileIDWhitelist% Server.EnableSyncReports=%EnableSyncReports% Server.EnableGeoIP=%EnableGeoIP% Server.EnableLintChecks=%EnableLintChecks% Server.ShareAnonymizedIPs=%ShareAnonymizedIPs% Engine.SupportDir=%SupportDir%
goto loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment