LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
https://discord.gg/2Wn3N2P
Apache License 2.0
2.5k stars 479 forks source link

[Enhancement]: Any game that uses a launcher causes dobby to be unseen #790

Open EthanJamesBarron opened 2 weeks ago

EthanJamesBarron commented 2 weeks ago

Describe the new feature or enhancement

Can we have some sort of toggle between MelonLoader using GetCurrentDirectory and just the game's folder? It's really irritating that I still have to be stuck on MelonLoader 0.5.7 because the game's launcher doesn't set the working directory

image

It also doesn't provide me with a way to add launch params so I cant take advantage of the basedir command line argument

SamboyCoding commented 2 weeks ago

Should be fixed in 0.6.6, released today, as dobby was moved to the Dependencies folder.

EthanJamesBarron commented 2 weeks ago

Should be fixed in 0.6.6, released today, as dobby was moved to the Dependencies folder.

Didn't work sadly since I tried upgrading to 0.6.6 before the issue. Looks like it's still searching in the wrong place for the dependency but I cant be sure because that's all it gives

HerpDerpinstine commented 1 week ago

Could try manually uninstalling MelonLoader then reinstall v0.6.6. The Proxy should be looking in the proper locations. https://github.com/LavaGang/MelonLoader/blob/master/MelonProxy/src/utils/files.rs#L26

slxdy commented 1 week ago

Was the base dir always the working directory by default?

SamboyCoding commented 1 week ago

OK yeah I see the issue, the managed side is (correctly) using the running executable's location as the default base dir, but the proxy uses the CWD.

EthanJamesBarron commented 1 week ago

OK yeah I see the issue, the managed side is (correctly) using the running executable's location as the default base dir, but the proxy uses the CWD.

Will this be getting changed anytime soon then?

HerpDerpinstine commented 4 days ago

OK yeah I see the issue, the managed side is (correctly) using the running executable's location as the default base dir, but the proxy uses the CWD.

Will this be getting changed anytime soon then?

This should hopefully be fixed in the latest alpha-development nightly of v0.6.7.