Risk of Rain 2

Risk of Rain 2

157 ratings
Risk of Rain 2 Dedicated Server for Windows
By hopoo and 2 collaborators
How to Host, Join, and Configure a RoR2 Dedicated Server!
3
   
Award
Favorite
Favorited
Unfavorite
What is the Risk of Rain 2 Dedicated Server?
The Risk of Rain 2 Dedicated Server (or RoR2DS) is an application that can be used to host games of Risk of Rain 2 without actually needing to participate in them yourself. This is a separate multiplayer system from Quickplay.

While games hosted with RoR2DS are not yet directly discoverable from within Risk of Rain 2 itself, they can still be joined via console or the “View -> Servers” window of the Steam client.
Downloading and Installing RoR2DS
There are two ways to install RoR2DS: via the Steam Client, or via SteamCMD. If you want to run multiple concurrent instances, you’ll need to install them via SteamCMD.

Via the Steam Client
Using the Steam client is the easiest way to install RoR2DS. Through it, you can install a single instance of RoR2DS to your machine.

  1. Locate “Risk of Rain 2 Dedicated Server” in your Steam library. To do this, navigate to the “Library” tab of the Steam Client, enable the “TOOLS” category with the drop-down menu under the search bar.

  2. From here, scroll to and select “Risk of Rain 2 Dedicated Server” and you should now be able to install it on your machine.
















Note: In later steps, you will need to reach the folder where RoR2DS is installed. Please take note of this. You can do this by right clicking “Risk of Rain 2 Dedicated Server” and then clicking “Properties” to open the app properties window. In this window, click the “LOCAL FILES” tab and then the “BROWSE LOCAL FILES…” button to open the RoR2DS installation folder in a new Explorer window.

Via SteamCMD
SteamCMD is a powerful but more technical Steam tool that can be used to install any number of instances of RoR2DS to your machine. Skip this section if you decided to install RoR2DS via the Steam client in section above. You can get it here:
  1. Download SteamCMD from http://media.steampowered.com/installer/steamcmd.zip

  2. Create a new folder somewhere on your machine called “steamcmd”. Extract steamcmd.zip to the folder and run steamcmd.exe once to fully install and/or update it in that location.

  3. In the folder where you’ve extracted steamcmd.exe, create a new text file with the name “RoR2DSUpdate.bat”. Right click this file and open it in Notepad. In it, paste the following:

    SET installdir="AAAAA" steamcmd +login anonymous +force_install_dir %installdir% +app_update 1180760 validate +quit

  4. Replace “AAAAA” with whichever directory you would like to install the server to, for example “C:\Servers\RoR2DS\RoR2DS_01”. Keep the quotation marks intact.

  5. Save the file and close Notepad.

  6. Double click the file to run it (You may need to right click and Run as Administrator if it fails the first time). Steamcmd should begin downloading or updating RoR2DS in the specified folder. Running this batch file after RoR2DS is installed will update it instead.

    For documentation and further information about SteamCMD, visit https://developer.valvesoftware.com/wiki/SteamCMD
Configuring your own RoR2DS
Once you’ve installed RoR2DS with either of the above methods, you will want to configure it to your liking.

  1. Navigate to the folder where you installed RoR2DS. If you installed via the Steam client, use the steps outlined at the bottom of that section.
  2. From the RoR2DS installation folder, navigate to “Risk of Rain 2_Data” then “Config”.
  3. In this folder, create a new text file called “server.cfg” and open it in Notepad. You should select “Yes” if prompted to confirm changing the file extension.
  4. In this file, you can set the values of the configuration parameters for your server and save it when you’re done. Below is an example of a typical server.cfg file, which you can paste into your own server.cfg if you don’t intend to make any changes.
// // Risk of Rain 2 Dedicated Server custom configuration. // sv_maxplayers 4; // The maximum number of players. steam_server_heartbeat_enabled 1; // Set to 0 to not advertise to the master server. sv_hostname "My Risk of Rain 2 Dedicated Server"; // The name that will appear in the server browser. sv_port 27015; // The port that the server will bind to. You cannot have multiple server instances with overlapping ports. steam_server_query_port 27016; steam_server_steam_port 0; sv_password ""; // The password someone must provide to join this server. Leave empty if none. This is obviously not encrypted so don't use anything sensitive. echo "Loaded custom server configuration.";
The value of “sv_port” must be a port which is forwarded to this machine. Any other parameters which are left out will simply use the default values.
How to Connect to a Dedicated Server
A server browser UI is not yet available in the Risk of Rain 2 client. In the meantime, there are two ways to connect to a Dedicated Server of Risk of Rain 2: via the Steam Client Server Browser, and via the in-game console.
Via Steam Client Server Browser
  1. Servers can be viewed in the Steam client’s “View -> Servers” window.




















  2. From this window, you can use the “CHANGE FILTERS” button on the bottom left to set the chosen game to “Risk of Rain 2” for a full list of Risk of Rain 2 servers. Ensure “INTERNET” is your selected tab.
  3. Double clicking on a valid server will start Risk of Rain 2 if it’s not already running and will attempt to connect the game to the chosen server.









