MonoDetour BepInEx 6
HarmonyX interop & BepInEx 6 logger integration for MonoDetour. Initializes MonoDetour early as a side effect.
About this mod Author’s original text
MonoDetour BepInEx 6
This plugin provides:
- BepInEx logger integration for MonoDetour
- HarmonyX interop for MonoDetour
- Initializes MonoDetour early as a side effect
MonoDetour initializing early means that everyone after will get the following:
- ILHooks (includes HarmonyX transpilers) will get MonoDetour's CIL analysis on target method compilation when an InvalidProgramException is thrown
- If an ILHook manipulator method throws on legacy MonoMod.RuntimeDetour, it will be disabled so the target method can be ILHooked successfully later
- MonoMod's ILLabels won't cause InvalidCastExceptions in some Mono.Cecil.Cil.Instruction methods, such as ToString.
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.
Dependencies
Install these first, or the mod will not work:
MonoDetour-MonoDetour