# Undead Universal Patch Non-EAC, IL2CPP build patcher for Rec Room (Dec 2018\*-*Apr 3 2020) **Currently only supports unobfuscated builds** Part two of two universal patches. The Mono patch is available at https://git.proxnet.dev/zombieb/undead-universal-patch-mono. Compatible with [BepInEx builds](https://builds.bepinex.dev/projects/bepinex_be) that can automatically load interop assemblies before plugins (builds 710 and later) **When submitting issues**, please submit your BepInEx log file with all log levels enabled. You can do this by setting `Logging.Disk.LogLevels` in `BepInEx.cfg` to `All`. ### Compiling Unlike the Mono patch, some assemblies must be referenced. Run BepInEx interop on your build and add the following assemblies to new folder `.\AssemblyReferences\` in this project directory: * `BepInEx/interop/Assembly-CSharp.dll` * `BepInEx/interop/Il2Cppmscorlib.dll` * `BepInEx/interop/Il2CppSystem.dll` * `BepInEx/interop/Photon3Unity3D.dll` * `BepInEx/interop/RecRoom.Datastructures.Runtime` * `BepInEx/interop/UnityEngine.CoreModule.dll` * `UniverseLib.BIE.IL2CPP.Interop.dll` [UniverseLib](https://github.com/yukieiji/UniverseLib); (can be obtained from UnityExplorer) ### Linux users Wine currently has problems generating the keypair used in Galvanic authentication. You can use a real Windows system to generate the keys for the first startup. If you're unsure how to start your build on linux: * Install Steam * Add Rec Room as a non-steam game * Set the compatibility mode to the latest stable version of proton * Use protontricks to add the doorstop DLL * Start Rec Room through Steam ### (AssetChanges) and (GameManager Patches) Properties of the object in the patch file will be used to set the properties of the respective object in the game's assembly. Each object type can be configured as follows: * `AGRoomRuntimeConfig.Room` or `AGRoomRuntimeConfig.RoomScene` or `AGRoomRuntimeConfig.Location` - Set the key to the replicationId of the object you want to change * Any object with a replicationId can be changed - Objects in the list have properties "Key" and "Value" * The key represents the name of the property to modify * The value will replace the current value in the assembly - Example: ```json {"76d98498-60a1-430c-ab76-b54a29b7a163": [ { "Key": "ReleaseStatus", "Value": 0 } ]} ``` will prevent you from loading into the dorm, because you can't go to editor-only rooms. You can set rooms with ReleaseStatus:0 to 2 if you'd like to go to those rooms. This isn't very useful for most people. You *should* set this when using `TeamConfiguration` below. * `GameConfigurationAsset` - List of changes to the game configurations - See the example for syntax * Ex. "Crescendo Of The Blood Moon" (CrescendoOfTheBloodMoon_Config, 20200306) - Example: ```json [ { "GameName": "Crescendo Of The Blood Moon", "TeamConfigurations": [ {"Size":6}, {"Size":6} ] }, { "GameName": "Paintball Capture The Flag", "TeamConfigurations": [ {"Size":1}, {"Size":1}, {"Size":1}, ] } ] ``` * Some games have issues with spawning players from other teams into regular spawnpoints. Use `GameFreeSpawns` to remedy this. * GameFreeSpawns - Sets every current playing spawnpoint to be available to any team - Allows more than 4 players to spawn in correctly in quests like Crescendo - List the game names (strings) to enable the patch for - Example: ```json ["Crescendo Of The Blood Moon", "Paintball Capture The Flag"] ```