How To: Anti-Aliasing/Shader Injection (SweetFX, GeDoSaTo, GEMFX, and ReShade) - Overclock.net - An Overclocking Community

Forum Jump: 

How To: Anti-Aliasing/Shader Injection (SweetFX, GeDoSaTo, GEMFX, and ReShade)

Reply
 
Thread Tools
post #1 of 1673 (permalink) Old 08-20-2012, 05:59 PM - Thread Starter
It Just Works
 
TFL Replica's Avatar
 
Join Date: Oct 2008
Posts: 14,983
How To: Anti-Aliasing/Shader Injection (SweetFX, GeDoSaTo, GEMFX, and ReShade)

Applications of Anti-aliasing/Shader Injection Tools

Anti-aliasing/shader injectors can be useful in the following scenarios
 
  • Games that do not support multisampling/transparency anti-aliasing
  • Games that offer unsatisfactory or non-configurable built-in anti-aliasing
  • Situations where multisampling or supersampling causes too much of a performance hit
  • Combining with other anti-aliasing methods to achieve better results or performance
  • Adjusting and improving a game's visuals, by altering colors, sharpness and lighting, using post processing filters (Ex: Sharpening and desaturating a blurry, colorful game)
 
 
Anti-Aliasing/Shader Injectors

These tools were created by members of the PC gaming community. They are vendor agnostic, meaning they will work regardless of your GPU's manufacturer. The majority of DirectX 9/10/10.1/11 games are supported. Currently, ReShade is the only injector that also supports DX8 and OpenGL games.
 
Updated/Active Projects
 
 
ReShade FrameWork by Crosire
 
ReShade is the most advanced shader injector currently available. ReShade has numerous advantages over older injectors, such as access to the depth buffer, automatic API and 32/64bit detection, and better compatibility with Windows 8.1/10, and the ability to reorder effects. DirectX 8 through 11.x, and OpenGL are supported. ReShade FrameWork combines shaders from several well-known developers. It is maintained by Crosire (ReShade developer), Lucifer Hawk (GemFX developer), CeeJay.dk (SweetFX developer), Marty McFly (MasterEffect/McFX developer), Ioxa and JPulowski. ReShade Framework also includes a powerful GUI tool called Mediator.
 
Download ReShade
 
Old/Inactive Projects

GeDoSaTo by Durante

GeDoSaTo is a generalized downsampling tool for PC games. While initially focused on improving Dark Souls 2, GeDoSaTo has rapidly gained new features, including a versatile plugin system, which allows it to be used with any game. In addition to downsampling, GeDoSaTo provides support for injecting SMAA or FXAA, and custom post-processing shaders, such as the SweetFX shader suite. Some of GeDoSaTo's advantages include the ability to apply effects without affecting the HUD, capture HUD-less screenshots, run in borderless fullscreen window mode, and CPU/GPU frame timing information. As of current, GeDoSaTo only supports DX9.

Download GeDoSaTo

Warning: Spoiler! (Click to show)
SweetFX Configurator by Terrasque (Updated by CeeJay.dk)
 
SweetFX Configurator is a GUI tool for SweetFX. It allows gamers to enable/disable SweetFX for any number of games and conveniently manage the settings for each game centrally, eliminating the need to manually find and edit separate settings files using text editors.
 
Download SweetFX Configurator 1.5.1
(Note: The program version is stated as 1.3.1 but it has been updated to use SweetFX 1.5.1)
SweetFX by CeeJay.dk

SweetFX is currently the most popular shader suite. It is described as a universal image improvement and tweaking mod that works with almost any DirectX game or application. It merges Inject SMAA, some shaders from FXAA Tool, and Ceejay.dk's shaders into a single, easy to tweak package. SweetFX shaders are also available bundled with ReShade, GEMFX, and GeDoSaTo.
 
Download SweetFX 1.5.1
SweetFX 2.0 beta is available as a Standalone Reshade package, or as part of the ReShade FrameWork
 
