-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Dominik Tugend edited this page Oct 16, 2024
·
15 revisions
Welcome to the ReShade_advancedfx wiki!
ReShade_advancedfx is an addon for ReShade to connect HLAE to ReShade (CS2 and CS:GO only). See the table of contents for the CS2 and CS:GO sections respectively.
- Better depth buffer and detection
- Effects are applied before the HUD would be drawn
- MSAA must be disabled in video settings
- When changing some video settings ReShade might deactivate, switching from e.g. MSAA 2x to no MSAA will revive it usually
- The skybox will disappear from depth stencil if smoke is in view. After Oct 2 "Armory" patch, smokes will disappear from depthStencil if too far with default cvars. Use
mirv_cvar_unhide_all; smoke_volume_lod_ratio_change 0
to have them in depth stencil from afar.
- HLAE 2.174.0 or newer: https://github.com/advancedfx/advancedfx/releases/latest
- ReShade 6.3.1 or newer with full-addon support: https://reshade.me/ ( https://reshade.me/downloads/ReShade_Setup_6.3.1_Addon.exe )
- ReShade_advancedfx 1.3.0 or newer addon for ReShade: https://github.com/advancedfx/ReShade_advancedfx/releases/latest
This guide currently assumes you are already familiar with HLAE and ReShade a bit.
- Create a folder
reshade
on your desktop and moveReShade_Setup_6.3.1_Addon.exe
inside. - Extract
ReShade_advancedfx.addon
from x64 folder inReShade_advancedfx.zip
intoreshade
folder on your desktop - Copy the
injector.exe
from the x64 sub-folder of the HLAE installation into the ReShade folder.
Start the ReShade_Setup_6.3.1_Addon.exe
in the reshade
folder by double-clicking:
- Confirm the first pop-up with OK.
- Use the browser button to select the
injector.exe
in thereshade
folder and then clickNext
- Select
DirectX 11
and then clickNext
- Select the Shader packs you want (we used the default + Legacy) and click
Next
- Confirm the Selection of the Shaders with
Next
- Select no addons to install and click
Next
- Click
Finish
- Open HLAE's Custom Loader.
- Set path to your
cs2.exe
as usual. - You can use e.g. these command line options
-steam -insecure +sv_lan 1 -console -novid -afxDisableSteamStorage -sw -w 1280 -h 720
- Add
AfxHookSource2.dll
of HLAE x64 sub-folder into the DLLs to inject as first DLL. - Add
dxgi.dll
from thereshade
folder as second DLL to inject - Optional: set your mmcfg folder for CS2/HLAE to be used, by entering the path to the folder into the bottom box (environment variables) as follows:
USRLOCALCSGO=C:\path\to\your\mmcfg-folder
- Click
Launch
- Disable MSAA in video settings!
- Disable Fidelity FX Super Resolution in video settings! (Set to Highest Quality to disable.)
- Open Reshade (HOME-key)
- Navigate to
Add-ons
tab - Disable
Generic Depth
default addon! - Make sure
ReShade_advancedfx
addon is enabled. - Navigate to Home tab
- Click
Skip Tutorial
button if present - Click
Edit global preprocessor definitions
button - Add the following entries there (name on left box, value on right box):
RESHADE_DEPTH_INPUT_IS_REVERSED 0
RESHADE_DEPTH_LINEARIZATION_FAR_PLANE 255
- Click outside to close and save
- Launch CS2 again from the HLAE custom loader
- Play a demo
- ReShade is enabled by default when used as above, you can disable it with
mirv_reshade enabled 0
and enable it again withmirv_reshade enabled 1
.
- Better depth buffer and detection
- Effects are applied before the HUD would be drawn
- Allows to limit ReShade to a specific stream and recording that stream as usual with
mirv_streams
- MSAA must be disabled in video settings
- Depth buffer is itself not perfect, so e.g. smokes are problematic
- HLAE 2.165.0 or newer: https://github.com/advancedfx/advancedfx/releases/latest
- ReShade 6.3.1 or newer with full-addon support: https://reshade.me/ ( https://reshade.me/downloads/ReShade_Setup_6.3.1_Addon.exe )
- ReShade_advancedfx 1.2.0 or newer addon for ReShade: https://github.com/advancedfx/ReShade_advancedfx/releases/latest
This guide currently assumes you are already familiar with HLAE and ReShade a bit.
- Create a folder
reshade
on your desktop and moveReShade_Setup_6.3.1_Addon.exe
inside. - Extract
ReShade_advancedfx.addon
from x86 folder inReShade_advancedfx.zip
intoreshade
folder on your desktop - Copy the
injector.exe
from the main HLAE.exe folder of the HLAE installation into the ReShade folder.
Start the ReShade_Setup_6.3.1_Addon.exe
in the reshade
folder by double-clicking:
- Confirm the first pop-up with OK.
- Use the browser button to select the
injector.exe
in thereshade
folder and then clickNext
- Select
DirectX 9
and then clickNext
- Select the Shader packs you want (we used the default + Legacy) and click
Next
- Confirm the Selection of the Shaders with
Next
- Select no addons to install and click
Next
- Click
Finish
- Open HLAE's Custom Loader.
- Set path to your
csgo.exe
as usual. - You can use e.g. these command line options
-steam -insecure +sv_lan 1 -window -console -novid
- Add
AfxHookSource.dll
of HLAE into the DLLs to inject as first DLL. - Add
d3d9.dll
from thereshade
folder as second DLL to inject - Optional: set your mmcfg folder for CS:GO/HLAE to be used, by entering the path to the folder into the bottom box (environment variables) as follows:
USRLOCALCSGO=C:\path\to\your\mmcfg-folder
- Click
Launch
- Disable MSAA in video settings!
- Open Reshade (HOME-key)
- Navigate to
Add-ons
tab - Disable
Generic Depth
default addon! - Make sure
ReShade_advancedfx
addon is enabled. - Navigate to Home tab
- Click
Skip Tutorial
button if present - Click
Edit global preprocessor definitions
button - Add the following entries there (name on left box, value on right box):
RESHADE_DEPTH_INPUT_IS_REVERSED 0
RESHADE_DEPTH_LINEARIZATION_FAR_PLANE 255
- Click outside to close and save
Enter this in console
mirv_streams add baseFx myShade
mirv_streams edit myShade reshade enabled 1
mirv_streams preview myShade
And start configuring the ReShade effects as you need for your myShade
stream.
If you want to donate, donate to the original ReShade author, for more information see https://reshade.me/