Latest versions of MelonLoader are known to have issues with some games. Use version 0.5.4 until the issue has been fixed!
Decompiled source of KnuckleCurl v1.0.0
Mods/KnuckleCurl.dll
Decompiled 2 years agousing System.Diagnostics; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using HarmonyLib; using KnuckleCurl; using MelonLoader; using StressLevelZero.Rig; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("KnuckleCurl")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany(null)] [assembly: AssemblyProduct("KnuckleCurl")] [assembly: AssemblyCopyright("Created by EvroDev")] [assembly: AssemblyTrademark(null)] [assembly: ComVisible(false)] [assembly: AssemblyFileVersion("1.0.0")] [assembly: NeutralResourcesLanguage("en")] [assembly: MelonInfo(typeof(global::KnuckleCurl.KnuckleCurl), "KnuckleCurl", "1.0.0", "EvroDev", null)] [assembly: MelonGame(null, null)] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] namespace KnuckleCurl; public static class BuildInfo { public const string Name = "KnuckleCurl"; public const string Author = "EvroDev"; public const string Company = null; public const string Version = "1.0.0"; public const string DownloadLink = null; } public class KnuckleCurl : MelonMod { [HarmonyPatch(typeof(Controller), "OnUpdate")] public static class ControllerPatch { public static void Postfix(Controller __instance) { __instance._processedIndex = Mathf.Clamp(__instance._processedIndex, 0.1f, 1f); __instance._processedMiddle = Mathf.Clamp(__instance._processedMiddle, 0.1f, 1f); __instance._processedRing = Mathf.Clamp(__instance._processedRing, 0.1f, 1f); __instance._processedPinky = Mathf.Clamp(__instance._processedPinky, 0.1f, 1f); } } }