kevinlekiller / reshade-steam-proton

Easy setup and updating of ReShade on Linux for games using wine or proton.
GNU General Public License v2.0
361 stars 19 forks source link

Lutris + Reshade #13

Open DjoleDzele opened 2 years ago

DjoleDzele commented 2 years ago

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?

kevinlekiller commented 2 years ago

It's a bug with Reshade 5.1

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

DjoleDzele commented 2 years ago

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

kevinlekiller commented 2 years ago

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

DjoleDzele commented 2 years ago

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

kevinlekiller commented 2 years ago

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

DjoleDzele commented 2 years ago

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

kevinlekiller commented 2 years ago

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 commented 2 years ago

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

DjoleDzele commented 2 years ago

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

kevinlekiller commented 2 years ago

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.

DjoleDzele commented 2 years ago

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

kevinlekiller commented 2 years ago

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.

DjoleDzele commented 2 years ago

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.