You are viewing a potentially older version of this package. View all versions.
MonoDetour-MonoDetour_BepInEx_5-0.6.3 icon

MonoDetour BepInEx 5

Integrates MonoDetour's logger with BepInEx and as a side effect initializes MonoDetour early. MonoDetour is an easy and convenient .NET detouring library, powered by MonoMod.RuntimeDetour.

Date uploaded a week ago
Version 0.6.3
Download link MonoDetour-MonoDetour_BepInEx_5-0.6.3.zip
Downloads 43612
Dependency string MonoDetour-MonoDetour_BepInEx_5-0.6.3

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
MonoDetour-MonoDetour-0.6.6 icon
MonoDetour-MonoDetour

Easy and convenient .NET detouring library, powered by MonoMod.RuntimeDetour.

Preferred version: 0.6.6

README

MonoDetour BepInEx 5

This plugin provides BepInEx logger integration for MonoDetour and as a side effect causes MonoDetour to initialize early.

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
  • MonoMod's ILLabels won't cause InvalidCastExceptions in some Mono.Cecil.Cil.Instruction methods, such as ToString.