derrod / legendary

Legendary - A free and open-source replacement for the Epic Games Launcher
https://legendary.gl/discord
GNU General Public License v3.0
4.65k stars 166 forks source link

Origin linking/launching is not supported (Battlefront 2 not in games list) #202

Closed legendofmiracles closed 3 years ago

legendofmiracles commented 3 years ago

So i just got star wars battlefront from the epic games store (the free version, on the store it's being displayed a owned) but when i run legendary list-games it isn't being shown.

Any ideas?

CommandMC commented 3 years ago

Same issue here. Strange

kleinermob commented 3 years ago

same

Dummerle commented 3 years ago

I have the same problem. It is not available in the official Launcher too, so I think it is a problem of Epic Games

legendofmiracles commented 3 years ago

@Dummerle my friend who uses the official one saw it

kleinermob commented 3 years ago

@Dummerle it shows up for me with the official Launcher with Wine, but I cant install origin

derrod commented 3 years ago

Star Wars Battlefront is not downloadable or installable via the Epic Games Store. It doesn't have an asset and is therefore not listed in legendary. If you try to install it it launches the "EALink" executable from Origin with the following parameters: "C:\Program Files (x86)\Origin\EALink.exe" "link2ea://launchgame/MtMassive?AUTH_PASSWORD=<exchange_code>&AUTH_TYPE=exchangecode&epicusername=<epic user name>&epicuserid=<epic user id>&epiclocale=en&theme=sws&platform=epic&Hotfix=go" "" "" "" "" "" "" "" "" So after installing Origin via Lutris for example you might be able to use the --dry-run command for any installed game, then use the output of that to fill out the blanks here.

No idea if that'll work or if you can even launch the game after that, I don't know how Origin/Epic have implemented this. Buying an EA game via Steam for example will require both Origin and Steam to be running. I don't have enough free space right now to test if Star Wars will run without the Epic Store.

CommandMC commented 3 years ago

Welp, I don't have a GPU at the time that supports running just about anything (waiting for 3070s to get back in stock, stuck on a GT 730 at the time), so seems like others will get to try this one

derrod commented 3 years ago

Here's a quick guide that should help you link the account and get the game running on Linux and Windows: https://gist.github.com/derrod/333fb5218002347435b7f31d532cbd01

legendofmiracles commented 3 years ago

You should add the gist to the wiki - under game workarounds.

derrod commented 3 years ago

Done.

legendofmiracles commented 3 years ago

Feel free too close the issue, if anyone will have issues starting the game, they can comment under the gist.

derrod commented 3 years ago

It's still a valid issue. And I do have some ideas for how to build a more reasonable way of doing account linking (at least for Origin, Ubisoft is a different can of worms).

legendofmiracles commented 3 years ago

Great to hear. To be honest, I'm struggeling a bit with setting it up.

tiagogrunge commented 3 years ago

I noticed that GOG has the ability to read the star wars battlefront 2 as an epic game. Anyone know if their code is open? image

legendofmiracles commented 3 years ago

Any update on the more "reasonable account linking"?

derrod commented 3 years ago

With 0.20.10 a new launch command option as well as an optional flag for list-games was introduced to allow for listing, activating, and launching Origin games, this will be improved further for the next Release, but I consider this issue closed for now.