Origin is discontinued, needs an update to support new Ea App
https://www.ea.com/ea-app
Same problem here. Can't login as Origin is no longer supported.
same problem
Any solution?
I guess no one gives a shit.
I have the same issue, it won't accept my login credentials even though they're correct. Will this ever be fixed? EA/Origin is the only launcher that can't sync, so my library will never be complete..
I have the same issue, it won't accept my login credentials even though they're correct. Will this ever be fixed? EA/Origin is the only launcher that can't sync, so my library will never be complete..
Same problem I am having... There doesn't seem to be support for the extended security code authorization which the EA app uses.
I'm guessing whoever developed this extension is no longer supporting it. I just noticed the date this thread was started. it's been over 3/4 of a year and nothing. Sad!
If anyone knows how to use the new login url in plugin.py it might work. I dont have a clue how to do it probably.
https://signin.ea.com/p/juno/login?execution=e2004275468s1&initref=https%3A%2F%2Faccounts.ea.com%3A443%2Fconnect%2Fauth%3Finitref_replay%3Dfalse%26display%3DjunoWeb%252Flogin%26response_type%3Dcode%26redirect_uri%3Dhttps%253A%252F%252Fwww.ea.com%252Flogin_check%26locale%3Dde_DE%26client_id%3DEADOTCOM-WEB-SERVER
I tried it but I can't make it work either
I'd suggest either looking at how Playnite deals with the API, or use the method described here to pull the data out of the local database. Unfortunately, the latter method requires a bit of effort to decrypt it.
Here's my attempt at it : https://github.com/BellezaEmporium/galaxy-integration-ead
Here's my attempt at it : https://github.com/BellezaEmporium/galaxy-integration-ead
How do I try this out? What do I need to do?
Here's my attempt at it : https://github.com/BellezaEmporium/galaxy-integration-ead
How do I try this out? What do I need to do?
Simply copy and paste the code to Users\ your username \AppData\Local\GOG.com\Galaxy\plugins\installed\origin_7f53219b-4e2b-4591-9f4f-dfc5f4ba9eb0
Simply copy and paste the code to Users\ your username \AppData\Local\GOG.com\Galaxy\plugins\installed\origin_7f53219b-4e2b-4591-9f4f-dfc5f4ba9eb0
To be clear, you click the green Code button, choose Download ZIP, extract the file, then copy the contents of the "src" folder over an existing install of the Origin plugin, and overwrite the duplicate files.
Here's my attempt at it : https://github.com/BellezaEmporium/galaxy-integration-ead
So, it's a start. I'm able to login again now, but after [trying to start a game] the EA app opens I eventually get "You don't have access - This title may have been downloaded to your device by another user who owns the game. Log in to a different account or restart the app to try again" on two games I tried. I'm able to open them just fine from within the app.
If I'm not mistaken, ~all you have to do is switch from using the OfferId (Origin.OFR.50.xxxxxxx) to the SoftwareId (Origin.SFT.50.yyyyyyy) instead. [Note: not the same number.]~ EDIT: I was mistaken.
Here's my attempt at it : https://github.com/BellezaEmporium/galaxy-integration-ead
So, it's a start. I'm able to login again now, but after the EA app opens I eventually get "You don't have access - This title may have been downloaded to your device by another user who owns the game. Log in to a different account or restart the app to try again" on two games I tried. I'm able to open them just fine from within the app.
If I'm not mistaken, all you have to do is switch from using the OfferId (Origin.OFR.50.xxxxxxx) to the SoftwareId (Origin.SFT.50.yyyyyyy) instead. [Note: not the same number.]
I'll check the issue tomorrow. Will compare with the titles I have.
Simply copy and paste the code to Users\ your username \AppData\Local\GOG.com\Galaxy\plugins\installed\origin_7f53219b-4e2b-4591-9f4f-dfc5f4ba9eb0
To be clear, you click the green Code button, choose Download ZIP, extract the file, then copy the contents of the "src" folder over an existing install of the Origin plugin, and overwrite the duplicate files.
Here's my attempt at it : https://github.com/BellezaEmporium/galaxy-integration-ead
So, it's a start. I'm able to login again now, but after the EA app opens I eventually get "You don't have access - This title may have been downloaded to your device by another user who owns the game. Log in to a different account or restart the app to try again" on two games I tried. I'm able to open them just fine from within the app.
If I'm not mistaken, all you have to do is switch from using the OfferId (Origin.OFR.50.xxxxxxx) to the SoftwareId (Origin.SFT.50.yyyyyyy) instead. [Note: not the same number.]
Thank you, Nutzzz! I would not have figured that out on my own. I initially tried to copy the entire contents of the zip file into the directory. That obviously didn't work. :P
Simply copy and paste the code to Users\ your username \AppData\Local\GOG.com\Galaxy\plugins\installed\origin_7f53219b-4e2b-4591-9f4f-dfc5f4ba9eb0
To be clear, you click the green Code button, choose Download ZIP, extract the file, then copy the contents of the "src" folder over an existing install of the Origin plugin, and overwrite the duplicate files.
Here's my attempt at it : https://github.com/BellezaEmporium/galaxy-integration-ead
So, it's a start. I'm able to login again now, but after [trying to start a game] the EA app opens I eventually get "You don't have access - This title may have been downloaded to your device by another user who owns the game. Log in to a different account or restart the app to try again" on two games I tried. I'm able to open them just fine from within the app.
If I'm not mistaken, all you have to do is switch from using the OfferId (Origin.OFR.50.xxxxxxx) to the SoftwareId (Origin.SFT.50.yyyyyyy) instead. [Note: not the same number.]
On first checkings, it is still Origin.OFR.50.xxxxxxx being used. However, all the links that were used on the Origin variant are different on EA Desktop.
ex : PID, Entitlements etc etc... are now on https://service-aggregation-layer.juno.ea.com/graphql
What's useful with GraphQL is that you can ask for any data you want, as long as your JSON query is correct and can be manipulated by the server to retrieve results.
Some others however are different :
The main issue seems to be on the "origin2://" hyperlinks. While it uses the same kind of ID, I don't think it works. Let me do further checks.
EDIT : https://github.com/lutris/lutris/issues/4996 seems to point out the issue you're mentioning @Nutzzz. I'll have to ask directly through EA's new GraphQL in order to get the correct gameID for launching.
Ah, sorry, my assumption was incorrect.
(The launcher I was working on uses the .exe files instead of the protocol to launch a game, but when moving from the Origin platform to EA, I had to rely on the Software ID rather than the Offer ID to get the file location; I guessed incorrectly that a similar change in the protocol launch method was necessary.)
Ah, sorry, my assumption was incorrect.
(The launcher I was working on uses the .exe files instead of the protocol to launch a game, but when moving from the Origin platform to EA, I had to rely on the Software ID rather than the Offer ID to get the file location; I guessed incorrectly that a similar change in the protocol launch method was necessary.)
No worries.
It's a few more steps in order to make it work properly I suppose. One suggested using the EA API, though I only seem to find the correct IDs on the "_Installer" folders of already installed games. While it should normally be seen from the API, I can't seem to put my hand on it. The different GraphQL queries i've catched make no such mention.
The link you provided seems to indicate that you should get a ContentID in the .json response.
Maybe if I manually ask for it. Let me give it a try.
I only get Origin.OFR results. However, DLCs and other results seem to work. Had the "Battlefront upgrade DLC" pop up when I tried launching stuff.
Hm, I don't really have any experience with the API, but FWIW it looks like you can take the OFR and make a request to https://api1.origin.com/ecommerce2/public/Origin.OFR.50.xxxxxxx/en_US and from there you can pull out "publishing" > "publishingAttributes" > "contentId"
Hm, I don't really have any experience with the API, but FWIW it looks like you can take the OFR and make a request to https://api1.origin.com/ecommerce2/public/Origin.OFR.50.xxxxxxx/en_US and from there you can pull out "publishing" > "publishingAttributes" > "contentId"
Either financeId or projectNumber seems to be quite accurate.
or, indeed,
contentId | "194908"
In the case of https://api1.origin.com/ecommerce2/consolidatedentitlements/ <- projectId seems to be quite close.
OK, i've found it. I think i've corrected the main issue. ~~Now the main goal is to install the game when wanted, and launch it when it's available. Some are quite weird in the way it works (Battlefield games got like tons of IDs).~~
EDIT : OK, problem is solved :)
@Nutzzz please try latest commit and tell me if it works.
I've ditched the OfferID to ContentID. Tests were successful on my side. If it works for you then I suppose the plugin is fully fixed :)
I had the same as Nutzzz with the error saying that its not installed on my account. Now that I tried your latest commit it seems to work but all the games from ea have the "Install" button.
So the installed ones and the noninstalled ones.
But the ones that I have installed just start when I press the button. The ones that aren't installed give me an error in the ea app saying "Game not installed".
Do you know what's going on?
I must say I stumbled upon this issue too... though I do not know how that's triggered out in Galaxy. I'll need to do further checking, as it might be manifest-related or Windows stuff.
For the 2 EA games I had installed originally, Galaxy sees them as installed and now I can use Play to start them with no issues.
However, I'm given a login prompt every time Galaxy opens, and I get "Connection lost." I can try Connect again and it goes to Offline. If I Disconnect and re-Connect, I can login and it will stay connected until I close Galaxy, and then the behavior repeats on the next launch. Occasionally Galaxy and all the plugins go offline entirely; I hadn't seen this behavior until now, and it's not my Internet connection. I think it came back on it's own eventually one time, but if I close and re-open Galaxy during one of these I have to re-login to GOG.
I was able to install a few games using the arrow or the top button, however they didn't show as installed even after a Disconnect/Connect.
Still, good work so far!