Included Effects (Click to show)
  • SMAA Anti-aliasing: Anti-aliases the image using the SMAA technique - more info here
  • Explosion: Scatters the pixels similarly to the Explosion filter in Irfanview
  • Cartoon: Creates an outline-effect that makes the image look more cartoonish
  • Advanced CRT: Mimics the look of an old arcade CRT display
  • Bloom: Makes strong lights bleed their light into their surroundings
  • HDR: Mimics an HDR tonemapped look
  • Levels: Sets a new black and white point. A fast and easy way to increase contrast but it causes clipping. The Curves effect does this in a more subtle way without causing clipping.
  • LumaSharpen: Sharpens the image, making details easier to see
  • Technicolor: Makes the image look like it was processed using a three-strip Technicolor process - more info here
  • Cineon DPX: Makes the image look like it was converted from film to Cineon DPX. Can be used to create a "sunny" look
  • Monochrome: Removes colors from the image so it appears as if shot on black and white film
  • Lift Gamma Gain: Adjust brightness and color of shadows, midtones and highlights (avoids clipping)
  • Tonemap: Adjust gamma, exposure, saturation, bleach and defog. (may cause clipping)
  • Vibrance: Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation
  • Curves: Contrast adjustments using S-curves
  • Sepia: Sepia tones the image - more info here 
  • Vignette: Darkens the edges of the image to make it look more like it was shot with a camera lens. - more info here
  • Dither: Applies dithering to simulate more colors than your monitor can display. This lessens banding artifacts - more info here
  • Border: Makes the screenedge black as a workaround for the bright edge that forcing some AA modes sometimes causes
  • Splitscreen: Enables the before-and-after splitscreen comparison mode.
  • Custom: A template to allow other to more easily program their own shader. Just edit /SweetFX/Shaders/custom.h (some programming knowledge required)



Inject FXAA by some dude
 
Inject FXAA is the mod that started it all and provided the base for subsequent AA mods by other authors. Based on NVIDIA FXAA by Timophy Lottes. Inject FXAA is comparatively difficult to configure and is no longer being worked on. Included here for the sake of completeness.
 
Download Inject FXAA
 
 
FXAA Tool by Violator
 
FXAA Tool (formerly a standalone GUI for FXAA PPI) is an advanced GUI utlitiy for installing and managing FXAA game profiles. Provides a centrally accessible database for game profiles, a wide variety of shader effects (including several exclusives), support for a user defined custom shader and profile sharing.
 
Download FXAA Tool

 
Inject SMAA by mrhaandi
 
Inject SMAA by mrhaandi adds "Subpixel Morphological Anti-Aliasing" to an application and is based on InjectFXAA by some dude. Usually achieves better, cleaner results compared to FXAA. Provides several AA presets (Low, Medium, High and Ultra) but lacks any shader effects.
 
Download Inject SMAA 1.2
 
 
SweetFX Injector by Boulotaur2024

SweetFX Injector is an alternative injector developed from the ground up for SweetFX, by Boulotaur2024. It provides several benefits over regular SweetFX (which depends on the original injectors created by mrhaandi and some dude). These benefits include better performance, on the fly switching between FXAA and SMAA, support for 64bit games, better logging, sensible screenshot names, cleaner file structure, and additional shaders such as Gaussian and film grain.
 
Download SweetFX Injector 20130601
 
 
GEMFX by LuciferHawk
 
GEMFX (Graphics Enhancement Mod) is a combination of a new shader collection (GEM) and a new injector (GEMFX). It includes a configuration GUI, and many exclusive post-processing effects, such as the RealisticColor and TrueColor shaders. It also includes the SweetFX shader suite, and a large variety of lens dirt textures. Supports DX9 through DX11, and 32/64bit titles. LuciferHawk's GEMFX shaders are also available as part of the ReShade Framework.
 
Dead Link Removed. Please use ReShade Framework.

 
Installation
 
SweetFX, InjectSMAA, InjectFXAA, and GEMFX (Click to show) SweetFX, InjectSMAA, InjectFXAA, and GEMFX
  • Copy all files to the folder containing your game's main exe (see exceptions)
  • Play the game
  • To uninstall, delete the files you copied
 
