Help: running a dedicated openra server on windows

Discussion about the game and its default mods.
Post Reply
testing-testing
Posts: 3
Joined: Wed Mar 12, 2014 7:31 am

Help: running a dedicated openra server on windows

Post by testing-testing »

Hi guys, I'm after some assistance. How do I run a dedicated OpenRA server on Windows?

I've got the game installed, but I can';t figure out how to run a server (that doesn't include me in the game) that is advertised online, left running 24/7 and anyone can join.

Can anybody walk me through the basic steps?

Matt
Posts: 1155
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

There is currently no Windows example script, but still https://github.com/OpenRA/OpenRA/wiki/Dedicated should give you an idea.

testing-testing
Posts: 3
Joined: Wed Mar 12, 2014 7:31 am

Post by testing-testing »

Hmmm... stuffing around trying to get that script working was what I was hoping to avoid.

Matt
Posts: 1155
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post by Matt »

Try right-clicking on OpenRA.Game.exe, create a shortcut and add the parameters via execution parameters.

Code: Select all

Game.Mod=ra Server.Dedicated=True Server.DedicatedLoop=True Server.Name="testing-testing's server" Server.ListenPort=1234 Server.ExternalPort=1234 Server.AdvertiseOnline=True
Those scripts are just to auto-restart when the server crash etc. You can probably create an equivalent in PowerShell or Batch scripts, but I guess that is optional.

testing-testing
Posts: 3
Joined: Wed Mar 12, 2014 7:31 am

Post by testing-testing »

Thanks, that's worked. The server has stayed up for ~12 hours now.

Post Reply