diff --git a/launch-dedicated.sh b/launch-dedicated.sh new file mode 100755 index 0000000000..2b92fb5ac2 --- /dev/null +++ b/launch-dedicated.sh @@ -0,0 +1,15 @@ +#!/bin/bash +Name="Dedicated-Server" +Mod="ra" +Dedicated="True" +DedicatedLoop="True" +ListenPort=1234 +ExternalPort=1234 +AdvertiseOnline="False" +Map="ba403f6bcb4cae934335b78be42f714992b3a71a" + +while true; do + mono --debug OpenRA.Game.exe Game.Mods=$Mod Server.Dedicated=$Dedicated Server.DedicatedLoop=$DedicatedLoop \ + Server.Name=$Name Server.ListenPort=$ListenPort Server.ExternalPort=$ExternalPort \ + Server.AdvertiseOnline=$AdvertiseOnline Server.Map=$Map +done \ No newline at end of file diff --git a/launch-game.sh b/launch-game.sh index 0dd3c1788e..ae207f3f9b 100755 --- a/launch-game.sh +++ b/launch-game.sh @@ -1,2 +1,2 @@ #!/bin/sh -exec mono OpenRA.Game.exe "$@" +exec mono OpenRA.Game.exe Server.Dedicated=False Server.DedicatedLoop=False "$@" \ No newline at end of file