Via Risk of Rain 2 In-Game Developer Console
If you already know the IP, port, and password of a server, you can connect to it via the Risk of Rain 2 in-game developer console.

  1. Launch Risk of Rain 2 through Steam
  2. Open the in-game developer console by pressing (Ctrl + Alt + `) at any time.
  3. Join by submitting a console command in the following format, keeping all quotation marks intact:
    cl_password "XXXXX"; connect "YYYYY:ZZZZZ";

    Replace “XXXXX” with the password, or leave it as “” if there is no password. Replace “YYYYY” with the server’s IP address and “ZZZZZ” with the server’s port.
FAQ
Q: How will mods work with this?
A: While mods are not officially supported by Risk of Rain 2, we are aware of the amazing modding community that’s formed around the game. The answer to this question depends heavily on the nature of the mod. Some will require the mod to be installed on both the server and anyone connecting to it, and some will only require the mod to be installed on the server.

Q: How will achievements and unlockables work?
A: Achievements and unlockables should work as they normally do.

Q: Will there be servers hosted by Hopoo Games?
A: Maintaining officially hosted dedicated servers would be a separate project outside the scope of what we would like to focus our attention on, so it’s unlikely.

Q: Will this be integrated into the game?
A: Eventually we would like the option for the PC version of the game to join the community’s dedicated servers via in-game browser or with an option during quickplay. However, developing the UI and architecture of this functionality will require some time on top of what’s needed to develop the other game content in each of the content updates.

Q: Why can’t anyone connect to my server/why isn’t it visible in the server browser?
A: The game may not be able to communicate with the master server or may not be bound to a forwarded port. Make sure the port you’ve bound your server to during the configuration step is one that you’ve forwarded to the machine running the server.
109 Comments
widoketh May 29 @ 12:31am 
Necesito ayuda uno un control eagle warrior fgp2b y ao principio me funciono bien, ahora no se que hize pero ya no me funciona el control, al principio era el joystick derecho para controlar la cámara, ahora todo mo me funciona
tigul Feb 28 @ 7:35am 
I have an issue with setting up SteamCMD. Whenever I run the .bat file It always says to please use "Please use force_install_dir before logon!" does anyone know whats going on?
TorNaDoLaZer Jun 1, 2024 @ 9:09pm 
keep having issues with modded server. see the screenshot: imgur com/a/clI2Twu
MOOMAN May 20, 2024 @ 9:46pm 
Keep having this issue where the lobby has like 10+ slots used and says the game is locked. Cant change characters or do anything not even type to other players in lobby.
Marmarmar34 Apr 29, 2024 @ 6:52pm 
Bro, get that workshop support in.

only like 40% will be about huntress dumpy
mysty.ani Dec 8, 2023 @ 10:57am 
Part 3 (final)


-Now if u can ping but the server is not showing in the list then check your network adapters (in my case i have many adapters cuz i have vmware and vpns installed) disable all the adapters beside the one that is actually connecting u to the network (either ethernet for cable or the wifi one)

-if the server is still not showing and u did all the above (and absolutely sure that u can ping each other) then u r at the final thing to try, open the game and try to connect manually:
-- open console menu : ctrl + alt + `
-- type:
connect IPv4 of the hosting machine : port of the server (u can find this ip+port from ur own lan
tab in steam if u r the host and check it)
ex : connect 192.168.1.1:27015

step 5: enjoy the game that's how it worked for me.
mysty.ani Dec 8, 2023 @ 10:55am 
Part 2


step 3: make sure to launch the server moded (u need the config file that is well explained in the original guide)

step 4: after your server is up (you can know it's up by going to the : View > Game Servers > Lan tab) now you can try to find the server on ur friend's pc

step 5: If your friend couldn't find your server in the LAN tab , time to do some checking, first make sure you guys can ping to each other's IPv4 address (u can find it if u click properties on ur connected network and scroll down win10)

- to check if u guys can ping each other open cmd and type : ping IPv4 of your friend's pc (ex: ping 192.168.1.2) if couldn't ping then there's something wrong with ur connection to each other or the address is wrong (mostly it's firewall settings or private/public network stuff so u can try to disable firewall and check) if you still cant ping then i advice u to go check some other guide on how to make a connection between 2 pcs using hotspot or something.
mysty.ani Dec 8, 2023 @ 10:53am 
Sorry i have to split my comment because of the 1000 characters limit:

part 1

for anyone facing problems right now with game version 1.2.4.4 (or need a quick summery):
I managed to play it LAN and my goal was to play LAN so please mind that part since an online server will need stuff like portforwarding and some technical networking stuff that are not really game related.

ps: (I used thunderstore package manager and i hiiiighly recommend using it because it adds all dependencies and saves u hell of trying)

step 1: Download Mod fix for the server mismatching version (currently it's 1.2.4.1 and that throws an error when u try to connect) {LINK REMOVED}

step 2: Download R2API mod as well (it is requried but not listed as a dependency for some reason) {LINK REMOVED}
Doc McStuffins Oct 16, 2023 @ 6:18pm 
LINK A VIDEO TO THIS PLEASE I CANT FIGURE IT OUT TO SAVE MY LIFE.

I'll give 40k steam points to whoever can get this working for me
zelda Dec 20, 2022 @ 5:56pm 
>啊对对对 me too