rfvgyhn / min-ed-launcher

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

Exec format error #61

Closed arne-fuchs closed 1 year ago

arne-fuchs commented 1 year ago

Hello, I am getting a "Exec format error" lately if I am trying to run Elite through the minimal ed launcher. The normal launcher does work and I tried several proton versions. Launch options: MANGOHUD=1 rxvt -e ./MinEdLauncher %command% /autoquit Here is the log:

2022-09-25 17:23:03.214 +02:00 [DBG] User selected Elite Dangerous: Odyssey - FORC-FDEV-DO-1000 - edo 2022-09-25 17:23:03.333 +02:00 [INF] Launching Elite Dangerous: Odyssey 2022-09-25 17:23:03.485 +02:00 [DBG] Process: /home/arne/.local/share/Steam/steamapps/common/Elite Dangerous/Products/elite-dangerous-odyssey-64/EliteDangerous64.exe "ServerToken d0f...0d51cf...20c1c5...7f25e595ebe8f24eb9126 84c...fdc4de...201d00...efaf0a...966394...578175...f87324...195a64...894e53...fc8dd8...6ffe86...6dc5fc...116c91...bc49e6...c17111...4a3fed...f18269...e06c0c...39d33e...6fc79a...3e622b...2c8134...517c82...41c0a3...8700f2...48cfc6...f88f9c...42e4d8...e34220...1b30b2...425949...2fcde8...a7ee5d...3d1502...629d38...3da1de...7ba0d6...e98841...5df5a8...659827...c84ee9...b40b70...681fff...71215d...f5372c6 " /language German\\DE /steam /novr 2022-09-25 17:23:03.524 +02:00 [ERR] Couldn't start selected product: System.ComponentModel.Win32Exception (8): ErrorStartingProcess, /home/arne/.local/share/Steam/steamapps/common/Elite Dangerous/Products/elite-dangerous-odyssey-64/EliteDangerous64.exe, /home/arne/.local/share/Steam/steamapps/common/Elite Dangerous/Products/elite-dangerous-odyssey-64, Exec format error at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo , String , String[] , String[] , String , Boolean , UInt32 , UInt32 , UInt32[] , Int32& , Int32& , Int32& , Boolean , Boolean ) at System.Diagnostics.Process.StartCore(ProcessStartInfo ) at System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start(ProcessStartInfo ) at MinEdLauncher.Product.run(FSharpOption1 proton, String args, RunnableProduct product)`

rfvgyhn commented 1 year ago

It's possible this is related to #60. Valve introduced a new process when launching via proton and it borked argument parsing. Can you try the latest CI build and let me know if it's still broken? If it is, can you post a full log entry?

arne-fuchs commented 1 year ago

Jup, thanks! That was it! For those, who are reading this later: You may need to do an chmod +x MinEdLauncher because the zip doesn't save permissions.