Skip to content

Harmony built on top of MonoMod.RuntimeDetours with additional features

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.Harmony
Notifications You must be signed in to change notification settings

BepInEx/HarmonyX

Folders and files

NameName
Last commit message
Last commit date
May 30, 2024
Jan 10, 2025
Jan 11, 2025
Jan 11, 2025
May 30, 2024
Feb 19, 2024
Aug 21, 2020
May 30, 2024
Oct 31, 2020
Jan 10, 2025
May 30, 2024
Sep 13, 2020
Sep 13, 2020
Oct 26, 2021
Sep 13, 2020
May 30, 2024
Feb 22, 2021
Feb 22, 2021
May 30, 2024
Sep 13, 2020
Sep 13, 2020
Sep 13, 2020
Nov 23, 2022

Repository files navigation

HarmonyX Logo

NuGet


A library for patching, replacing and decorating .NET and Mono methods during runtime. Now powered by MonoMod.RuntimeDetour!


About

HarmonyX is a fork of Harmony 2 that specializes on support for games and game modding frameworks.

HarmonyX is being developed primarily for use in game frameworks alongside MonoMod. The main target usage of HarmonyX is BepInEx and Unity.

Important aspects of HarmonyX include:

  • Unity support first: builds for .NET Framework 3.5 and .NET Standard 2.0
  • Patching feature parity with Harmony while reducing code duplication using MonoMod.RuntimeDetour
  • Fast release schedule: get periodic stable releases off NuGet or GitHub, or download the latest CI build with nightly.link
  • Full interop with MonoMod.RuntimeDetour: patches made with either can coexist
  • Easily extendable patching: built-in support for native method patching and possibility to extend to other patch targets (e.g. IL2CPP)
  • Fixes, changes and optimizations aimed at Unity modding

HarmonyX is powered by MonoMod and its runtime patching tools.

Documentation

Check the documentation out at HarmonyX wiki.