• Products
  • Features
  • Mod Master
  • Download
  • Games
  • Blog
  • Pricing

MonoDetour

Autor:MonoDetourLast updated:03/11/2025 00:01:512.7M132KB

PEAK MonoDetour-1-lagofast mod master

Mod Introduction

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

MonoDetour

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

Note: MonoDetour is a library for developers. By itself, it does the following once it's loaded by the runtime:

  • 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.

Note: do not depend on this package directly. Instead depend on MonoDetour_BepInEx_5 or MonoDetour_BepInEx_6 as it will integrate MonoDetour's logger with BepInEx and in the future it'll provide HarmonyX interop support. On BepInEx 5, MonoDetour's colored logs won't show up without BepInEx logger integration.

Why Use MonoDetour?

MonoDetour is an alternative to HarmonyX or MonoMod.RuntimeDetour for detouring. It attempts to improve on the hooking experience as much as possible. See https://monodetour.github.io/getting-started/why-monodetour/ to learn more.

This tool is provided by the third party [bufftool]Attention icon

Download Mods For Free

Install LagoFast, start PEAK and play with the mods you love.