Details

Last Updated
5 years ago
First Uploaded
5 years ago
Downloads
107
Likes
0
Size
35KB
Dependency string
Harb-LighterPatcher-1.0.0
Dependants

LighterPatcher is an adaptation of @xiaoxiao921's LighterHook. It aims to reduce the weight of MonoMod RuntimeDetour's generated MMHook file as a BepInEx patcher.

Talk simple to me

MMHOOK_Assembly-CSharp.dll sometimes makes games slow. This patcher makes MMHOOK_Assembly-CSharp the smallest it can be.

Talk simpler to me

Thing make computer go zoom, maybe.

Installation:

Put the lighterhook.dll into BepInEx\Patchers folder.

Talk advanced to me

First, the patcher scans all dll files in the BepInEx\Plugins folder, and when it finds a mod with a reference to MMHOOK_Assembly-CSharp.dll, it scans all methods of that dll for calls to On.* and IL.*. Then it backs up the original MMHOOK_Assembly-CSharp.dll to MMHOOK_Assembly-CSharp.dll.backup. Finally, it sorts all types needed, and all types present. Then it does a modified mergesort to remove all types no longer needed.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.