This is a quick guide to getting up and running for developing mods to be used with MelonLoader for VRChat. I am not in any way affilliated with either VRChat or Team Lava. Note that modifying your game client 'via any method for any reason' is a bannable offense in VRChat, but has historically not been punished consistently. Thank you to (Hector Panzer)² of the VRChat Modding Group Discord for providing me with this information as well as some of the screenshots.
Download and install Visual Studio. Make sure to have the .NET desktop development
workload selected, and the highlighted individual components
enabled.
Installation instructions taken from MelonLoader Wiki. Download and install the Microsoft Visual C++ 2015-2019 Redistributable. Download MelonLoader.zip and extract its contents into the VRChat game folder.
The game folder should now look like this:
Run VRChat once to let MelonLoader extract the information we will need for development. Wait for it to finish doing so, then close VRChat. In Visual Studio, create a new project using the settings depicted below.
Next, we need to add the references that MelonLoader generated before. They can be found at VRChat\MelonLoader\
, VRChat\MelonLoader\Managed\
, and VRChat\MelonLoader\Dependencies\SupportModules\
.
Now we are ready to go through MelonLoader Wiki's Quick Start guide!
After completing the quickstart guide, you are now in the position to work on whatever you desire! Use the Unity Scripting API reference to find out about the parts of the game you want to modify, and join us at the VRChat Modding Group Discord to talk to others in the VRChat modding community.