Skip to content
Dominik Tugend edited this page Jun 10, 2022 · 15 revisions

Welcome to the ReShade_advancedfx wiki!

About

ReShade_advancedfx is an addon for ReShade to connect HLAE baseFx mirv_streams to ReShade.

Advantages:

  • better depth buffer and detection, based on the HLAE mirv_streams one
  • 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

Problems:

  • HLAE depth buffer is itself not perfect, so e.g. smokes are problematic just like with HLAE itself
  • Currently MSAA still needs to be disabled in CS:GO video options

Requirements

This guide currently assumes you are already familiar with HLAE mirv_streams and ReShade with HLAE a bit.

Usage

Initial installation and setup

Extraction

Extract ReShade_Setup_5.0.2_Addon.exe from within 7-Zip using the extract button in the 7-Zip toolbar.
Rename the extracted folder to reshade and put it on your Desktop.

Extract reshade-shaders-master.zip, enter the extracted folder and move it's files and folders inside into the reshade folder on your Desktop.

Create a folder named Addons in the reshade folder and put the contents of ReShade_advancedfx.zip inside.

HLAE settings

  • 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 ReShade32.dll from the reshade 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 CS:GO video settings!

ReShade settings

  • Open Reshade (HOME-key)
  • Navigate to Add-ons tab
  • Set the Addons folder in your reshade in Add-on search path box
  • Disable Generic Depth default addon!
  • Navigate to Setting tab
  • Set the full path to the Shaders folder in your reshade folder under Effect search path
  • Set the full path to the Textures folder in your reshade folder under Texture search path
  • Navigate to Home tab
  • 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 / save
  • Exit CS:GO!

Every-day usage

  • Launch CS:GO again form HLAE custom loader
  • Open a demo

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.

Donations

If you want to donate, donate to the original ReShade author, for more information see https://reshade.me/

Clone this wiki locally