MonoDetour BepInEx 5

v0.7.16·Updated 2026-09-09

HarmonyX interop & BepInEx 5 logger integration for MonoDetour. Initializes MonoDetour early as a side effect.

About this mod Author’s original text

MonoDetour BepInEx 5

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: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

MonoDetour-MonoDetour

File & checksum

Filename
MonoDetour_BepInEx_5-0.7.16.zip
File size
43.4 KiB
SHA-256
bbfd2eab63c8fb36e61258b98ab092738aaf426f80490ac4db017bdbc849283c
Stored at
2026-10-06 19:09