rfvgyhn / min-ed-launcher

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

[ERR] No selected project despite /autorun and /edo #29

Closed RowanSkie closed 3 years ago

RowanSkie commented 3 years ago

So, something I have noticed is that I have set my MinEdLauncher to run Elite: Dangerous Odyssey.

Log attached.

2021-06-04 18:28:53.277 +08:00 [INF] Elite Dangerous: Minimal Launcher - v0.5.0
2021-06-04 18:28:53.374 +08:00 [DBG] 
    Args: [|"D:\Games\SteamLibrary\steamapps\common\Elite Dangerous\EDLaunch.exe";
  "/Steam"; "/novr"; "/autorun"; "/autoquit"; "/EDO"|]
    OS: Win64

2021-06-04 18:28:53.391 +08:00 [DBG] Reading settings from 'C:\Users\xterm\AppData\Local\min-ed-launcher\settings.json'
2021-06-04 18:28:53.619 +08:00 [DBG] Settings: Ok { Platform = Steam
     DisplayMode = Pancake
     AutoRun = true
     AutoQuit = true
     WatchForCrashes = false
     ProductWhitelist = set ["edo"; "novr"]
     ForceLocal = true
     Proton = None
     CbLauncherDir = "D:\Games\SteamLibrary\steamapps\common\Elite Dangerous"
     PreferredLanguage = None
     ApiUri = https://api.zaonce.net/
     Restart = None
     AutoUpdate = true
     MaxConcurrentDownloads = 4
     ForceUpdate = set []
     Processes = []
     FilterOverrides = map [] }
2021-06-04 18:28:53.627 +08:00 [INF] Elite Runtime
    Platform: Steam
    CobraBay Version: 0.4.6709.0
    Products Dir: D:\Games\SteamLibrary\steamapps\common\Elite Dangerous\Products
2021-06-04 18:28:54.807 +08:00 [DBG] Got steam client
2021-06-04 18:28:54.807 +08:00 [DBG] Got steam pipe
2021-06-04 18:28:54.808 +08:00 [DBG] Got steam global user
2021-06-04 18:28:54.808 +08:00 [DBG] Got steam user
2021-06-04 18:28:54.808 +08:00 [DBG] Requesting steam auth ticket
2021-06-04 18:28:54.808 +08:00 [DBG] Got steam auth ticket
2021-06-04 18:28:54.811 +08:00 [DBG] Authenticating via Steam
2021-06-04 18:28:55.645 +08:00 [DBG] Successfully authenticated
2021-06-04 18:28:55.645 +08:00 [DBG] Disposing Steam resources
2021-06-04 18:28:55.645 +08:00 [DBG] Cancelling auth ticket
2021-06-04 18:28:55.645 +08:00 [DBG] closing steam
2021-06-04 18:28:55.650 +08:00 [INF] Logged in via Steam as: Mark Joshua Zuniga
2021-06-04 18:28:55.650 +08:00 [DBG] Getting authorized products
2021-06-04 18:28:57.537 +08:00 [DBG] Purchases Response:
{"purchases":[{"colour":"#f07b05","filter":"ed","directory":"elite-dangerous-64","serverargs":"","gameargs":"SeasonOne","sortkey":"06","product_name":"Elite Dangerous","product_sku":"FORC-FDEV-D-1010","template":"http://hosting.zaonce.net/launcher-steam/elite/en.html"},{"colour":"#f07b05","filter":"eda","directory":"elite-dangerous-64","serverargs":"","gameargs":"CQCArena","sortkey":"20","product_name":"Elite Dangerous: Arena","product_sku":"FORC-FDEV-D-1012","template":"http://hosting.zaonce.net/launcher-steam/elite-dangerous-arena/en.html"},{"colour":"#f07b05","filter":"ed","directory":"COMBAT_TUTORIAL_DEMO","serverargs":"","gameargs":"","sortkey":"30","product_name":"Single Player Combat Training","product_sku":"COMBAT_TUTORIAL_DEMO","template":"http://hosting.zaonce.net/launcher-steam/elite/en.html"},{"colour":"#0a8bd6","filter":"edh","directory":"elite-dangerous-64","serverargs":"","gameargs":"","sortkey":"05","product_name":"Elite Dangerous: Horizons","product_sku":"FORC-FDEV-D-1013","template":"http://hosting.zaonce.net/launcher-steam/elite-dangerous-horizons/en.html"},{"colour":"#0a8bd6","filter":"edh","directory":"elite-dangerous-odyssey-64","serverargs":"","gameargs":"","sortkey":"00","product_name":"Elite Dangerous: Odyssey","product_sku":"FORC-FDEV-DO-1000","template":"http://hosting.zaonce.net/launcher-steam/odyssey/en.html"}]}
2021-06-04 18:28:57.552 +08:00 [DBG] Authorized Products: Elite Dangerous: Odyssey,Elite Dangerous: Horizons,Elite Dangerous,Elite Dangerous: Arena,Single Player Combat Training
2021-06-04 18:28:57.552 +08:00 [INF] Checking for updates
2021-06-04 18:28:57.557 +08:00 [DBG] Disabling 'Single Player Combat Training'. Unable to find product at 'D:\Games\SteamLibrary\steamapps\common\Elite Dangerous\Products\COMBAT_TUTORIAL_DEMO\VersionInfo.txt'
2021-06-04 18:29:00.155 +08:00 [INF] Available Products:
    Elite Dangerous: Odyssey  FORC-FDEV-DO-1000 Up to Date
    Elite Dangerous: Horizons FORC-FDEV-D-1013  Up to Date
    Elite Dangerous           FORC-FDEV-D-1010  Up to Date
    Elite Dangerous: Arena    FORC-FDEV-D-1012  Up to Date
2021-06-04 18:29:00.163 +08:00 [ERR] No selected project
rfvgyhn commented 3 years ago

Looks like I may have broken something with the latest release. If you fix Odyssey's filter by changing your settings.json file to include

"filterOverrides": [
    { "sku": "FORC-FDEV-DO-1000", "filter": "edo" }
  ]

does it work? If not, you can revert to v0.4.0 which should still work.

rfvgyhn commented 3 years ago

It looks like this is actually because I fixed a bug. Before 0.5.0, I think it worked because the bug in the min-launcher cancelled out the bug in FDev's server response.

I'll update the default settings file to include the filter override. Users with an existing settings.json will need to manually add the Odyssey override or delete their settings file and let it be auto-created.

RowanSkie commented 3 years ago

Ah, that's good. I actually added the filter Overrides and it got me flying.