DiRT 2

File information

Last updated

Original upload

Created by

thrive4

Uploaded by

thrive4

Virus scan

Safe to use

About this mod

numerous shadertweaks with 3dmigoto and original files
reduce darkening and enhance textures with sweetfx

Permissions and credits
- description

Dirt 2 the odd man out in codemasters rally series.
If you like your rallying serious then this one is not
for you however if you like it with some panache, bon ami
and a top notch soundtrack then you are in for one wild ride...

Some of the post processing and effects in the game are modified by
altering the existing effects.xml and some other existing gamefiles.

3dmigoto shadertweaks:
- reduce overbright road
- reduce tint windscreen in cockpitview
- remove sky sun grey haze and reduce overbirght sky
- remove lensflares
- reduce bloom
- reduce overbright car chasis

The sweetfx tone map reduces the rather heavy darkening, a slight color tweak and a
'poor mans form of tessellation' gives the assets (characters, environment, etc)
a bit of relief.

- install

The following folders in this package contain files that will overwrite
the existing gamefiles (best to make a backup of the original files first)
cars
effects
frontend
postprocess
tracks

Copy the contents of the zip file to the install folder of dirt 2,
the folder which contains dirt2_game.exe with exception of the folder(s):
original - contains the original files (use to restore game files, just in case)

The following instructions are only needed
if you do not like using unverified dll's you can:

download sweetfx from
https://www.guru3d.com/files-details/sweetfx-shader-suite-download.html
copy the dxgi.dll (32bit version) to the install folder then copy the
remaining files and 'SweetFX' folder to the install folder of the game.

download 3dmigoto from:
https://github.com/bo3b/3Dmigoto/releases
download version 1.3.16 and place
the following dlls in the install dir of dirt 2 (32bit versions)
d3d11.dll
d3dcompiler_46.dll

then copy the d3dx.ini and the folders ShaderCache and ShaderFixes
from the zip file to the install dir of dirt 2.

- verify

To test the sweetfx settings open sweetfx/shaders/main.h with
a text editor and modify the lines:

//#include "Splitscreen.h"
//FinalColor = SplitscreenPass(FinalColor,tex);
to
#include "Splitscreen.h"
FinalColor = SplitscreenPass(FinalColor,tex);

save the file and run the game you should see an vertical
splitscreen (left side unmodified, right side modified)

The 3dmigoto can be verified by:
After running the game the folder ShaderFixes should contain the .bin versions:

0d2584675f9c6252-ps_replace.bin
13a13cdeeed48f25-ps_replace.bin
42eb3a2a604060c5-ps_replace.bin
45525e9e8534fa13-ps_replace.bin
5c34548f82b7f45e-ps_replace.bin
6f5b34e812512eac-ps_replace.bin
8e6aa2aa02963934-ps_replace.bin
a2c0e5daacc8161a-ps_replace.bin
ac80dafc96365fcd-ps_replace.bin
b59882bfaf1d2d4f-ps_replace.bin
d807ff8c76233479-ps_replace.bin
df1a3f7b61d63264-ps_replace.bin
fbd6e48b2b9c1ab4-ps_replace.bin
fc7e51c30aa01216-ps_replace.bin

of

0d2584675f9c6252-ps_replace.txt
13a13cdeeed48f25-ps_replace.txt
42eb3a2a604060c5-ps_replace.txt
45525e9e8534fa13-ps_replace.txt
5c34548f82b7f45e-ps_replace.txt
6f5b34e812512eac-ps_replace.txt
8e6aa2aa02963934-ps_replace.txt
a2c0e5daacc8161a-ps_replace.txt
ac80dafc96365fcd-ps_replace.txt
b59882bfaf1d2d4f-ps_replace.txt
d807ff8c76233479-ps_replace.txt
df1a3f7b61d63264-ps_replace.txt
fbd6e48b2b9c1ab4-ps_replace.txt
fc7e51c30aa01216-ps_replace.txt

This means that the file(s) .txt have been compiled by 3dmigoto (d3d11.dll)

- tested

Tested with version 1.0.0 of dirt 2 on win 7 / nvidia 1050gtx ti
See screenshot(s) for settings game.

- performance

sweetfx gpu usage (game capped at 60.7 frames) plus fast sync
without - clock 974Mhz gpu usage ~65%
with    - clock 974Mhz gpu usage ~70%
approximately 5% increase (1050gtx ti on win 7)
max gpu: 1784Mhz gpu usage 100%

- further tweaking

Toggling shaders open sweetfx/shaders/main.h with
a text editor and modify the lines:

#include "cartoon.h"
#include "bump.h"

to (disables the including of the bump relief shaders)

//#include "cartoon.h"
//#include "bump.h"

and

FinalColor = cartoonpass(FinalColor,tex);
FinalColor = bumppass(FinalColor,tex);

to (disables the rendering of the bump relief shaders)

//FinalColor = cartoonpass(FinalColor,tex);
//FinalColor = bumppass(FinalColor,tex);

Tips:

If you need help with getting xlive to work,
look for but be careful, the following files:
dbxLive32.dll
msidcrl40.dll
xlive.dll
xlive.dll.cat
xlivefnt.dll
xliveinstall.dll
xliveinstallhost.exe

and if needed put them in the install folder of dirt 2
where dirt2_game.exe is located.