-
Notifications
You must be signed in to change notification settings - Fork 6
Build Modification Guide
This guide only works for builds up to December 2018. Any builds made after then will not work with this method.
For this guide, you will need:
-
A Hex Editor (HxD) (for changing the photon servers)
-
C# Decompiler (dnSpy) (for changing the recnet api)
-
A Photon PUN Server (You can get one here for free for 25 CCUs)
-
A Photon Voice Server (You can get one here for free for 25 CCUs)
-
A Build of your choice (Wiki: How to download builds)
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
For now, read this reply for a partial tutorial
For this tutorial, please download A C# Decompiler like dnSpy.
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.
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.
Drag and drop that file into dnSpy's Assembly Explorer tab.
If you window looks like this, you have completed Step 1!
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.
note: some things might be different depending on your version, all that matters is that there is a yellow item called
RecNet
.
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!
Click on the yellow RecNet
item and look for a green item called Core
.
After clicking it, your window should look like this...
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,
For your first item, search for the term "REC_NET_HTTP_URL". Look for an item that looks like this...
note: the part that says "http://localhost:2016" will be different for you
Right click on the brown text and click "Edit IL Instructions..."
After clicking that, you should see a window that looks like this...
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.
Click on the yellow RecNet
item and...
Yikes! That's obfuscation!
To be completed sometime in the future...
At the top of the window, Click File, and then click Save Module
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!