Cloudef / ModEngine2

Runtime injection library for modding Souls games. WIP
MIT License
34 stars 1 forks source link

Can't load mods alongside Seamless Co-op #24

Open krasmazov483 opened 2 weeks ago

krasmazov483 commented 2 weeks ago

I currently have Elden Ring setup to use er-patcher for ultrawide and to launch the Seamless Co-op exe, I also have this fork of ModEngine2 and Elden Mod Loader properly installed and working, there's only 1 other mod, Ultrawide UI Fixes inside the mod folder.

The issue is that to launch Seamless Co-op with er-patcher I need to edit modengine.toml and put ersc.dll inside the brackets of external_dlls, but doing so makes mods in the mod folder stop working.

Even if I launch the game normally, without Seamless Co-op, but keeping ersc.dll inside modengine.toml, the UI Fix mod I have in there also doesn't load, it only starts working when I remove ersc.dll from modengine.toml, but then Seamless Co-op doesn't launch at all.

Also, it needs to be exactly external_dlls = [ ersc.dll ], if I put ersc.dll between quotes, like external_dlls = [ "ersc.dll" ], it will not launch SeamlessCoop. I don't know why, but I thought I'd mention that too.

Lunatik00 commented 2 weeks ago

Thanks to your question I got it to launch from the seamlesscoop exe file, external_dlls = ["SeamlessCoop\ersc.dll"] with the launch config WINEDLLOVERRIDES="dinput8.dll=n,b" %command% works for me, I will try now to add another mod on top of the coop, apparently is important to use backward slash for the folder name, it didn't worked with forward slash

krasmazov483 commented 1 week ago

@Lunatik00 I'm glad it helped you launch the mod. Have you tested with other mods to confirm if this issue also happens to you?