soulsmods / ModEngine2

Runtime injection library for modding Souls games. WIP
MIT License
886 stars 160 forks source link

ModEngine2 hanging when included external DLL #232

Open AnbyKatz opened 4 months ago

AnbyKatz commented 4 months ago

When I include the seamless coop dll via (Note i've followed the method described in #229)

external_dlls = [
   "ersc.dll"
]

My ModEngine hangs at this point, I've included the debug printout below:

image

It works when i comment out the dll and loads the randomizer but not when included, any help would be greatly appreciated!

vswarte commented 4 months ago

Nothing in #229 will help you. Have you tested this with other DLL mods instead of SC?

AnbyKatz commented 4 months ago

Just using randomizer works i.e. if I make external_dlls = [] and just use:

mods = [{ enabled = true, name = "default", path = "randomizer" }]

I'm not sure if its a silent hang from ersc.dll since theres no logger feedback. I should note that launching seamless coop from its launcher works as well, it seems to be not loading with ModEngine2 though for whatever reason.

Update: I tried with this mod as well: https://www.nexusmods.com/eldenring/mods/376?tab=description by doing:

external_dlls = ["mods/DisableRuneLoss.dll"]

and that loads and works fine.