MelonLoader

MelonLoader

242 Downloads

Add Mono Game Unstripping

HerpDerpinstine opened this issue ยท 1 comments

commented

Currently certain Mono based Games come with stripped DLLs in their Managed folder.
This can cause initialization failures with MelonLoader.

An automatic built-in preliminary pass of the Managed folder to unstrip these when a Mono game is detected would be ideal.
Similar to how there is already a preliminary pass to unstrip DLLs on Il2Cpp but for Mono Games.
Most likely needing to destroy the Mono Domain, replacing the files, then recreating the Mono Domain.

Temporary workaround is to manually replace the stripped files with unstripped ones.

commented

Would it be possible to have a hook when MelonLoader starts, but before it loads anything? In my specific case, always copying the DLL from the MelonLoader/Managed folder to the game's Managed folder would be an acceptable workaround