rfvgyhn / min-ed-launcher

Minimal Elite Dangerous Launcher
MIT License
252 stars 9 forks source link

Unhandled exception #66

Closed CmdrHope closed 1 year ago

CmdrHope commented 1 year ago

I am using the Epic Games Version of Elite Dangerous with Lutris, which works fine. However when I try to run it with min-ed-launcher it always fails with an unhandled exception in the logfile (attached).

min-ed-launcher.log

rfvgyhn commented 1 year ago

Am I correct in assuming lutris launches the epic game store, then you launch elite from there (or does it launch elite directly)? If so, I also assume you followed the Epic install steps, right? Does renaming MinEdLauncher.exe to EDLaunch.exe instead of MinEdLauncher.Bootstrapper.exe give a different result?

CmdrHope commented 1 year ago

When I launch Elite with Lutris, it actually launches the Epic Games Store within Wine (EpicGamesLauncher.exe with the arguments -opengl -SkipBuildPatchPrereq -com.epicgames.launcher://apps/9c203b6ed35846e8a4a9ff1e314f6593?action=launch) which then tries to launch Elite.

I tried both MinEdLauncher.Bootstrapper.exe and MinEdLauncher.exe renamed to EDLaunch.exe with the same error as result.

I tried using several different wine versions in Lutris but that didn't change the result.

I even tried to install the Windows version of Legendary into the existing wine prefix and configured Lutris to run legendary.exe launch 9c203b6ed35846e8a4a9ff1e314f6593 --override-exe MinEdLauncher.exe /autorun /edh /autoquit which fails with the exact same error in the logfile.

rfvgyhn commented 1 year ago

Do older versions have the same issue? Does using the linux version of legendary and min-ed-launcher have the same issue? Trying to figure out if lutris does something I haven't accounted for or if something else is going on.

CmdrHope commented 1 year ago

I tried the versions v0.7.1, v0.7.0, v0.6.0 and v0.5.4 and attached the resulting logfile. min-ed-launcher.log

v0.7.1 and v0.7.0 produce the same error. In v0.6.0 the error happens in line 58 instead of line 59. And v0.5.4 fails without even writing anything into the logfile.

Regarding the method you described here, I have no idea how to configure that in Lutris. And setting up games in Linux without Steam or Lutris is a topic I haven't looked into, yet, sorry.

rfvgyhn commented 1 year ago

This is fixed and will be included in the next release. You can use the CI build until then if you'd like. If you do, you'll want to use the new bootstrapper exe. You'll also probably want to change the font of the cmd window in wine to something like consolas.

CmdrHope commented 1 year ago

I tried the new build, the error is gone and the min-ed-launcher.log doesn't seem to have any complaints. However the game still doesn't start.

rfvgyhn commented 1 year ago

That log file looks like #59. Can we take the conversation there?