Closed rizzini closed 2 years ago
I haven't attempted to use the launcher via wine for a long time. I'll see if I can reproduce/fix the issue when I get some time.
The log shows that the Epic API rejected your exchange code. Was that the first time you attempted to use it or was it reused from another attempt? It does expire after a single use which makes it pretty inconvenient to play via Epic on linux.
There may be a way to launch via legendary which might make things easier. I'll try a few things with that too and let you know what I find.
Was that the first time you attempted to use it or was it reused from another attempt?
That rejection happens every time. I made a quick video yesterday showing how I'm getting the code, but I forgot to paste the link here: https://gofile.io/d/tmw0Iw.
I actually tried using Legendary a lot, but I end up with that stack overflow
Wine issue since legendary uses Wine to run the games. It basically runs the same command under the hood I use to run through Wine.
Today I got a different message. I won't paste the full msg here, because it's big.
Error msg: 2022-01-23 08:29:12.636 -03:00 [ERR] Couldn't login: Couldn't parse json - ExpectedStartOfValueNotFound, < LineNumber: 0 | BytePositionInLine: 0.
It seems the json parse error happens when the Epic exchange code is accepted. Now I'm pressing ESC on my browser when Epic Launcher tries to open the page to manage my account, so the code it's not being used anymore. You were right the first time. But now we have this json parse error.
FDev's API is returning an HTML response instead of JSON. Has your FDev account been linked with your Epic account? I have seen this happen occasionally at seemingly random times, but I'm not sure why would it happen all the time.
FDev's API is returning an HTML response instead of JSON. Has your FDev account been linked with your Epic account? I have seen this happen occasionally at seemingly random times, but I'm not sure why would it happen all the time.
You nailed, bro!! That HTML code was the registration page. I just linked the account and it's all good. Thank you, guys!!!
FYI, I fiddled around with legendary a bit and you can get an auth code much easier than via your browser.
legendary launch --dry-run 9c203b6ed35846e8a4a9ff1e314f6593 2> >(grep AUTH_PASSWORD) | sed -ne 's/^.*-AUTH_PASSWORD=\([a-z0-9]*\).*$/\1/p'
The next step would be to have min-ed-launcher accept input from STDIN and then you could just pipe in legendary's dry run output and not have to deal with manually copy/pasting it each time.
FYI, I fiddled around with legendary a bit and you can get an auth code much easier than via your browser.
legendary launch --dry-run 9c203b6ed35846e8a4a9ff1e314f6593 2> >(grep AUTH_PASSWORD) | sed -ne 's/^.*-AUTH_PASSWORD=\([a-z0-9]*\).*$/\1/p'
The next step would be to have min-ed-launcher accept input from STDIN and then you could just pipe in legendary's dry run output and not have to deal with manually copy/pasting it each time.
Wonderful. Worked like a charm.
I bought the game from Epic and I'm trying to run it on Linux. So I followed the Epic Setup part. I tried many wine versions, but all of them give me some msg about
stack overflow
, which, in my experience, is untroubleshootable:I don't know if it's my case, but I even tried Linux version:
min-ed-launcher.log:
What am I missing here?