-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux or Steam Deck or Proton support #3
Comments
I should have said earlier too: Thank you so much for the work on this. It's literally the only step forwards in this EA nightmare. For my situation, I'm using steam directly - so yes it is effectively using the link2ea:// shortcut after launching proton. It must be somewhat working, since proton does launch with the full library screen, but it does not launch the game and leaves no error. I've tried again with a blank prefix, this time ensuring I cancelled out of the EA Desktop installer. Using It continues the same - launching Origin to the library page (with games!), but not quite launching the game manually or automatically. (As an aside, I'm also trying to get the steam in game overlay to work - it seems the origin/EA one overrides (or covers?) it, and I don't seem to be able to disable it selectively.) |
( I mention the overlay because the steam in-game overlay is actually running in the background of the Origin program. You can hear it - it interacts, you can go through menus, etc. But you can't see it! ) |
Hum. I attach origin's Client_Log.txt, |
That's kinda weird, it does seem like there's one person on Twitter who seems to have the same issue, but on Windows. On the other hand I've seen someone in Reddit comments under one post report that launching Steam games works for them. I personally confirmed it only as far as it'd go into the login screen to associate the account, I should probably try to do the full login and game bootup...
you can try renaming the
I'm glad it's useful for someone <3 Honestly finding workaround against their updates is kinda fun lol
I also see this one: Seeing the main error though, for the time being, it'd be useful if you could enable WINE's verbose logging, to see if it could log us some details about the potential CreateProcess call it did, and why exactly might it fail, if it even did that at all... Also one more thing I'm thinking about: when did you actually install/repair your game within Steam? I'm thinking the culprit could also be |
To be precise, tell me if your game has its folder under |
There is
of which the .mfst file strings contain and the .dat file contains, in 16-bit text ( Which is a little sus, since that's not where my game actually is (From window's point of view, it's on Z:\ somewhere). Making a symbolic link (with |
|
Oh also show me the |
That should be fine, as this file is statically copied during game installation, only the .mfst is dynamically generated. Bigger issue is that I see
Yeah, I didn't spot the thing I was looking for in there. I did notice they inserted the authCode into the log though, so I took the liberty of removing your comment ;_; I'll try to look into issue #4 that I was able to reproduce and see if these two could be related. Also after a quick reversal it looks like the message |
Huh, with the EA App, deleting IGO64.dll seems to leave no overlay. With the Origin app, deleting igo64.dll allows me to access the steam overlay in Origin itself oddly. Still no launchy - it's passing through to steam though nothing happens. (from steam:)
|
Hm, in such case it looks like Steam injects its overlay into the first process that gets launched, which'd be Origin. I wonder if it might be possible to manually inject Steam overlay into the target game. I found this on very quick search: https://gist.github.com/Andon13/d439d5334d8173e5b959f383f1c49b03 Now I wonder if perhaps compiling the above and replacing it as IGO DLL of appropriate architecture could make Origin inject a Steam overlay loader into the actual game (provided it'd still need some DllMain func to actually call the code, and a way to detect current Steam app ID, which might be set in the env variable, but not sure of that) |
@Fractal147 check if it's any better in this version: https://github.com/p0358/Fuck_off_EA_App/actions/runs/5366002510 |
Well! That's different - it launches Origin, and Origin ...err... kills itself. So that is progress in the right direction. |
It looks like it exits due to this:
And apparently EASteamProxy.exe exits with code -2 if the call to Possible causes are listed here: But you may try to follow these steps to enable debug logging in Steam: https://partner.steamgames.com/doc/sdk/api/debugging#steamworks_api_logging which is I guess to run Steam with |
Hm, I've just installed the free-to-play The Sims 4 from Steam to test it out on Windows, and it seems to work there just fine... So that suggests it's now some Steam/Proton issue rather than of Origin or this patch |
Well...either through my incompetence or something else, I can't get log_ipc verbose to record anything (trying either version.dll too). There's a filter parameter but I get nil: Switching back to the previous |
Yeah in the old |
I initially thought the error was a CDN mishap, but it's something I can currently reproduce trying to install NFS Most Wanted--whether it's found files that already exist or downloading it fresh, it's the same error It's the only game I've installed that has this issue so far, though. BF4, V, SWBF2 (activated through EGS), Jedi Fallen Order, and Titanfall 2 are detected, run, and connect properly. So wonder what's with the exceptions... |
I tested this patch with Lutris and can confirm that it's working with DLL override (Configure->Runner options->DLL overrides: Key |
Same here, as far as I can tell everything works perfectly with the DLL override, the issues with getting origin to successfully install games after getting the failed notifications was resolved by nuking the origin prefix and starting over. Try not to change wine versions too much, that's what started mine getting the errors. |
Including the issues I noted in my earlier comment? Wine version? Method? I know for a fact my prefix wasn't having Wine versions switched at all since it was made and it has the issue with NFS when using Wine-GE at least. |
Progress regarding use direct from steam: I think there is (as is typical) a problem with the Visual C++ redistributables: My initial launch with steam is creating a blank prefix, fine, and running the EA Desktop installer, fine if cancelled... but it's also installing the VC redist for EA Desktop. Origin maybe needs an older version...that won't be installed if there's a newer version already there. So...either you can purge out the old install, or make a proper blank prefix to install origin in, and make sure to install the correct vcredist for origin... Of course in my specific case, Mass Effect Legendary has only ever "just worked" with EA desktop, since Proton-GE-6.8-2 in 2021, after EA desktop started replacing Origin. So will do some digging! |
Off topic, but if you don't mind some advice, ME:LE has no network features that benefit the player outside of achievements (telemetry is the only other one 🤮), I'd recommend patching the game with tools out there on the internet to run without launchers other than steam, then redefine the "link2ea://" protocol in the wine registry to just run the game executable. Makes for a more pleasant experience |
Yep, that did it!
|
Marking as resolved - at least v2 works, and probably has always worked in Proton. Hopefully this helps others! It works on Lutris etc, because they don't even try to run anything extra (like Thank you @p0358 , you are the best. I never thought I would want Origin, but it turns out to be the lesser of two evils. (and yes @Doc-4... I'm sure another route avoiding either evil would work even more smoothly!). Origin's link to Steam ( |
If you're using a GE-Proton6 release, and trying to get Mass Effect Legendary to work, you must use winecfg, since it overrides WINEDLLOVERRIDES when you launch the game : I've had success by editing that file (in Proton-6.10-GE-1) to add on the It also seems to get into difficulty installing the dxredist as part of steam's installscript - either kill all wine processes, or reboot after the first launch to make the prefix. |
Yeah I know about the other exe but I want my other games to work offline too, I would think about sailing the high seas but it’s honestly just as much work for some of the games |
Eh? There's a misunderstanding, nothing I said should imply the other exe won't work offline |
No I know that Jedi does work offline with that I just also want to get my other origin games working offline as some like burnout paradise remastered don’t have that kind of exe |
So bit of an update, offline mode works perfect actually for burnout paradise remastered using the copy reg key method and setting the compat path ofc. I'll try some more but I'll probably use the secondary exe for Jedi Fallen Order but this knowledge will help out my other games. |
Glad it started working for you. Yeah, unfortunately that other game can't be played by any other method since it's stuck in jail with shitty software. Can't win 'em all. |
I can make a guide if you want |
A noticeable problem when using the shipping exe for Jedi fallen order is the option for hdr does not exist weirdly enough. |
I recall it showing up for me. Need to have HDR enabled on windows itself for it to show up. |
Really, when using the secondary exe? Also using the steam deck oled so hdr
is enabled by default on the hardware and it shows up when I use the normal
exe
…On Sat, Dec 2, 2023 at 1:51 PM Doc ***@***.***> wrote:
I recall it showing up for me. Need to have HDR enabled on windows itself
for it to show up.
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT5KXZK6FYV7ZM37IJEZVUTYHOBFJAVCNFSM6AAAAAAZSN2WUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGIZTSMRUHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Odd that it works for that one on steam deck but not this one. Since HDR implementations aren't standardized and vary wildly, a lot of games that work for that on windows don't show options without tweaks on linux. There's an open source tool out there you can use to make the normal exe like the other one, where there's no launcher needed. Alternatively you can try further proton launch arguments to make the game think HDR support is present |
I mean the hdr support is present though, I also tried adding PROTON_ENABLE_AMD_AGS=1 %command% to my launch parameters as I heard that can help and I even added a registry to the prefix reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\VideoSettings” /v EnableHDRForPlayback /t REG_DWORD /d 1. I know its a problem with this exe in comparisson to the other one, I mean I'll probably just deal with not having it it just kinda sucks. What tool are you talking about? Bc that might be the only other thing |
Look up a guy called anadius, you'll eventually find his work. Unfortunately will not work with games using denuvo. Also I ran the second executable on windows without origin and with HDR enabled and the HDR slider shows up, so it definitely can work |
yeah i believe you I just think something about the exe or the way it works with proton doesn't let it work for linux for some reason even though the other exe does work |
Hi everyone, so I'm following this from @Fractal147 and I've managed to get both origin and fuck_off_ea_app installer to successfully install and work. However, whenever I launch my game (Star Wars Battlefront 2) it still shows up with the EA app installer. If I exit out of this the game will then boot with origin as expected. Anyway, what I'm really asking is: It's getting pretty annoying and makes it so I can't boot the game in big picture mode |
It's quite odd with all that working that it's still launching the installer, but what you might do is rename/move/delete the app installer out of the game's directory, then it can't run it |
The installer shouldn't run if the registry key is added properly in the prefix (which the installer should do if the checkbox there is ticked), it's the only condition check in installscript.vdf. But yeah physically renaming/removing the installer .exe file will also obviously prevent that as a last resort method xd |
Hi guys, thanks for the speedy responses! Do you know which installer I should uninstall/remove from the files. I've had a look through and I couldn't find the EA app installer itself. |
Quick update, found the EAappInstaller.exe file using search. I've deleted it and the game opens through origin issue free. I have noticed when I press play it will briefly say "running install script" before disappearing and running the game normally. Does this mean that the install script never actually finished? (It shows up briefly each time I press play) |
Assuming adding the registry key during installation did not work for you, this one: |
If you want to fix the issue with the install script, just rename installscript.vdf to have any other extension, like installscript.bak. Or just delete it, I guess. |
Hi Doc-4, how would I go about editing the installscript.vdf to add the registry key? I'd like to know as I intend to install some other origin games in the future so it'll help save me a headache! |
I don't know syntax for install scripts. You could probably figure it out by looking at the Valve developer website. You could also just create a reg file with the relevant key and merge it to the wine registry of your current prefix. There's multiple ways of doing that. But as far as I can tell, it's still easier for most people to just use the installer here and run it within the wine prefix so it can set the key for you. |
I did use the installer here. And I made sure to tick the box that says spoof ea app installed. Very odd. I'll take a look at the other method you mentioned though! Thanks for the help |
cat > "/tmp/ea-app.reg" <<_EOF_
REGEDIT4
[HKEY_LOCAL_MACHINE\\Software\\Electronic Arts\\EA Desktop]
"InstallSuccessful"="true"
_EOF_ and then gotta import it with regedit.exe, could do it on command line too prolly |
Just a quick update on Star Wars Battlefront 2, I checked the install script.vdf file and it said that it was true for the EA app being installed. So I have no idea why it would still say that. Anyway Star Wars Battlefront 2 would crash whenever loading into a match, but this is a known issue due to Swap Space running out. I'm now going to try getting origin to work on jedi fallen order and will update you on whether that works. Thanks everyone for all the help! |
You can use this to change your swap file size, among other things |
@Doc-4 Thanks for the link, I'm definitely going to look into that! As for getting origin to work with jedi fallen order, it's currently no-dice. It's not loading origin after I cancel the EA installer or anything. Anyone got any advice? |
You have to install origin and this github project separately in every prefix (game) you use which has EA app, unless you define a separate one via launch arguments to force them to all use the same prefix (advanced). What I'd suggest instead, at least for this game, is that there's a DRM-free executable right next to the normal one. You can either set wine registry or a launch argument to override the default launch in favor of that exe, or just run the game separately as a non-steam game (easiest). The downside to this approach is no achievements, but I really don't consider them worthwhile compared to the hassle and overhead for a single player game. Don't try to rename this second executable to look like the first, it will not work, most EA games on steam launch via a protocol rather than a filepath 🤮 |
I have installed origin again in the jedi fallen order prefix, it just doesn't seem to be working 😥. I'll definitely go with the DRM-free executable method for this one, EA has no need to require online for a SINGLE PLAYER game. Thanks for the advice @Doc-4 |
I guess kinda guide, kinda an issue.
A focus for me for Mass Effect Legendary (ME:L) - which benefits from not having the EA App, since it breaks (by pushing a cloud save with all of them unlocked, whenever it's online) achievements.
(If you read this, and are willing to faff, you can follow the "set EA App to offline every single time you launch the game, and also delete the local achievements file while ME:L is in the launcher menu the first time" Link1
Follow the usual old origin version download, install: Link2
There's actually not much to do in principle: Wine (Proton) needs to be told to use your version.dll:
WINEDLLOVERRIDES="version=n,b"
to the launch options.This now, on Linux, GE-Proton7-48, gets me to the Origin library page. But it won't launch ME:L.
Proton8.0-2 on the same prefix is the same - Origin, but no game. It is hanging around as a background app though.
The text was updated successfully, but these errors were encountered: