rfvgyhn / min-ed-launcher

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

Getting `Arg_NotImplementedException` when running through Steam #122

Closed lanzz closed 5 months ago

lanzz commented 5 months ago

Describe the bug/error image image image

I tried to follow the Steam setup instructions: copied MinEdLauncher.exe to my Elite Dangerous installation directory (D:\SteamLibrary\steamapps\common\Elite Dangerous) adjacent to EDLaunch.exe; updated launch properties in Steam to cmd /c "MinEdLauncher.exe %command% /autorun /autoquit /edh4; clicked "Play" in Steam, got a command prompt window with this output:

[22:43:12 INF] Elite Dangerous: Minimal Launcher - v0.9.0+cebb41d8
[22:43:12 INF] Elite Runtime
    Platform: Dev
    CobraBay Version: 1.7.6926.10
    Products Dir: D:\SteamLibrary\steamapps\common\Elite Dangerous\Products
[22:43:12 INF] Logging in
[22:43:13 ERR] Unhandled exception: System.NotImplementedException: Arg_NotImplementedException
   at MinEdLauncher.Api.authenticate@142.MoveNext()
   at MinEdLauncher.App.authenticate@20-9.MoveNext()
   at MinEdLauncher.App.login@35-4.MoveNext()
   at MinEdLauncher.App.run@337-4.MoveNext()
   at MinEdLauncher.App.run@314.MoveNext()
   at MinEdLauncher.Program.run@64-23.MoveNext()
   at MinEdLauncher.Program.run@63-22.MoveNext()
   at MinEdLauncher.Program.run@63-21.MoveNext()
   at MinEdLauncher.Program.run@71-24.MoveNext()
   at MinEdLauncher.Program.run@74-25.MoveNext()
   at MinEdLauncher.Program.main(String[])
Press any key to quit...

Debug log

2024-03-26 22:43:12.373 +00:00 [INF] Elite Dangerous: Minimal Launcher - v0.9.0+cebb41d8
2024-03-26 22:43:12.527 +00:00 [DBG] 
    Args: [|"D:\SteamLibrary\steamapps\common\Elite Dangerous\EDLaunch.exe /Steam /novr /autorun /autoquit /edh4"|]
    OS: Win64
    Env: 

2024-03-26 22:43:12.532 +00:00 [DBG] Reading settings from 'C:\Users\lanzz\AppData\Local\min-ed-launcher\settings.json'
2024-03-26 22:43:12.845 +00:00 [DBG] Settings: { Platform = Dev
  DisplayMode = Pancake
  AutoRun = false
  AutoQuit = false
  WatchForCrashes = false
  ProductWhitelist = seq []
  ForceLocal = false
  CompatTool = None
  CbLauncherDir = "D:\SteamLibrary\steamapps\common\Elite Dangerous\"
  PreferredLanguage = None
  ApiUri = https://api.zaonce.net/
  Restart = None
  AutoUpdate = true
  CheckForLauncherUpdates = true
  MaxConcurrentDownloads = 4
  ForceUpdate = set []
  Processes = []
  ShutdownProcesses = []
  FilterOverrides =
   seq [[FORC-FDEV-DO-1000, edo]; [FORC-FDEV-DO-38-IN-40, edh4]]
  AdditionalProducts = []
  DryRun = false
  ShutdownTimeout = 00:00:10
  CacheDir = "C:\Users\lanzz\AppData\Local\min-ed-launcher\cache"
  GameStartDelay = 00:00:00
  ShutdownDelay = 00:00:00 }
2024-03-26 22:43:12.872 +00:00 [INF] Elite Runtime
    Platform: Dev
    CobraBay Version: 1.7.6926.10
    Products Dir: D:\SteamLibrary\steamapps\common\Elite Dangerous\Products
2024-03-26 22:43:12.893 +00:00 [DBG] Getting machine id
2024-03-26 22:43:12.918 +00:00 [INF] Logging in
2024-03-26 22:43:12.920 +00:00 [DBG] Getting remote time
2024-03-26 22:43:13.516 +00:00 [DBG] Authenticating via Dev
2024-03-26 22:43:13.571 +00:00 [ERR] Unhandled exception: System.NotImplementedException: Arg_NotImplementedException
   at MinEdLauncher.Api.authenticate@142.MoveNext()
   at MinEdLauncher.App.authenticate@20-9.MoveNext()
   at MinEdLauncher.App.login@35-4.MoveNext()
   at MinEdLauncher.App.run@337-4.MoveNext()
   at MinEdLauncher.App.run@314.MoveNext()
   at MinEdLauncher.Program.run@64-23.MoveNext()
   at MinEdLauncher.Program.run@63-22.MoveNext()
   at MinEdLauncher.Program.run@63-21.MoveNext()
   at MinEdLauncher.Program.run@71-24.MoveNext()
   at MinEdLauncher.Program.run@74-25.MoveNext()
   at MinEdLauncher.Program.main(String[])

settings.json (stock, I haven't changed anything)

{
    "apiUri": "https://api.zaonce.net",
    "watchForCrashes": false,
    "language": null,
    "autoUpdate": true,
    "checkForLauncherUpdates": true,
    "maxConcurrentDownloads": 4,
    "forceUpdate": "",
    "processes": [],
    "shutdownProcesses": [],
    "filterOverrides": [
        { "sku": "FORC-FDEV-DO-1000", "filter": "edo" },
        { "sku": "FORC-FDEV-DO-38-IN-40", "filter": "edh4" }
    ],
    "additionalProducts": []
}
rfvgyhn commented 5 months ago

Looks like you're missing a quote at the end of your launch options.

cmd /c "MinEdLauncher.exe %command% /autorun /autoquit /edh4 should be cmd /c "MinEdLauncher.exe %command% /autorun /autoquit /edh4"

lanzz commented 5 months ago

This is so embarrassing... 😳