Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Allow customized game launch path #55

Open
KrisCris opened this issue May 29, 2022 · 4 comments
Open

[Feature Request] Allow customized game launch path #55

KrisCris opened this issue May 29, 2022 · 4 comments
Assignees

Comments

@KrisCris
Copy link

This would make it possible to directly launch custom launchers like the one for elden ring seamless coop mod. https://www.nexusmods.com/eldenring/mods/510?tab=description

@garyttierney garyttierney self-assigned this May 30, 2022
@garyttierney
Copy link
Collaborator

ModEngine needs to be in control of creating the game process for injection to work, so making this work is tricky. However, Seamless Coop only requires an external DLL to be loaded. You can do that by editing your modengine configuration like this:

[modengine]
external_dll_discovery = true
external_dlls = ["elden_ring_seamless_coop.dll"]

Leaving this open as a tracker for UX of using external launchers.

@KrisCris
Copy link
Author

KrisCris commented May 30, 2022

Nice! So where should I put the dll to, do I need to specify a path to it?

Update: I got the dll loaded by putting it in the root folder of modengine.
image

Btw, this might be off topic but... is there a way to tell if a mod is successfully loaded?

@garyttierney
Copy link
Collaborator

Btw, this might be off topic but... is there a way to tell if a mod is successfully loaded?

Kind of, but not in a supported way. The "external DLL discovery" option is mainly for modengine extensions but will happily load other mod DLLs. When a DLL is loaded that isn't an extension you'll see a message in modengine.log like this:

Unable to load extension my_dll.dll at base address 0xF.............

That means the DLL was loaded, but it wasn't a "valid" extension. I'll update this to log more about what's actually happening.

@jujoka
Copy link

jujoka commented Oct 15, 2022

Yeah man I need to get the mod launcher to kick off ER but with it's filename being "eurotrucker2.exe" +1 to this feature request, sounds like a good addition and could be useful to multiple users. Or just 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants