

Automatically generates MonoMod.RuntimeDetour.HookGen's MMHOOK files during the BepInEx preloader phase.
Manual Installation:
Move the BepInEx 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 HookGenPatcher 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.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 AutoHookGenPatcher.cfg, and setting the [Generate MMHOOK File for All Plugins] settings' 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 then publish your mod, make sure to add AutoHookGenPatcher as a dependency in the package you upload it.