rfvgyhn / min-ed-launcher

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

Launcher doesn't seem to work in wine #116

Closed Auratelience closed 8 months ago

Auratelience commented 8 months ago

Describe the bug/error Looking at the log it seems to be a JSON parsing error ("2023-12-09 11:02:37.898 +11:00 [ERR] Couldn't login: Couldn't parse json - ExpectedStartOfValueNotFound, < LineNumber: 0 | BytePositionInLine: 0.") followed by an html webpage of some sort.

This launcher was listed as a solution to running Elite Dangerous in Wine here however I can't seem to get it to work.

Thank you!

Debug log min-ed-launcher.log

rfvgyhn commented 8 months ago

This error shows up when steam and frontier aren't working together properly. The frontier api isn't able to verify your steam account has the game. I don't know if this is an issue on steam's or frontier's end. You can usually try again in a few minutes (though sometimes it can take a while unfortunately). It would be nice if frontier's api returned a consistent response format instead of json most of the time and html for this specific error.

Auratelience commented 8 months ago

Hmm. Maybe since the game hasn’t been opened normally. I will download a virtual machine since it launches well enough there, and then I will try again with the script in the virtual machine, then in wine. I’ll let you know how it goes.

thanks

rfvgyhn commented 8 months ago

Have you linked your steam account to your frontier account yet? That's something the normal launcher goes through that this one doesn't. You don't have to use the normal launcher though. You can do it through the web interface. https://www.frontierstore.net/frontier_partnerkeys/thirdparty/ or https://www.frontierstore.net/frontier_partnerkeys/

Auratelience commented 8 months ago

Aha! No I have not done that. Tried the web interface and it says that I have no eligible keys. If it helps I bought the game on steam rather than on Frontier. Would it be worth refunding and repurchasing on frontier? If not I will just install a vm and log in there, than continue as planned.

rfvgyhn commented 8 months ago

If you purchased from steam after april 2019, you'll want to use the third party link/section. There should be a button in there that allows you to sign in with steam. Is that what you tried?

Auratelience commented 8 months ago

Yes I signed into steam on the website on the previous link you gave however it said no available keys were found. Sorry for turning you into tech support by the way haha. Feel free to just ditch me if you want.

rfvgyhn commented 8 months ago

Nah, no worries.

I have read that it can take more than 12 hours for frontier to acknowledge the license, though I don't know how true that is.

One of the issues with this game is that authentication problems aren't that uncommon. If it doesn't work after some time, I'd try the normal launcher. If that has issues, you might have to contact frontier support.

Auratelience commented 8 months ago

Yep will do.!” Thanks so much.

Auratelience commented 8 months ago

It seemed just waiting seemed to fix the login issue. The game seems to work for the most part. Just some weird resolution things. Thank you!