Exceptions (Click to show) Black Mesa
Copy dlls and (and injector.ini if using SMAA or SweetFX) to \Steam\steamapps\YourName\source sdk base 2007\bin
Copy the rest of the files to \Steam\steamapps\YourName\source sdk base 2007\

Crysis
Copy dlls (and injector.ini if using SMAA or SweetFX) to the bin32 folder and everything else to the main Crysis folder
Disable built-in AA by adding the following lines to autoexec.cfg (create it in the main Crysis folder if it doesn't exist)
 
r_UseEdgeAA=0 r_FSAA=0
Crysis 2
Copy dlls (and injector.ini if using SMAA or SweetFX) to the bin32 folder and everything else to the main Crysis 2 folder
Disable built-in AA by adding the following lines to autoexec.cfg (create it in the main Crysis 2 folder if it doesn't exist)
 
r_FSAA = 0 r_UseEdgeAA = 0 r_PostMSAA = 0
Stalker: Clear Sky and Stalker: Call of Pripyat
Copy dlls (and injector.ini if using SMAA or SweetFX) to the bin folder and everything else to the main Stalker folder


 
SweetFX Configurator and FXAA Tool (Click to show) SweetFX Configurator and FXAA Tool
  • Extract and run the tool from any location
  • Use the GUI to add games to the list and modify settings
  • Play the game
  • To uninstall, remove game profile

 
GeDoSaTo (Click to show) GeDoSaTo
  • Extract the tool anywhere, and run it (GeDoSaTo does not copy any files to the game folder)
  • Check the whitelist to see if your game listed
  • If your game is not listed, you may either follow the instructions at the top of the list to add it (the HUD will be affected by shaders), or follow this guide to create a profile so the game's HUD remains unaffected by the shaders
  • Start the game

 
ReShade (Click to show) ReShade
  • Run the setup and point it to your game's main executable
  • Play the game
  • To uninstall, delete the files copied over by the setup

 
Make sure you have the latest version of DirectX installed. If you encounter any issues, check the included documentation or the Troubleshooting section.
 
 
Old SweetFX Presets (Click to show)
SweetFX Presets
 
Here you can find some of the presets created by members of the OCN community. Feel free to modify each preset to suit your personal preferences.
 
For more presets, please see the SweetFX Settings Database.
 
Game Title
Presets
Aliens: Colonial Marines Lifeshield Showcase Assassin's Creed Derko1 Showcase Borderlands 2 jim2point0 Showcase Dead Space 2 jim2point0 Showcase Dead Space 3 Xinoxide Showcase Dishonored jim2point0 Showcase Far Cry 3 jim2point0 Showcase Mount and Blade Warband TFL Replica Showcase Mafia 2 Derko1 Showcase Need For Speed Shift 2 Unleashed Derko1 Showcase Resident Evil 6 Lifeshield Showcase Risen 2: Dark Waters TFL Replica Showcase Stalker: Shadow of Chernobyl TFL Replica Showcase Super Street Fighter IV : Arcade Edition TFL Replica Showcase The Ball TFL Replica Showcase Titan Quest Derko1 Showcase Torchlight 2 TFL Replica Showcase
 
 
Troubleshooting
 
The injectors may fail to load due to any of the following reasons
 
  • Incompatibility with built-in anti-aliasing: Disable the game's built-in anti-aliasing and check for any driver anti-aliasing you may have forgotten to disable. In the case of games like Crysis 1/2, a config file (autoexec.cfg) or a configuration tool is the best way to do this. 
 
  • Incorrect dll or dll location: One way to find out if the injector is attempting to load is to check for a ".log" file. If no log file is being created then you have probably copied the dll to the wrong folder or you're using the wrong dll for the game's version of DirectX.
 
  • Incorrect location of injector files: If the injector tries but fails to load (crash during startup), the location of the ".log" file indicates where the injector expects the rest of the files (everything sans the dlls) to be. For games like Crysis 1/2 and Stalker CS/CoP this involves copying the dll to the bin folder and copying everything else to the game's main folder.
 
  • Incompatibility with 64 bit applications: Most of the older injectors only support 32-bit applications, and will crash if used on 64-bit appliactions. Switch to a newer injector, such as ReShade, GEMFX, or Boulotaur's.
 
  • Insufficient user permissions: If a game is installed into a location that is read only for your current user it may cause the injector to crash on startup. The solution is to either run the game in administrator mode (right click and select "run as administrator") or to modify the game folder's properties and grant your user account write access.
 
  • Incompatibility with LucidLogix Virtu MVP: In some cases, LucidLogix Virtu MVP will conflict with the injectors causing the game to fail to load. If your system has Virtu MVP, try disabling it.
 
  • Conflicts with Third Party Applications: Third party applications such as FRAPS, MSI Afterburner and RadeonPro have been known to cause various conflicts with AA Injectors. For example, In Windows 8, having FRAPS running in the background will cause all injectors to fail. If none of the other solutions have worked for you, try closing these kinds of applications.
 
  • Windowed Borderless Mode: Windowed Borderless Mode has been known to cause issues with AA injectors. If you are are using this mode and are having trouble getting your AA injector to work, try switching back to regular fullscreen mode.
 
  • Windows Update KB2670838: This particular windows update may cause the injectors to fail in certain games. If you've tried everything else, uninstalling this update may fix the issue. Alternatively, try switching to Boulotaur's SweetFX Injector which has been coded to work with this update.
 
  • Windows 8.1+: Windows 8.1 uses an updated version of DirectX 11 which is incompatible with some injectors. ReShade and RadeonPro are not prone to this issue.
 
 
Compatibility with RivaTuner Statistics Server
 
The RivaTuner Statistics Server (RTSS) is used by MSI Afterburner and EVGA Precision for displaying useful information such as framerates and temperatures on the screen as well as framerate limitting and screen/video capturing.
 
In recent versions of the RivaTuner Statistics Server (RTSS 5.0+), simply enable "Custom Direct3D support" from the main window, for each game profile.
 
 

 
 
Enabling this on the global profile is not recommended as it can cause issues with certain incompatible applications, preventing them from starting (this is rare). If all else fails, set application detection to "none", effectively disabling the OSD for that particular application.
 
 
RadeonPro Integration
 
RadeonPro is a tool that runs in the background and automatically applies various 3D settings (AA/AF/vsync/etc.) whenever a game is run. RadeonPro can also be used to apply FXAA, SMAA or SweetFX, display an OSD and capture screenshots. In order to integrate SweetFX, simply set the path to SweetFX in the RadeonPro settings. You may now use RadeonPro to enable SweetFX for any of your games.
 
(Note: RadeonPro SweetFX Integration can also be used with Nvidia GPUs.)
 

 
 
Combining AA/Shader Injectors with ENBSeries
 
ENBSeries is 3D graphics mod for a wide variety of games. It works by intercepting render function calls and applying additional effects such as SSAO and HDR. To combine ENBSeries with another injector, peform the following steps
 
  • Rename d3d9.dll to something else like myd3d9.dll
  • Install the ENB series files into the same directory
  • Edit enbseries.ini so the top section looks like this:
 
[PROXY] EnableProxyLibrary=true InitProxyFunctions=true ProxyLibrary=myd3d9.dll  
 
Concerns Regarding Anti-Cheat Systems
 
AA injectors do not modify a game's files or memory data in anyway. It is virtually impossible to use them to cheat. They have been around for approximately two years and most video game companies are aware of them. During that period of time, nobody has been permanently banned for using an AA injector. Naturally, there are no guarantees. This should be adequately reassuring for users who worry about getting banned for using an injector online.
 
 
Capturing Screenshots
 
For capturing screenshots, it is best to use the injector's built-in screenshot function (bound to "Print screen" by default). Screenshots are saved to the same folder that contains the header/config files. Images are BMP or PNG depending on the injector. The toggle button ("Scroll lock" by default) is useful for taking comparison screenshots, eliminating the need to restart the game.
 
External image capturing solutions (such as steam's built-in screenshot function) are incapable of capturing the anti-aliasing and/or post processing effects. Use the built-in screenshot function instead.
 
 
DirectX 9 Image Viewer by ninjafada
 
DirectX Image Viewer is a simple tool that can be used to apply any AA injector to a screenshot. This can have a variety of uses, including the following
 
  • Making the job of creating a preset easier and faster (light weight, instant alt tabbing and frame perfect comparisons)
  • The option to apply your SweetFX config on other people's screenshots or screenshots from games that haven't been released yet
  • Creating screenshot comparisons from your existing screenshots (Steam, RTSS, etc.) 
 
See ReadMe.txt for instructions.
 
Download DirectX 9 Image Viewer 1.4
 
 
Related Threads
 
 
 
External Links
 
 
 
Feel free to share screenshots, configs and ideas or inquire about a particular game
If troubleshooting, please include the contents of your log file



Last edited by TFL Replica; 09-03-2018 at 09:59 PM.
TFL Replica is offline  
Sponsored Links
Advertisement
 
post #2 of 1673 (permalink) Old 08-20-2012, 06:23 PM - Thread Starter
It Just Works
 
TFL Replica's Avatar
 
Join Date: Oct 2008
Posts: 14,983
Comparison Screenshots


The following screenshots have been selected with the purpose of giving you a general idea of the possibilities when using AA injection mods. It is recommended to view each image in a new tab or to download and view them with a fullscreen image viewer.

 

An image album containing all uploaded screenshots is available here

 

Comparison Screenshots (Click to show)

 

Stalker: Clear Sky

NoAA

Stalker: Clear Sky

FXAA

Stalker: Clear Sky

SMAA

Stalker: Clear Sky

4x MSAA

Krater

NoAA

Krater

FXAA+PP

Borderlands

NoAA

Borderlands

SMAA

Two Worlds II

NoAA

Two Worlds II

SMAA

Two Worlds II

FXAA+Sharpen

Two Worlds II

FXAA 

Two Worlds II

NoAA

Two Worlds II

FXAA+PP

Spellforce 2

NoAA

Spellforce 2

FXAA+PP

Crysis

NoAA

Crysis

4x MSAA

Crysis

SMAA

Crysis

4x MSAA + SMAA

Mass Effect 3

NoAA

Mass Effect 3

SMAA

Mass Effect 3

NoAA

Mass Effect 3

SMAA

Torchlight

NoAA




TFL Replica is offline  
post #3 of 1673 (permalink) Old 08-20-2012, 06:37 PM
Linux Lobbyist
 
Lifeshield's Avatar
 
Join Date: Feb 2011
Location: UK
Posts: 5,442
Rep: 325 (Unique: 216)
Lifeshield is offline  
Sponsored Links
Advertisement
 
post #4 of 1673 (permalink) Old 08-20-2012, 10:48 PM
New to Overclock.net
 
james8's Avatar
 
Join Date: Feb 2010
Posts: 4,477
Rep: 148 (Unique: 129)
this should be stickied somewhere. also, the pictures should have labels on them as right now, i can't tell which is which

james8 is offline  
post #5 of 1673 (permalink) Old 08-20-2012, 10:54 PM
New to Overclock.net
 
Ryleh's Avatar
 
Join Date: Sep 2011
Location: Pittsburgh, PA
Posts: 1,427
Rep: 77 (Unique: 69)

Fantastic post! Definitely bookmarking this for future reference and to share with others. I've been out of the loop for a while so I hadn't heard of any of the more recent derivatives.

 

Edit: You should consider uploading a .zip of all of the pictures for easier comparison.


Ryleh is offline  
post #6 of 1673 (permalink) Old 08-21-2012, 12:43 AM
New to Overclock.net
 
Derko1's Avatar
 
Join Date: Jan 2012
Location: Jersey!
Posts: 3,305
Rep: 200 (Unique: 157)
Wow this is great!

So if I were to want to use sweetfx... how would I be able to get it to work with say Skyrim, while I have an ENB that has it's own d3d9.dll already?

skull.gif[Official] Delidded Crewman skull.gifCurrently Playing
Dead Space 2 | Batman Arkham Asylum | Grid AS | Mass Effect 2 | The Wolf Among Us | Max Payne 3
Finished Games
Anamoly | Home | DLC Quest | Limbo | Dead Space | Tomb Raider | Oil Rush | Legendary
The Walking Dead | Ittle Dew | Saints Row The Third | Outlast | Dyad | Max Payne | Max Payne 2
Steam Profile
Derko1 is offline  
post #7 of 1673 (permalink) Old 08-21-2012, 02:37 AM
New to Overclock.net
 
Join Date: Oct 2008
Posts: 3,269
Rep: 83 (Unique: 67)
I cant make none of this work, the games just don't start. And yes i put the files in the folder where game exe is located.
psyside is offline  
post #8 of 1673 (permalink) Old 08-21-2012, 04:22 AM
Linux Lobbyist
 
Lifeshield's Avatar
 
Join Date: Feb 2011
Location: UK
Posts: 5,442
Rep: 325 (Unique: 216)
Quote:
Originally Posted by Derko1 View Post

Wow this is great!
So if I were to want to use sweetfx... how would I be able to get it to work with say Skyrim, while I have an ENB that has it's own d3d9.dll already?

 

Same way as you get FXAA or SMAA to work, just rename the d3d9.dll.

Lifeshield is offline  
post #9 of 1673 (permalink) Old 08-21-2012, 04:32 AM
New to Overclock.net
 
DeadlyEmbrace's Avatar
 
Join Date: Jul 2012
Posts: 108
Rep: 8 (Unique: 4)
Nice, been looking for something like this and now it's all in one thread!
Thanks! thumb.gif

DeadlyEmbrace is offline  
post #10 of 1673 (permalink) Old 08-21-2012, 05:02 AM - Thread Starter
It Just Works
 
TFL Replica's Avatar
 
Join Date: Oct 2008
Posts: 14,983
Quote:
Originally Posted by james8 View Post

this should be stickied somewhere. also, the pictures should have labels on them as right now, i can't tell which is which

Check the list of stickies for the PC games section, it's up there. smile.gif

The default image viewer that opens when you left click on an image doesn't display the image's filename. Until I find a better solution you can open the images in new tabs to see the filenames and optionally download them from there.

Quote:
Originally Posted by Ryleh View Post

Fantastic post! Definitely bookmarking this for future reference and to share with others. I've been out of the loop for a while so I hadn't heard of any of the more recent derivatives.

Edit: You should consider uploading a .zip of all of the pictures for easier comparison.

I like that suggestion! Unfortunately I ran into the size limit for zip files so I will have to find an alternative uploading solution. More screenshots from other games and configurations are coming soon.

Quote:
Originally Posted by Derko1 View Post

Wow this is great!
So if I were to want to use sweetfx... how would I be able to get it to work with say Skyrim, while I have an ENB that has it's own d3d9.dll already?

Yes, It is possible to do that by using the proxy dll feature of ENB. There are a handful of hybrid ENB+FXAA mods for Skyrim such as this one. Notice how d3d9.dll has been renamed to d3d9_fx.dll. You could probably get SweetFX+ENB working by replacing the Inject FXAA files (including the renamed dll) with SweetFX's files.

Quote:
Originally Posted by psyside View Post

I cant make none of this work, the games just don't start. And yes i put the files in the folder where game exe is located.

Which game are you trying to get it to work on? Sometimes you may have to disable the game's built-in AA and any AA forced through your driver CP to get the AA injectors to work (Dow 2: Retribution is one such example).


TFL Replica is offline  
Reply

Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the Overclock.net - An Overclocking Community forums, you must first register.
Please enter your desired user name, your email address and other required details in the form below.
User Name:
If you do not want to register, fill this field only and the name will be used as user name for your post.
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself.
Email Address:

Log-in



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off