HarmonyX
HarmonyX copied to clipboard
Harmony built on top of MonoMod.RuntimeDetours with additional features
Apologies in advance for the vague description. This is a mind boggling issue for me (I'm new to this) and I'm not even sure if Harmony is at fault. I'm...
Assembly game = Assembly.Load(File.ReadAllBytes(Path.Combine(AssemblyFolder, "target.exe"))); -> get two target assembly assembly (one patched, one not) Assembly game = Assembly.LoadFile(Path.Combine(AssemblyFolder, "target.exe")); -> all ok, have one patched assembly How avoid this,...
Hello! I'm trying to switch the Bannerlord's ecosystem to HarmonyX, but there are mods that use publicly available `Mono.Cecil.*` types like `Mono.Cecil.ModuleDefinition` from the `0Harmony.dll` assembly. Could Type Forwarding be...
I am not a mod developer but more a debugger/murder mystery detective figuring out what 2 or more mods are fighting over the same resource. I kind of understand the...
MelonLoader v0.6.0 ALPHA Pre-Release Unity Version : 2021.3.6f1 Il2CppInterop Version : 1.4.3-ci.244 HarmonyX : 2.10.1 Hi All, With the recent changes to The Long Dark some methods are being called...
**Is your feature request related to a problem? Please describe.** Patching all method overloads is relatively verbose now, requiring manual patching which adds about 10 lines of code per patch....
Similarly to https://github.com/pardeike/Harmony/issues/408, this repository has the same problem: `__state` is shared between all methods with the same fullname, but from different assemblies. This was fixed in https://github.com/pardeike/Harmony/commit/b906d0409a5bb1315ae323de8ac4942e33217b06 by replacing...
Example code to be patched: ```csharp class C { IEnumerator FirstEnumerator() { yield return SecondEnumerator(); } static IEnumerator SecondEnumerator() { yield break; } } ``` Example plugin: ```csharp [BepInPlugin("test", "test",...
I've looked FAR AND WIDE and just can't figure out how people know what file directory stuff is stored in. (For example, Assets/Prefabs/Enemies/SisyphusPrime.prefab). Is there a specific program you have...
Using the latest release of HarmonyX, it keeps throwing not supported on this platform when using Transpilers. They work fine in BepInEx 6.0.0-pre.1. but the version of Harmony BepInEx uses...