HGL
eastern-cyan

Dragon Age Inquisition - EpicGames/EA - Game won't launch through Heroic but can be manually

https://paste.debian.net/hidden/fafd4037 - "report a problem running this game" log https://paste.debian.net/hidden/1cb47fb8 - "DAI log from general settings logs" A couple days ago, I wanted to play DAI through Heroic(flatpak) on linux (gnome/debian 13), i own the game on EpicGames. I installed it through the heroic library and it installed the EA launcher. it didn't automatically install the game through EA nor launch the EA launcher after, so i manually ran the EA launcher through the "run on prefix" option in settings and then logged in and installed the game. (first time i let it install in default place, second time i had it install on X:/Games/Heroic/ with all the other heroic games hoping maybe that would fix the issue. it didn't) The game installed through EA, but the heroic library play button would "launch" "playing" and then return to "play" with nothing happening whatsoever. I tried pressing play with EA running in the background but it still wouldn't launch. I manually pointed to the DAI EXE, but wouldn't launch either. I tried launching it through EA but it wouldn't launch there either claiming "error on their side". looking it up, i realised the issue was that EA was looking for Epic Games confirmation that i own the game but since heroic won't keep the Epic Games redists running, it won't launch the game. I went and installed Epic Games in the prefix and had both Epic Games and EA running and then launched it from either platform and the game runs. However the won't launch through Heroic at all still. I tried pointing it to the EA Desktop EXE but it wouldn't launch it, only running it on prefix manually does. Worse yet, having the game running through EA+EpicGames on the prefix means the game won't detect controller input, only kb&m. How do i fix this? alternatively, Is there a way to manually force heroic to run the epic games redists /game controller stuff on the prefix so that i can launch the game & use controller?
91 Replies
extended-salmon
extended-salmon2mo ago
USE_FAKE_EPIC_EXE=true @utterlyimmature Did you try this?
eastern-cyan
eastern-cyanOP2mo ago
no, what does that do? and should i put it in environment variables
extended-salmon
extended-salmon2mo ago
Yes
eastern-cyan
eastern-cyanOP2mo ago
didn't work with both the DAI exe and the EA Desktop exe
extended-salmon
extended-salmon2mo ago
looking it up, i realised the issue was that EA was looking for Epic Games confirmation that i own the game but since heroic won't keep the Epic Games redists running, it won't launch the game.
https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/wiki/Rockstar-Games-from-Epic-Games#rockstar-launcher-opens-showing-the-option-to-buy-the-game--says-the-game-is-not-owned
eastern-cyan
eastern-cyanOP2mo ago
ah, no this was guesswork on my part because if i have epic games runnning on the prefix, the game launches through epic games or through EA (not through heroic though), but if i have only EA running on its own and try to launch it through EA, it says "error on our part"
extended-salmon
extended-salmon2mo ago
You tried with default game entry Heroic had right?
eastern-cyan
eastern-cyanOP2mo ago
yes any attempt i do, i do it with no alt EXE first, then with pointing at the DAI exe, then at the EA Desktop exe
CommandMC
CommandMC2mo ago
https://github.com/Heroic-Games-Launcher/legendary/pull/24 Try that version of Legendary once it's built
GitHub
[Fix] Set CWD when launching a title through the EA app by CommandM...
This works around an issue with Flatpak & umu. Details at Heroic-Games-Launcher/HeroicGamesLauncher#4563
eastern-cyan
eastern-cyanOP2mo ago
oh but wouldn't a fix like that take forever to get to the stable heroic flatpak release? is there a way to install this fix locally for now to see if it fixes my problem? is there a way i could manually do something similar to the fix?
extended-salmon
extended-salmon2mo ago
You can use custom legendary
CommandMC
CommandMC2mo ago
1. Download the relevant archive from here and extract it to get the Legendary binary 2. For macOS and Linux, make sure the binary is executable 3. For Flatpak, move the binary to ~/Games/Heroic/ 4. In Heroic, open the Settings (in the sidebar) -> "Advanced" and set the binary as an alternative Legendary binary
extended-salmon
extended-salmon2mo ago
No description
extended-salmon
extended-salmon2mo ago
No need to wait for a release basically
eastern-cyan
eastern-cyanOP2mo ago
im assuming for debian, the ubuntu package will work fine here right?
CommandMC
CommandMC2mo ago
Yes
eastern-cyan
eastern-cyanOP2mo ago
the game launches but it still doesn't register the controller. (i've checked other games do register the controller)
CommandMC
CommandMC2mo ago
I assume the game is supposed to have controller support?
eastern-cyan
eastern-cyanOP2mo ago
yes? at the very least i rememeber playing it on windows with controller but let me go double check
eastern-cyan
eastern-cyanOP2mo ago
No description
eastern-cyan
eastern-cyanOP2mo ago
yes it supports controllers
CommandMC
CommandMC2mo ago
Try adding the following DLL overrides in winecfg (game settings -> "winecfg" button -> "Libraries" tab): - xinput_1_1 - xinput_1_2 - xinput_1_3 - xinput_1_4 - xinput9_1_0 - dinput - dinput8
eastern-cyan
eastern-cyanOP2mo ago
didn't work
eastern-cyan
eastern-cyanOP2mo ago
https://github.com/maniman303/dinput8-proxy didn't plan on it, but user wierd mentioned in the #🎮-gaming channel that this might be a game issue specific to linux, and linked to a nexusmod with a special dinput8 dll that supposedly fixes this controller issue on DAI on linux https://www.nexusmods.com/dragonageinquisition/mods/4128?tab=description, should i attempt it?
GitHub
GitHub - maniman303/dinput8-proxy: Dinput8 proxy dll for Frostbite ...
Dinput8 proxy dll for Frostbite games. Contribute to maniman303/dinput8-proxy development by creating an account on GitHub.
Nexus Mods :: Dragon Age: Inquisition
Standalone Linux Controller Fix
Standalone Linux controller support fix. Should work with any Proton or Wine version.
extended-salmon
extended-salmon2mo ago
extended-salmon
extended-salmon2mo ago
@CommandMC Does umu not apply this?
CommandMC
CommandMC2mo ago
Seems like Epic's AppName for this game isn't in the DB yet, so no
extended-salmon
extended-salmon2mo ago
👍
eastern-cyan
eastern-cyanOP2mo ago
i see so should i try that mod fix dinput8.dll?
CommandMC
CommandMC2mo ago
Try setting the environment variable SteamGameId to 1222690 (you can set environment variables in the game settings)
eastern-cyan
eastern-cyanOP2mo ago
did not work
CommandMC
CommandMC2mo ago
I wonder if Heroic or umu overwrite that Could you send in a new game log?
eastern-cyan
eastern-cyanOP2mo ago
yes give me a second
eastern-cyan
eastern-cyanOP2mo ago
eastern-cyan
eastern-cyanOP2mo ago
from "report game..."
CommandMC
CommandMC2mo ago
Yeah Heroic overwrites that for some reason
eastern-cyan
eastern-cyanOP2mo ago
oh
CommandMC
CommandMC2mo ago
I thought I made sure it always applied user-defined env vars last, but it seems I've missed this For now, you'll have to wait until this PR is merged & the umu site is updated. After that, Proton will automatically pick up the fix
eastern-cyan
eastern-cyanOP2mo ago
oh, i see, then, until then, im gonna go and try the mod fix suggested by wiered @wierd i just tried the mod, it didn't work, is it possible i didn't input it right in winecfg?
afraid-scarlet
afraid-scarlet2mo ago
Should be set to 'local, builtin' for dinput8.dll The dll needs to be in the folder with the game's .exe
eastern-cyan
eastern-cyanOP2mo ago
oh, i see, i only have native and builtin as options in the winecfg menu
afraid-scarlet
afraid-scarlet2mo ago
'Native, builtin' my bad
eastern-cyan
eastern-cyanOP2mo ago
oh then it should have worked but it didn't should i disable the other dll overrides from this conversation? xinput and dinput one?
afraid-scarlet
afraid-scarlet2mo ago
interesting. I will test this again when I go home today. I have both steam and epic versions of this game. (They were free) I will do more recent testing, then get with you later.
eastern-cyan
eastern-cyanOP2mo ago
yeah i got the free epic one i'm going to keep this an open issue until i figure out a temporary for fix the controller issue, update it and then i'll set it as solved nope never mind, simply deleting the x-input and d-input overrides and just leaving the dinput8 made it work, but only if you go into settings and enable the gamepad controls!
afraid-scarlet
afraid-scarlet2mo ago
Hooray
eastern-cyan
eastern-cyanOP2mo ago
to summarize, until patches are available with the stable download: - to fix the EA game issue, download the legendary patch provided by commandmc and use it with heroic - for the controller issue, download the mod provided by wierd and edit wincfg to add only dinput8 to the libraries and then in DAI settings - controls switch it to gamepad after the splash screen
CommandMC
CommandMC2mo ago
@utterlyimmature Would you mind re-testing without the mod now? The umu fix should be in place now
eastern-cyan
eastern-cyanOP2mo ago
how would i get the umu fix?
CommandMC
CommandMC2mo ago
You don't, it's automatic Just launch the game
eastern-cyan
eastern-cyanOP2mo ago
and is this still with the patch legendary from earlier today?
CommandMC
CommandMC2mo ago
Yeah that'll still be required
eastern-cyan
eastern-cyanOP2mo ago
alright give me a sec any specific environment variables? currently i have the USE FAKE EPIC EXE true, and the Steam Id one also should i readd the dll library overrides from earlier today?
CommandMC
CommandMC2mo ago
You shouldn't need either Also shouldn't be required Basically it should just work without any steps (other than the general Legendary fix)
eastern-cyan
eastern-cyanOP2mo ago
not working, but in a different way (which i have a guess for why) in the game settings, after the mod, the setting to allow changing to gamepad turned on, so i did that. now that i removed the mod and dll overrides (xinput 1 2 3 4 and 9, dinput and dinput 8), it won't detect my controller input, but the spllash screen still says press START instead of the press anywhere any key to continue
CommandMC
CommandMC2mo ago
Could you send in a game log?
eastern-cyan
eastern-cyanOP2mo ago
eastern-cyan
eastern-cyanOP2mo ago
let me know if you need the other log
CommandMC
CommandMC2mo ago
ProtonFixes[647] INFO: Non-steam game UNKNOWN (umu-1222690)
Yeah it definitely has the game ID now, not sure what could be wrong
eastern-cyan
eastern-cyanOP2mo ago
i could go and re-add dinput8 to the dll override library in winecfg without adding back the mod dll, see if that works? after all i dont recall which of the xinput or dinput dll library overrides, if any, existed before we added them earlier today tried it didn't work i put the dll back for now to continue playing, let me know if you need me to do more testing
CommandMC
CommandMC2mo ago
It might be the case that the game now just has some configuration files stored that prevent the actual fix from working I'll re-test on my own machine tomorrow
eastern-cyan
eastern-cyanOP2mo ago
oh yeah could be still, it's a known issue with this game in specific and the mod is easy to apply. the issue with the EA launcher Epic Games thing is gone which was the major thing and now the game basically works out of the box through installation through heroic launcher. the controller thing just requires downloading one dll file into the game directory and a winecfg library override for that dll, which as easy as temporary solutions could ever be.
CommandMC
CommandMC2mo ago
Oh, found the issue: Update GE-Proton You're on 10-12, the fix was introduced in 10-14
eastern-cyan
eastern-cyanOP2mo ago
oh i see, where do i do that?
CommandMC
CommandMC2mo ago
Wine Manager -> Update icon on GE-Proton-latest
eastern-cyan
eastern-cyanOP2mo ago
did not know it needed to be updated manually, my bad
CommandMC
CommandMC2mo ago
https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/GE-Proton10-14 Relevant note
fixed controller input in Dragon Age Inquisition (NOTE: YOU HAVE TO GO IN-GAME AND CHANGE CONTROLS FROM M+K TO CONTROLLER)
eastern-cyan
eastern-cyanOP2mo ago
i assumed by using ge-proton-latest, it's automatically on the latest
CommandMC
CommandMC2mo ago
Yeah we should add that to the download manager if there's an update (but the download manager is somewhat tied to its entries being games, so that'll be fun)
eastern-cyan
eastern-cyanOP2mo ago
hmm maybe a notification that there's an update for ge-proton-latest would suffice? pressing a button is a non-issue, it's just i think most people need to be reminded to do it, me included
CommandMC
CommandMC2mo ago
My ideal solution would be: Add it to the download manager as a non-automatic download (Steam's "Scheduled" downloads come to mind there; basically an entry that's just there for you to activate), and add a little badge to the DL manager to make it obvious there's something you should look at in there
eastern-cyan
eastern-cyanOP2mo ago
that would be perfect yeah so it's not working, in fact, the game crashes now when it reaches the EA app
CommandMC
CommandMC2mo ago
Hm so the EA app itself crashes? Got another game log?
eastern-cyan
eastern-cyanOP2mo ago
eastern-cyan
eastern-cyanOP2mo ago
also the Prefix/default folder is all in shambles now, as if a game tried to run and install a prefix in the default folder instead of a folder within there. DAI's prefix still points to the prefixes/defualt/dai prefix folder though
CommandMC
CommandMC2mo ago
Hmm there are d3dcompiler errors in that log. Not sure if those were there before, but try installing d3dcompiler_43 and d3dcompiler_47 with Winetricks Yeah those weren't there before
eastern-cyan
eastern-cyanOP2mo ago
crashed again
eastern-cyan
eastern-cyanOP2mo ago
eastern-cyan
eastern-cyanOP2mo ago
im gonna restart the pc just in case it's something weird still crashes, EA desktop app launches on the prefix though if i manually launch it through "run on prefix"
CommandMC
CommandMC2mo ago
You might want to move the game install itself + any save files out of the prefix & then move/delete it
eastern-cyan
eastern-cyanOP2mo ago
sigh, alright. that's gonna be a pain though bc a new install of the EA app will not recognize the files, and will want to reinstall the game. i do have a trick for that though
CommandMC
CommandMC2mo ago
I'm pretty sure the EA app can import games? I've never actually used it for more than 5 minutes
eastern-cyan
eastern-cyanOP2mo ago
is there a specific way you want me to delete the prefix or just poof delete the prefix folder? ?
CommandMC
CommandMC2mo ago
Just deleting or moving the folder on your hard drive is fine I like to rename it to <original name>_bak just in case I ever need something out of there again, but deleting is fine too
eastern-cyan
eastern-cyanOP2mo ago
i moved the game folder, and then uninstalled the game through heroic removing settings logs and prefix folder the trick didn't work, it's going to be reinstalling for a while ]
CommandMC
CommandMC2mo ago
Bummer. If it doesn't end up working, feel free to just apply the mod again and play the game. I can test on my own
eastern-cyan
eastern-cyanOP2mo ago
thanks, i'll do that one thing i wanted to test had the reinstall gone quick and not worked was to downgrade the proton one update per turn to see if it was a specific proton update that caused the crashing, since it was a jump from 12 to 17 so it finished installing a few minutes ago, it still crashed, so i went ahead and installed proton 12 through 17. 12-14 (inclusive) worked and the controller was detected but no input was captured. 15 works and controller is detected and input captured and acted upon. 16-17 crash so whatever the issue that's causing the crash is caused via something that changed between proton 15 and 16. and the controller fix didn't truly work until proton 15 ill upload log files tomorrow bc it's pretty late at night now, but hopefully this helps you with your own testing
eastern-cyan
eastern-cyanOP2mo ago
proton-10-14. doesn't crash, doesn't detect controller.
eastern-cyan
eastern-cyanOP2mo ago
proton-10-16, crashes seemingly after it opens EA and attempts to run the game itself
eastern-cyan
eastern-cyanOP2mo ago
proton-10-15, doesn't crash, detects controller but no longer detects controller input?? correction much time later: sometimes it detects controller input, sometimes it doesn't, something to do with focus the game window. i think the major issue is specifically with how DAI implements controller input stuff, and how it needs to be connected and detected when the game starts rather than detecting it and changing interface while the game is going like other games do.
eastern-cyan
eastern-cyanOP2mo ago
proton 10 17, crashes

Did you find this page helpful?