Académique Documents
Professionnel Documents
Culture Documents
.-.
. .---.. .
)
_|_ |
\ /
`-.. .
._.-. .-. | |--- /
( )\ \ / (.-' (.-' | |
/ \
`-' `' `' `--' `--'`-''
' '
Shader Suite
by CeeJay.dk
'--------------------------------------------------'
(
- Version 1.3
SweetFX is a universal image improvement and tweaking mod,
that works with almost any 32bit DirectX 9, 10 or 11 game or application.
It's goal it provide similar tools to games in realtime, as video processing sof
tware provides for movies and videos.
Effects included:
* SMAA Anti-aliasing : Anti-aliases the image using the SMAA technique - see htt
p://www.iryoku.com/smaa/
* LumaSharpen : Sharpens the image, making details easier to see
* Bloom : Makes strong lights bleed their light into their surroundings
* HDR : Mimics an HDR tonemapped look
* Technicolor : Makes the image look like it was processed using a three-strip T
echnicolor process - see http://en.wikipedia.org/wiki/Technicolor
* Cineon DPX : Makes the image look like it was converted from film to Cineon DP
X. Can be used to create a "sunny" look.
* Lift Gamma Gain : Adjust brightness and color of shadows, midtones and highlig
hts (avoids clipping)
* Tonemap : Adjust gamma, exposure, saturation, bleach and defog. (may cause cli
pping)
* 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 - see http://en.wikipedia.org/wiki/Sepia_tone#Se
pia_toning
* Vignette : Darkens the edges of the image to make it look more like it was sho
t with a camera lens. - see http://en.wikipedia.org/wiki/Vignetting )
* Dither : Applies dithering to simulate more colors than your monitor can displ
ay. This lessens banding artifacts - see http://en.wikipedia.org/wiki/Dithering#
Digital_photography_and_image_processing )
* Splitscreen : Enables the before-and-after splitscreen comparison mode.
You can find new releases of SweetFX in it's thread on the Guru3d forums :
http://forums.guru3d.com/showthread.php?t=368880
/*-----------------------------------------------------------.
/
Installation
/
'-----------------------------------------------------------*/
1) Extract or copy all the files into the directory of a game exe (keeping the f
ile structure intact).
The installed files are:
d3d9.dll
DirectX 9 games
d3d9.fx
- DirectX 9 specific shader code
dxgi.dll
- DirectX 10/11 proxy dll that will inject shaders i
nto DirectX 10/11 games
dxgi.fx
- DirectX 10/11 specific shader code
injector.ini
- Settings for the shader injector dlls - you can re
configure the keys used in this file
SweetFX readme.txt
- This readme
SweetFX_preset.txt
- You can choose which settings file to load here default is to load SweetFX_settings.txt
SweetFX_settings.txt
- SweetFX settings. Effects can be turned on and off
here, and their settings can be tweaked.
SweetFX/ (directory)
- The SweetFX subdirectory. All the shaders, except
d3d9.fx and dxgi.fx are stored here.
|- /Presets/
- Presets are stored here.
'- /Game_Compability.txt - Can't make SweetFX work with a game? - You can fin
d help here.
log.log
- This logfile is not installed, but will be created
when the DirectX proxy dll runs.
If something goes wrong, this file will usually te
ll you why.
Some games require special attention - You can find a list of those and instruct
ions on how to get them working with SweetFX
in SweetFX/Game_Compability.txt
If you encounter a game not in the list that requires more effect to work with S
weetFX, post about it in the official thread
on Guru3d : http://forums.guru3d.com/showthread.php?t=368880
2) Install the latest DirectX update if you haven't already
Last I looked it was here : http://www.microsoft.com/en-us/download/details.a
spx?id=35
(You don't need any of the other stuff Microsoft tries to push - just DirectX
)
/*-----------------------------------------------------------.
/
Usage
/
'-----------------------------------------------------------*/
It will automatically run when you start the DirectX 9, 10 or 11 game that you a
dded SweetFX to.
If you want to run different game with SweetFX then you need to install to that
games directory too.
It does not modify any game files either on disk or in memory.
Instead it uses a custom Direct3D runtime dll which the most DirectX games will
call.
PRINTSCRN saves a screenshot named ScreenshotXXXX.bmp in the directory you insta
lled SweetFX to.
SCROLL_LOCK switches it ON and OFF. It starts in ON mode.
PAUSE reloads the shader files (this is useful when you need to tweak the settin
gs while the game is running)
Keys can be reconfigured in the injector.ini file.
Some keyboards (mostly on laptops) don't have a dedicated SCROLL_LOCK button,
but require you to hold down the Fn button while you press another key to activa
te Scroll Lock.
If you can't figure out the right combination just from looking at your keyboard
and experimenting,
then read the documentation for your keyboard or just reconfigure the keys in in
jector.ini
/*-----------------------------------------------------------.
/
Tweaking settings
/
'-----------------------------------------------------------*/
You can choose which effects to enable, and set their parameters
in the SweetFX_settings.txt file - this can even be done while the game is runni
ng.
1) Switch away from your game with ALT+TAB or WIN+TAB
2) Open SweetFX_settings.txt in any text editor - fx. : Notepad (I use Notepad2)
3) Edit the settings and save.
4) Switch back to your game with ALT+TAB or WIN+TAB
5) If the game is running in fullscreen mode then it will now have reloaded the
shader files
and your new settings have been applied.
If the game is running in Windowed mode then you need to press the PAUSE key
to reload the shader files
and apply your new settings.
And naturally you don't have to start the game before you edit your settings.
It can be done before the game runs as well.
/*-----------------------------------------------------------.
/
Presets
/
'-----------------------------------------------------------'/
SweetFX has a preset feature. Presets are just settings files made for a specifi
c game, series of games or a special purpose.
Many (most) of these are made by the users of SweetFX.
I include some of these in /SweetFX/Presets/
They are a good start if you need help finding the settings that are just right
for you.
The preset feature works like this:
1) SweetFX looks in SweetFX_preset.txt , which tells it what settings file to in
clude (load)
2) It then includes (loads) those settings.
Per default the contents of SweetFX_preset.txt is a single command:
#include "SweetFX_settings.txt"
This tells SweetFX to load the settings in SweetFX_settings.txt
To load different settings simply point to a preset.
Fx. to use the awesome Torchlight2_TFL.txt preset by TFL that is intended to mak
e Torchlight 2 look,
darker, dirtier, grittier and all-around more "evil" simply change the #include
line to :
#include "SweetFX/Presets/Torchlight2_TFL.txt"
Note that although presets are often intended for a single specific game, they c
an be used in any game you wish.
To make your own preset simply copy the SweetFX_settings.txt file, rename it wha
tever you'd like, and point the #include line to its location
For example :
1) Make a copy
2) Rename it mycustom_preset.txt
3) Move it to the Presets folder (you don't HAVE to do this - this is just to ke
ep the files organized)
4) Change the #include line to :
#include "SweetFX/Presets/mycustom_preset.txt"
If you make a really good preset please share it with other users in the SweetFX
release thread at :
http://forums.guru3d.com/showthread.php?t=368880
Similar to the other presets try also to include some details about your preset
Game: What game(s) you made this for
SweetFX version: What SweetFX version you made this for
Author: Your name
Description: "Your description goes here"
Showcase: Have screenshots or a video that showcases your preset? - put a link h
ere.
/*-----------------------------------------------------------.
/
Problems?
/
'-----------------------------------------------------------*/
When the mod starts it creates a log.log file next to it's own location.
Open the log with a text editor and see what the problem is.
If no log file is created then the mod did not start.
- Maybe you didn't put the files in the right location?
- Or maybe the game doesn't use DirectX?
Most games use DirectX 9, 10 or 11.
Notable games that use OpenGL (which SweetFX doesn't work with) are all games by
id software,
and those games based on their 3D engines.
Q: It says d3dx9_43.dll is missing
A: You need the latest DirectX 9 update.
See step 2) of the installation section.
Q: It does not run with the 64bit version of my game exe.
A: SweetFX is not compatible with 64bit versions of games - use a 32bit version.
Q: My game crashes with SweetFX installed.
A: The log.log file will most likely tell you why.
If no log file is created but it still crashes with SweetFX installed and not
without, then it's likely crashing because it can't write to the log file.
This is usually caused by insufficient user permissions in the game folder yo