How to activate Origin/EA App games on Linux?

I have 2 games in my library that require the EA App to be used: Star Wars Squadrons and STAR WARS™ Battlefront™ II: Celebration Edition I installed the EA App using the Add Game feature but the games do not show up there. I'm trying things with the legendary activate command but nothing I try seems to make the games appear in the EA App From the documentation and the output of Legendary, I understand I need to run this:
/my/path/to/legendary activate --origin --wine /some/path/Wine-GE-Proton7-34/bin/wine --wine-prefix "/home/user/Games/Heroic/Prefixes/EA App/"
/my/path/to/legendary activate --origin --wine /some/path/Wine-GE-Proton7-34/bin/wine --wine-prefix "/home/user/Games/Heroic/Prefixes/EA App/"
with the specific values for Wine and prefix that were used to install the EA App in the prefix that has the EA App This is the output I get from legendary:
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Found 2 game(s) to redeem:
[cli] INFO: - STAR WARS:tm: Battlefront:tm: II: Celebration Edition
[cli] INFO: - Star Wars Squadrons
[cli] INFO: Note: Legendary does not know which of these have already been activated. Proceeding will result in it attempting to activate all of them.
[cli] INFO: If Origin asks you to install the title rather than to activate, it has already been activated, and the dialog can be dismissed.
[cli] INFO: On non-Windows systems the automatic portion of this process does not work yet, please use the launch commands listed below together with --wine/--wine-prefix to specify the wine binary to use and the prefix where Origin is installed.
[cli] INFO: 1. legendary launch --origin MtMassive
[cli] INFO: 2. legendary launch --origin bobcat
[Core] INFO: Trying to re-use existing login session...
[cli] INFO: Found 2 game(s) to redeem:
[cli] INFO: - STAR WARS:tm: Battlefront:tm: II: Celebration Edition
[cli] INFO: - Star Wars Squadrons
[cli] INFO: Note: Legendary does not know which of these have already been activated. Proceeding will result in it attempting to activate all of them.
[cli] INFO: If Origin asks you to install the title rather than to activate, it has already been activated, and the dialog can be dismissed.
[cli] INFO: On non-Windows systems the automatic portion of this process does not work yet, please use the launch commands listed below together with --wine/--wine-prefix to specify the wine binary to use and the prefix where Origin is installed.
[cli] INFO: 1. legendary launch --origin MtMassive
[cli] INFO: 2. legendary launch --origin bobcat
But then the games are not there when I check in the EA App. I tried with the EA App running and closed, same output, no games. I tried setting specific app names to activate only one, same.
9 Replies
ratty-blush
ratty-blush3y ago
You now have to use legendary launch --origin <AppName> to install the games. I haven't done this in a while, but I believe they should also show up in the app afterwards (although to launch them you still need to use Legendary)
conscious-sapphire
conscious-sapphireOP3y ago
thanks, that looks a bit better, still no game because I have an error, but now it looks like it's trying
wine: failed to open "link2ea://launchgame/MtMassive?AUTH_PASSWORD=....
wine: failed to open "link2ea://launchgame/MtMassive?AUTH_PASSWORD=....
I tried with both the EA App running and not running
ratty-blush
ratty-blush3y ago
Did you specify --wine / --wine-prefix when using that command as well? If you don't, it's just gonna try to launch it in your default prefix, where the EA App isn't installed (I assume)
conscious-sapphire
conscious-sapphireOP3y ago
yep /home/ariel/dev/oss/HeroicGamesLauncher/public/bin/linux/legendary launch MtMassive --origin --wine "/home/ariel/.config/heroic/tools/wine/Wine-GE-Proton7-34/bin/wine" --wine-prefix "/home/ariel/Games/Heroic/Prefixes/EA App/" with the wine and prefix from the EA App installation
ratty-blush
ratty-blush3y ago
Hmm I'll give it a try later. I don't think anyone has tried this with the EA App actually
conscious-sapphire
conscious-sapphireOP3y ago
I feel like the EA App is not adding the link2ea protocol maybe? thanks!
ratty-blush
ratty-blush3y ago
Yup that's my suspicion
conscious-sapphire
conscious-sapphireOP3y ago
I want to document that in our wiki after we get it working I'll try using wine staging, maybe wine-ge is preventing the protocol thingy using wine-staging seems do it, now the accounts linking dialog pops up! running it for any of the games links the accounts and all games show up so no need to run that for each game even though the first time would be with a game
conscious-sapphire
conscious-sapphireOP3y ago
Added this info here https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/wiki/How-to-install-EA-Games-on-Linux, I'm sure it can be improved, but it's better that nothing haha
GitHub
Home · Heroic-Games-Launcher/HeroicGamesLauncher Wiki
A Native GOG and Epic Games Launcher for Linux, Windows and Mac. - Home · Heroic-Games-Launcher/HeroicGamesLauncher Wiki

Did you find this page helpful?