Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Build Modification Guide

stuartt_mcoded edited this page Jul 8, 2023 · 10 revisions

⚠️ This tutorial is unfinished.

⚠️ THIS IS AGAINST THE REC ROOM TERMS OF SERVICE - FOR EDUCATIONAL USE ONLY!

This guide only works for builds up to December 2018. Any builds made after then will not work with this method.

Gathering Tools

For this guide, you will need:

note: these are the tools I recommend, but you may exchange one for another that does the same job.

This is not a guide on how to install these tools

How to edit the Photon Servers

For now, read this reply for a partial tutorial

How to edit the RecNet Servers

For this tutorial, please download A C# Decompiler like dnSpy.

Step 1: Loading the Rec Room Assembly DLL

After extracting the contents of the ZIP you downloaded and launching the dnspy.exe file, you should see a window that looks somewhat like this. If there are files in the side bar, just ignore them.

image

Now, to load the Assembly-CSharp file, Go to the directory where your build of Rec Room is that you want to modify, Go into the Recroom_Release_data folder, and then locate the folder called Managed. When you open that folder you should see a file called Assembly-CSharp.dll at the top.

image

Drag and drop that file into dnSpy's Assembly Explorer tab.

If you window looks like this, you have completed Step 1!

image

Step 2: Modifying the server

Click on the Assembly-CSharp (0.0.0.0) file, and then on the purple Assembly-CSharp.dll that appears after that. The Asset Explorer should look like this.

image

note: some things might be different depending on your version, all that matters is that there is a yellow item called RecNet.

🛑 STOP!

Depending on what build you have, it may take a little more effort in order to modify the Rec Net API.

  • 2016 / Early 2017 build? Click Here!

  • March 2017 and onwards? Click Here!

For 2016 / Early 2017 builds (Jan, Feb.)

Click on the yellow RecNet item and look for a green item called Core.

image

After clicking it, your window should look like this...

image

Click into the big box with all of the code in it and press CTRL + F. You should see a box that appears like this in the top right,

image

For your first item, search for the term "REC_NET_HTTP_URL". Look for an item that looks like this...

image

note: the part that says "http://localhost:2016" will be different for you

Right click on the brown text and click "Edit IL Instructions..."

image

After clicking that, you should see a window that looks like this...

image

Replace https://recroom.againstgrav.com/ with http://localhost:2016/ for 2016 builds, http://localhost:2017/ for 2017 builds, or http://localhost:2018/ for 2018 builds.

Replace wss://recroom.againstgrav.com/ with ws://localhost:20161/.

> This part of the tutorial ends here. Click here to skip to how to save.

March 2017 onwards (until December 2018)

Click on the yellow RecNet item and...

image

Yikes! That's obfuscation!

To be completed sometime in the future...

Step 3: Saving your DLL

At the top of the window, Click File, and then click Save Module

image

Click OK on the window that appears and wait for it to finish saving the file. After that you can close dnSpy and launch the server and game!