The game is not installed or downloaded via Epic, instead the Epic Games Launcher launches Origin to link your account to install the game. This can be done manually to still be able to install and download the game without the Epic Games Launcher.
Origin needs to be installed and working for this, please consult https://github.com/lutris/docs/blob/master/Origin.md for how to get it running on Linux via Lutris.
On Windows Origin just needs to be installed and ideally updated to the current version.
In order to link your account you need something called an "exchange code", this can be obtained via legendary by copying the parameters used to launch a game, which in turn can be easily obtained via --dry-run
.
Tip: If you do not have any games installed obtain Spotify from the Epic Games Store website, it is only around 80 Megabytes in size and quickly downloaded.
Note: The code is only valid for a few minutes, so if you have issues try again with a fresh one. It can also help to have Origin already running.
When launching a game with the --dry-run
option you will get a command line something like this:
wine Game.exe -AUTH_LOGIN=unused -AUTH_PASSWORD=000102030405060708090a0b0c0d0e0f -AUTH_TYPE=exchangecode -epicapp=AppName -epicenv=Prod -EpicPortal -epicusername=Name -epicuserid=0f0e0d0c0b0a09080706050403020100 -epiclocale=en
To link the account, copy the AUTH_PASSWORD
, epicusername
and epicuserid
into the following command, then run it from within a cmd (in your Origin WINE prefix):
start "" "link2ea://launchgame/MtMassive?AUTH_PASSWORD=<AUTH_PASSWORD>&AUTH_TYPE=exchangecode&epicusername=<epicusername>&epicuserid=<epicuserid>&epiclocale=en&theme=sws&platform=epic&Hotfix=go"
Based on the example above the final command should look something like this (with your credentials instead, obviously):
start "" "link2ea://launchgame/MtMassive?AUTH_PASSWORD=000102030405060708090a0b0c0d0e0f&AUTH_TYPE=exchangecode&epicusername=Name&epicuserid=0f0e0d0c0b0a09080706050403020100&epiclocale=en&theme=sws&platform=epic&Hotfix=go"
This should open a Window from Origin asking you to link your Origin and Epic accounts, afterwards the game should start installing via Origin (if the game is not installable, try restarting Origin).
Note: You may get a prompt asking you to register a product code, simply dismiss this as the game will already be registered to your account at that point and will be downloadable from your Origin library.
Attempting to launch the game via Origin directly will attempt to launch the Epic Launcher, instead you will have to use a similar command to the one above to run the game:
start "" "link2ea://launchgame/MtMassive?AUTH_PASSWORD=0&AUTH_TYPE=exchangecode&epicusername=&epicuserid=&epiclocale=en&theme=sws&platform=epic&Hotfix=go"
Note that only the password parameter here cannot be empty, but it does not need to be valid. Origin will launch the game afterwards.
I haven't tried this yet because I just saw your message but I read somewhere that you need to set up a virtual desktop in wine and the use alt + enter to go into windowed mode and use that to accept invites. You might accept them through the origin client but I've read so much about this stuff in the past 4 days that it's hard to even say anymore. I def remember virtual desktop; alt + enter to go to windowed.
I've been having problems with origin hanging my xserver so I understand why you don't want to use it.
I'll let you know when I get a chance to test it myself if you don't see this before then.