Haste
71 ratings
HarmonyX
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
576.115 KB
16 Jan @ 8:19pm
16 Jan @ 10:42pm
2 Change Notes ( view )

Subscribe to download
HarmonyX

Description
BepInEx's HarmonyX[github.com]

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[github.com] 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[github.com]: patches made with either can coexist
  • Easily extendable patching: built-in support for native method patching[github.com] and possibility to extend to other patch targets (e.g. IL2CPP)
  • Fixes, changes and optimizations aimed at Unity modding
  • HarmonyX is powered by MonoMod[github.com] and its runtime patching tools.

Documentation
Check the documentation out at HarmonyX wiki[github.com].



Additional Info

To reference this version of HarmonyX in your .csproj. Enter this in an <ItemGroup/> tag (and make sure your workshop item depends on this). Additionally, your project's TargetFramework needs to be 'net471'.
<PackageReference Include="HarmonyX" Version="2.10.2" ExcludeAssets="runtime"/>

Hosted in accordance with the LICENSE(s) of the below software. For further info, please review the LICENSE(s) mentioned below.

Contents:
  • HarmonyX v2.10.2:
    HarmonyX.LICENSE, 0Harmony.dll
  • MonoMod v22.3.23.4:
    MonoMod.LICENSE, MonoMod.RuntimeDetour.dll, MonoMod.Utils.dll