
Autor:HamuniiLast updated:26/10/2025 23:18:394.9M74KB
Automatically generates MonoMod.RuntimeDetour.HookGen's MMHOOK files during the preloader phase.
Manual Installation: Move the folder from the ZIP file to the BepInEx folder of the game.
This project is not officially linked with BepInEx nor with MonoMod.
This software is based off of Hook root patch by HarbingerOfMe, which is also licensed under MIT.
Managed directory of Lethal Company takes about 22.5 seconds instead of 40.0 seconds it would take with no multithreading, on my machine.Note: By default, AutoHookGenPatcher already generates an MMHOOK assembly for Assembly-CSharp.dll. So if you only need MMHOOK_Assembly-CSharp.dll, you don't need to do anything.
Using AutoHookGenPatcher is really simple, and the only thing you need to do is tell it to generate the MMHOOK files you want in the first place. This can be by editing the config file Automatic hook, and setting the [Generate MMHOOK File for All Plugins] setting's Enabled value to true:
[Generate MMHOOK File for All Plugins] ## If enabled, AutoHookGenPatcher will generate MMHOOK files for all plugins ## even if their MMHOOK files were not referenced by other plugins. ## Use this for getting the MMHOOK files you need for your plugin. # Setting type: Boolean # Default value: false Enabled = true ## Automatically disable the above setting after the MMHOOK files have been generated. # Setting type: Boolean # Default value: true Disable After Generating = true
When you publish your mod, make sure to add AutoHookGenPatcher as a dependency in the package you upload.
MMHOOK _. It will then check if any installed assemblies match the rest of the name, and will run MonoMod's HookGen on those assemblies if they exist.*This is only done if the date modified metadata of the assembly on disk is newer than previous known date in AutoHookGenPatcher's cache file. Referenced MMHOOK assemblies are also saved in the cache.

Download Mods For Free
Install LagoFast, start PEAK and play with the mods you love.