FEZModding / HAT

Simple mod loader for FEZ
MIT License
16 stars 1 forks source link

Unable to use FEZ.Hooks.dll in a mod #16

Closed Krzyhau closed 8 months ago

Krzyhau commented 8 months ago

Presumably isolating FEZ.Hooks.dll into a separate file wasn't the greatest idea - the game is unable to load the library properly when any mod is requesting its usage.

Krzyhau commented 8 months ago

The only way I've managed to make it work is by including the hooks library within the MonoModded executable. However, I didn't manage to ILRepack both Hooks library and HAT together properly.

For now, I've gone back to the old solution, which is including FEZ.Hooks.mm.dll and let MonoMod do its job. The patching process is significantly slower with this method, but I'm not seeing any better solution right now. I should probably revisit this in the future.