reshade-steam-proton icon indicating copy to clipboard operation
reshade-steam-proton copied to clipboard

Lutris + Reshade

Open DjoleDzele opened this issue 3 years ago • 13 comments

Hi, i was able to use your script, to run a game manually from terminal using "WINEDLLOVERRIDES="d3dcompiler_47=n;dxgi=n,b" wine " command, but i'm unable to run it through lutris, i tried adding WINEDLLOVERRIDES="d3dcompiler_47=n;dxgi=n,b" to "Command prefix" field, but then it just says "Failed to execute process. Check that the file exists", also try adding overrides separately in "DLL Overrides" field, but then it just starts the game without reshade, any ideas what else could be there to try?

DjoleDzele avatar Apr 23 '22 13:04 DjoleDzele

It's a bug with Reshade 5.1

Use a older version: RESHADE_VERSION="5.0.2" ./reshade-linux.sh

kevinlekiller avatar Apr 23 '22 13:04 kevinlekiller

i used 5.0.2 and 4.9.1 actually, since i've read 5.1 is not working on wine so i haven't even tried it, those Reshade versions work directly from command line, but I'm unable to figure out how to include it with lutris

DjoleDzele avatar Apr 23 '22 14:04 DjoleDzele

Just tested (a-short-hike-windows-latest.zip from https://adamgryu.itch.io/a-short-hike), both of these methods work:

runner system runner2 options game shell

kevinlekiller avatar Apr 23 '22 15:04 kevinlekiller

Thanks for detailed response! Hmm I actually did try with those DLL override settings in both places, i will try and look into these other settings you have here

DjoleDzele avatar Apr 23 '22 15:04 DjoleDzele

Which game is it out of curiosity, maybe I can try it?

kevinlekiller avatar Apr 23 '22 15:04 kevinlekiller

I'm trying it now for Stalker Shadow of Chernobyl for example

DjoleDzele avatar Apr 23 '22 15:04 DjoleDzele

Can't get the game to run through Steam or Lutris unfortunately, on ProtonDB everyone says it works fine, which is puzzling.

All I get is this:

xray

kevinlekiller avatar Apr 23 '22 16:04 kevinlekiller

Got the game to work on Steam, had to use a older version of Proton, 6.3 and 7.0 didn't work. 5.13 worked.

Still can't get the game to launch through Lutris however.

Can confirm that Reshade works on the game on Steam however:

Screenshot_20220423_122133

kevinlekiller avatar Apr 23 '22 16:04 kevinlekiller

hm, no idea, works for me, the GOG version, these are my settings, but as soon as i install reshade to it, it starts only with black screen and gets stuck, when i remove reshade, i can launch it through lutris. When running from command line it works with reshade, but i've just noticed this specific game will show shaders compiling on top of screen but wont be able to open sidebar with HOME button, i even changed it to Shift+F2 but wont work (probably something specific to this game, since i also tried Heroes of Might and Magic 7 and HOME button worked)

Screenshot_20220423_182306

Screenshot_20220423_182252

DjoleDzele avatar Apr 23 '22 16:04 DjoleDzele

Seems to be a similar issue to Skyrim, on that game it can be worked around by changing the InputProcessing, not sure if it would work on this game.

kevinlekiller avatar Apr 23 '22 16:04 kevinlekiller

Ok, a little update, im trying now with "Heroes of Might and Magic 7", the interesting thing is, if i switch the game to different wine version in lutris, reshade works, only for the first run, every next starting on the same wine version there wont be reshade, if i switch wine version to some other it will again work for one time. I mean this is definitely issue with lutris i will try asking there, i just thought asking here as well for just in case

DjoleDzele avatar Apr 23 '22 17:04 DjoleDzele

That's odd, I tried a couple of games and it worked each time it would launch. Could be game specific too. Don't have HOMM7 to test, only 3.

kevinlekiller avatar Apr 23 '22 17:04 kevinlekiller

Well just small update, after a little bit more testing, it's still weird, for example, for Stalker game, reshade loads every time now, with using the same wine version, but the only button i can program to use to activate reshade menu is PrintScreen button, which just complicates things more, just tried it for test, no other button combinations worked, and for HOMM7, it still only works for one time after changing wine versions.

DjoleDzele avatar Apr 30 '22 17:04 DjoleDzele