Difference between revisions of "Reshade"
Jump to navigation
Jump to search
(Minor grammar fix.) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Reshade | Reshade lets 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== | ==How to install== | ||
Line 9: | Line 9: | ||
{{Needs work|Problem=dll name for dx12 is missing}} | {{Needs work|Problem=dll name for dx12 is missing}} | ||
*Get the architecture of your application. If you don't know it, run <code>file /path/to/your/game.exe</code>. The output will either contain '''x86-64''' (64 bit) or '''80386''' (32 bit). | *Get the architecture of your application. If you don't know it, run <code>file /path/to/your/game.exe</code>. The output will either contain '''x86-64''' (64 bit) or '''80386''' (32 bit). | ||
* | *Install d3dcompiler_47 (for example with [[Installing dlls#With winetricks or protontricks|winetricks or protontricks]]). | ||
*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) | *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 | *Move it to some folder, and extract with 7zip: | ||
**<code>7z e ReShade_Setup_x.y.z.exe</code> (modify x y and z according to the version you downloaded, for example <code>7z e ReShade_Setup_4.9.1.exe</code> for Reshade version 4.9.1) | **<code>7z e ReShade_Setup_x.y.z.exe</code> (modify x y and z according to the version you downloaded, for example <code>7z e ReShade_Setup_4.9.1.exe</code> for Reshade version 4.9.1) | ||
**Take <code>ReShade64.dll</code> or <code>ReShade32.dll</code> based on whether your game is 32 or 64 bit, and rename it to | |||
**<code> | |||
***<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 | *Set [[Modding#DLL overrides|dll override]] 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>: | ||
***Depending on whether your game uses DX9 or DX11: | ***Depending on whether your game uses DX9 or DX11: | ||
****<code>d3d9</code> for DX9 | ****<code>d3d9</code> for DX9 |
Latest revision as of 19:09, 13 November 2022
Reshade lets 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). - Install d3dcompiler_47 (for example with winetricks or protontricks).
- 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 it to some folder, and extract with 7zip:
7z e ReShade_Setup_x.y.z.exe
(modify x y and z according to the version you downloaded, for example7z e ReShade_Setup_4.9.1.exe
for Reshade version 4.9.1)- Take
ReShade64.dll
orReShade32.dll
based on whether your game is 32 or 64 bit, and rename it tod3d9.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 override 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
, clickLibraries
, insert the name of the dll (without the .dll) in the text box underNew override for library
:- Depending on whether your game uses DX9 or DX11:
d3d9
for DX9dxgi
for DX11
- select it in the list, click
Edit
and selectnative (Windows)
- Depending on whether your game uses DX9 or DX11:
- Open Lutris, click your game, on the bottom, click the up-arrow right next to the wine bottle icon, click
- Get the shaders and textures:
git clone https://github.com/crosire/reshade-shaders.git
and copy the foldersShaders
andTextures
into the folder where your game executable is in. - Run your application
- Open Reshade (by pressing
home
orPos1
) - Open settings tab, and add the path
./Shaders
for shaders and./Textures
for textures.