Risk of Rain 2 Guide

A rough guide to a RoR2 dedicated server on Linux for Risk of Rain 2

A rough guide to a RoR2 dedicated server on Linux

Overview

A rough guide on how to host a dedicated RoR2 server on Linux.Note that this guide is not meant for people who are inexperienced in setting up (game)servers on Linux.

Notes and Disclaimers

Disclaimer

Note that this guide is at your own risk. Running a Windows server on Linux is obviously not supported. Please don’t bug the developers about this method of running a server.

Notes

I’ve tested this method of running a server on Ubuntu Server 18.04 LTS, Running on a Scaleway node with 2 vCores and 2 GB of RAM and no SWAP. Experiences may vary depending on your server’s specs.

Also create a new Linux user for this, you’re gonna run Wine, that should not run anywhere privileged.

Known issues

At the moment I’m unable to get the Steam master server to recognize the server. This is due that I cannot get a valid account connected to authenticate the server with. If you have any idea on how to do so, do let me know.

Pre-requirements

Requirements
  • SteamCMD
  • Wine
  • Xvfb

Below follows the apt command for Ubuntu 18.04, for other OSes you’ll need to find your equivalent

apt-get install xvfb wine-stable lib32gcc1

Setting up SteamCMD and the RoR server

Start by setting up SteamCMD from Valve’s own documentation.

Once you’ve installed SteamCMD, start it up and type in the following commands.

login anonymous force_install_dir <A PATH TO YOUR INSTALLATION> @sSteamCmdForcePlatformType windows app_update 1180760 exit

A copy of the RoR2 Dedicated server has now been installed to the path of your choosing, to configure your server please reference the official dedicated server guide.

Running the dedicated server

To run the dedicated server we will use a combination of Xvfb and Wine.

While in the root folder of the server we run the following command to launch the server.

xvfb-run wine ./”Risk of Rain 2.exe”

To keep the server running without an active SSH session, you can use something like screen, systemd or something else that’s your fancy.

SteamSolo.com