Rising Storm/Red Orchestra 2 Multiplayer

Rising Storm/Red Orchestra 2 Multiplayer

Not enough ratings
How to make RO2 "Linux" server
By Deknaps Teg
A basic guide\outline for anyone looking to make a basic lan RO2 server on linux.
   
Award
Favorite
Favorited
Unfavorite
Intro
Hello, and welcome to my guide.

Basically this guide will walk you through the steps to get a RO2 server running on Linux.
Do note that i am using Linux Lite 6.6 and am in the process of learning, so if i make a mistake in commands or such, let me know and ill fix, with that being said that also means i cannot guarantee this guide will work with every Linux distro.

Now, to get the server running youll need:

  • Linux
  • Steam
  • Wine
  • Winbind


Updates and Steam
Before anything, make sure your linux distro is up to date by opening your terminal and running these:
  1. sudo apt-get update -y
  2. sudo apt-get upgrade -y
  3. sudo apt-get full-upgrade -y
  4. sudo apt-get autoclean -y

Next, if you need to, grab Steam and install it.
Once that's said and done:
  1. start steam if it isn't already
  2. head to the top left and click Steam
  3. Settings
  4. Compatibility
  5. make sure 'Steam Play for supported titles' and "Steam Play for all other titles" are enabled
  6. 'Run other titles with' set to Proton Experimental or a stable version.

Doing this should add Steam Linux Runtime and Proton to your steam download que, both im sure help with running windows stuff on linux. Let them finish before moving on.
Wine and Winbind
Next we're gonna need Wine. For those who don't know (and as far as i know), wine is a linux program that emulates windows file structure, basically allowing you to execute and run windows based programs inside of your linux environment.

Anyway, this is important due to RO2 not having an actual linux based server executable, instead it runs off of batch commands and requires windows file structure and code.

Back to the terminal, and enter:
sudo apt-get install wine32 -y

To check if wine installed correctly type:
wine --version

After that's done, we need Winbind. Like i said in the intro, i'm still learning so i'm not entirely sure on why Winbind is needed, but something in wine prevents the .bat executable we'll need from executing so in the terminal type:
sudo apt-get install winbind -y
Server Setup
Now onto setting the server up.

first and foremost, head back to steam, and download the Red Orchestra 2 dedicated server. (if the option to download the server is grey, go back to the 'Updates and Steam' section)

Don't start it... jk. You can start it but Linux will just throw an error at you and some mumbo-jumbo about missing dependencies. Instead:
  1. right click the RO2 Server in the steam library
  2. manage
  3. browse local files.

This will open the directory for the server and give us direct access to RO2Server.bat, and this will be used to set the perimeters and launch the server.
From here, right click RO2Server.bat and click edit, i use mousepad. You should see something like:
start.\Binaries\win32\rogame te-pavlovshouse?minplayers=0?maxplayers=0?adminpassword= -brewloading
after "-brewloading" add "-multihome=*Your local IP* -port=7777 -QueryPort=7779" and change the min and max players to 32 so its more like:
start.\Binaries\win32\rogame te-pavlovshouse?minplayers=32?maxplayers=32?adminpassword= *your pass* -brewloading -multihome=*your local IP* -port=7777 -QueryPort=7779

To figure out what your local IP would be open a separate terminal and type
hostname -I
which should list the local ip of your pc.(if your using a laptop or have a wireless card, it should show more than one ip, youll have to do some digging to figure out which one youll need.
Starting the Server
Finally, now to start the server, and hope it all works out.

re-open the Red Orchestra 2 directory, right click the background of the window and click 'Open Terminal Here', and in the terminal it opens (should have the file location in grey) type:
wine cmd or winecommand cmd
Both are functionally the same, in the sense that they both open yet another terminal window, in it youll type:
RO2Server.bat
It should then open a final terminal window running the server, where it will spit out a handful of warnings, something about a dll that's missing (don't worry about it), and once it says 'ip is within CIDR range, your golden.
Bonus + End
As a bonus, you can make a shortcut for the .bat and wine box so you wont have to go into the directory folder to start it.

  1. Right click background
  2. click 'Create Launcher'
  3. in 'name' add
    RO2Server
  4. in 'command' add
    wineconsole '*your RO2 install Directory*/RO2Server.bat'
  5. in 'working directory' add
    *your RO2 install directoy*
  6. in 'options' tick both 'Use Startup Notification' and 'Run in Terminal' on
One issue i have noticed is it will not pop up in the steam server browser, i'm pretty certain this is a port issue but i'm not 100% sure so if anyone knows, let me know.

Anyway, to connect to the server, while at the main menu of the game, go into the options and enable the developer console.From there type:
open *Your local IP*



And there you have it, one local RO2Server running on Linux.
As I said before, if I've got anything wrong or something needs updating, comment and let me know and ill fix it as soon as possible, thanks.




\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\