A VRChat mod loader based on Illusion Plugin Architecture
Before install:
- Tupper (from VRChat Team) said that any modification of the game can lead to a ban, as with this mod
- You need to know that this mod has not been validated by the VRChat team, but they don't seems to care if someone use it
You can install it using the mod installer available on the VRCTools website
This file is loaded by the modified UnityEngine.dll assembly.
On start, it will first install/update the VRCTools mod (It's a required mod for having all VRCModLoader features), copy all files located in <VRChat_Install_Folder>/Mods
to a temporary folder, and then load all of them.
To create a mod, you will need to create a new C# library, and reference the VRCModLoader.dll, UnityEngine.dll and UnityEngine.CoreModule.dll files. (you may also need more other UnityEngine.*.dll files)
A basic mod main class is made like this:
using VRCModLoader;
//VRCModInfo(name, version, authorname [, downloadurl])
[VRCModInfo("TestMod", "1.0", "Slaynash")]
public class TestMod : VRCMod
{
// All the following methods are optional
// They also works like Unity's magic methods
void OnApplicationStart() { }
void OnApplicationQuit() { }
void OnLevelWasLoaded(int level) { }
void OnLevelWasInitialized(int level) { }
void OnUpdate() { }
void OnFixedUpdate() { }
void OnLateUpdate() { }
void OnGUI() { }
}
You can also reference VRCTools to use the VRCTools utils (VRCUiManagerUtils, ...) and/or use the VRCModNetwork
(Please ask Slaynash on the VRCTools discord to register your packets first or they will be refused by the server)
--no-vr
: Start the game without VR (game command)--verbose
: Enable the debug console--vrctools.noupdate
: Disable the VRCTools download/update on game start--vrctools.forceupdate
: Force the update of VRCTools on game start--nomodloader
: Disable the modloader
Unofficial VRChat API Documentation: http://vrchatapi.github.io/ ... More coming later ...
'I' stand for Hugo Flores (Slaynash).
I am not affiliated with VRChat. This content is for entertainment purpose only, and is provided "AS IS". I am not responsible of any legal prejudice against VRChat, the VRChat team, VRChat community or legals prejudice done with an edited version of this code.
You can join the VRCTools discord server if you need some help, want to know when an update is released, the status of the known bugs, the upcoming features, or simply talk with others !