在运行需要用到 MonoMod/Harmony IL Hooking 功能(特别是 ILContext 和 ILCursor)的模组时,例如 Act4Heart 模组,游戏会在 ModMain.Initialize() 阶段崩溃,报错如下:
System.NotImplementedException: The method or operation is not implemented.
at MonoMod.Core.Platforms.PlatformTriple.CreateCurrentSystem()
at Act4Heart.ModMain.Initialize()
我已经和模组作者(Thrayonlosa)确认过,问题原因是这个启动器目前使用的是精简版(thin)Harmony,不包含 ILCursor/ILContext 支持。模组作者表示他不打算把自己的 IL Hooks 改写成 Harmony 的 Prefix/Postfix 补丁,因此这个问题需要在启动器这边解决,方法是改用 fat Harmony(包含 ILCursor 的完整版)。
请问未来的更新中是否可以改用 fat Harmony 而不是 thin Harmony?这样像 Act4Heart 这类依赖 IL Hooking 的模组就能在 Android 上正常运行了。
非常感谢你在这个启动器上的辛勤付出!
在运行需要用到 MonoMod/Harmony IL Hooking 功能(特别是 ILContext 和 ILCursor)的模组时,例如 Act4Heart 模组,游戏会在 ModMain.Initialize() 阶段崩溃,报错如下:
System.NotImplementedException: The method or operation is not implemented.
at MonoMod.Core.Platforms.PlatformTriple.CreateCurrentSystem()
at Act4Heart.ModMain.Initialize()
我已经和模组作者(Thrayonlosa)确认过,问题原因是这个启动器目前使用的是精简版(thin)Harmony,不包含 ILCursor/ILContext 支持。模组作者表示他不打算把自己的 IL Hooks 改写成 Harmony 的 Prefix/Postfix 补丁,因此这个问题需要在启动器这边解决,方法是改用 fat Harmony(包含 ILCursor 的完整版)。
请问未来的更新中是否可以改用 fat Harmony 而不是 thin Harmony?这样像 Act4Heart 这类依赖 IL Hooking 的模组就能在 Android 上正常运行了。
非常感谢你在这个启动器上的辛勤付出!