Difference between revisions of "Reshade"

From Linux Gaming
Jump to navigation Jump to search
Line 21: Line 21:
***<code>d3d9.dll</code> if your game uses Directx9 (this is more likely for older games)
***<code>d3d9.dll</code> if your game uses Directx9 (this is more likely for older games)
***<code>dxgi.dll</code> if your game uses Directx11 (this is more likely for newer games)
***<code>dxgi.dll</code> if your game uses Directx11 (this is more likely for newer games)
*Set [[Modding#DLL overrides|dll overrides]] in winecfg:
*Set [[Modding#DLL overrides|dll overrides]] in winecfg, for example with Lutris:
**Open Lutris, click your game, on the bottom, click the up-arrow right next to the wine bottle icon, click <code>Wine configuration</code>, click <code>Libraries</code>, insert the name of the dll (without the .dll) in the text box under <code>New override for library</code>:
**Open Lutris, click your game, on the bottom, click the up-arrow right next to the wine bottle icon, click <code>Wine configuration</code>, click <code>Libraries</code>, insert the name of the dll (without the .dll) in the text box under <code>New override for library</code>:
***<code>d3dcompiler_47</code>
***<code>d3dcompiler_47</code>

Revision as of 00:54, 23 March 2022

Reshade let's you apply extra shaders. While it's theoretically possible to do this with vkBasalt, it's not yet fully working. You might also want to use some mods that are written for reshade.

How to install

Automatic

You can use this script. Note, that executing external scripts is a security risk. You should always read and understand the content of the script before executing it.

Manual[1]

This page needs work, for the following reason(s): dll name for dx12 is missing.
  • Get the architecture of your application. If you don't know it, run file /path/to/your/game.exe. The output will either contain x86-64 (64 bit) or 80386 (32 bit).
  • Download:
  • Download the latest version of Reshade: https://reshade.me/ (alternatively download this older version, it should work: https://reshade.me/downloads/ReShade_Setup_4.9.1.exe)
  • Move both executables to some folder, and extract them with 7zip:
    • 7z e Firefox\ Setup\ 62.0.3.exe
    • 7z e ReShade_Setup_x.y.z.exe (modify x y and z according to the version you downloaded, for example 7z e ReShade_Setup_4.9.1.exe for Reshade version 4.9.1)
  • From the extracted executables, copy following dlls to the folder your game executable is in:
    • d3dcompiler.dll (coming from Firefox)
    • Reshade.dll (coming from Reshade). Rename it to
      • d3d9.dll if your game uses Directx9 (this is more likely for older games)
      • dxgi.dll if your game uses Directx11 (this is more likely for newer games)
  • Set dll overrides in winecfg, for example with Lutris:
    • Open Lutris, click your game, on the bottom, click the up-arrow right next to the wine bottle icon, click Wine configuration, click Libraries, insert the name of the dll (without the .dll) in the text box under New override for library:
      • d3dcompiler_47
      • select it in the list, click Edit and select native, then builtin
      • Depending on whether your game uses DX9 or DX11:
        • d3d9 for DX9
        • dxgi for DX11
      • select it in the list, click Edit and select native (Windows)
  • Get the shaders and textures: git clone https://github.com/crosire/reshade-shaders.git and copy the folders Shaders and Textures into the folder where your game executable is in.
  • Run your application
  • Open Reshade (by pressing home or Pos1)
  • Open settings tab, and add the path ./Shaders for shaders and ./Textures for textures.

References and notes