File information

Last updated

Original upload

Created by

thrive4

Uploaded by

thrive4

Virus scan

Safe to use

About this mod

numerous shadertweaks and tonemap with 3dmigoto

Permissions and credits
Changelogs
- 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

Note(s):
The  package has a customized shader 'upscale.hlsl' which
does some fullscreen tweaks as sharpening and color modification.

- updating (from v1.0)

remove the follwing files and folders:
SweetFX
dxgi.dll
SweetFX_preset.txt
SweetFX_settings.txt

then follow the install procedure.

- 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)

- optional install

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

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.

note: if you choose to use the d3dx.ini contained in the github package
make sure to set (line 248):
hunting=0
the default setting is:
hunting=1
which sets 3dmigoto to a debug mode.

Also add at line 19:
include = ShaderFixes\upscale.ini
include = ShaderFixes\curve.ini

- verify

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
upscale.hlsl
curve.hlsl

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


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

- further tweaking

If you like you can compare the modified shader, ShaderCache contains
the original shader, to alter values.

The curve shader can be disabled by opening d3dx.ini
in a text editor and altering line 20 from:
include = ShaderFixes\curve.ini
to:
;include = ShaderFixes\curve.ini

To disable specific tweaks open the shader from
the folder 'shaderfixes' with a text editor example:
288DAC12B6A06F64-PS_REPLACE.txt

Has a remark on the top line:
// remove lensflares

So if you do not want that to happen
remove the shader from the folder 'shaderfixes'

8E6AA2AA02963934-PS_REPLACE.txt

and if compiled remove:

8E6AA2AA02963934-PS_REPLACE.bin

then restart the game.

All shaders <shadernumber>ps_replace.txt have
a similar descriptive remark (see shader list).

- 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.

- shaderlist

---------- 0D2584675F9C6252-PS_REPLACE.TXT
// road puddles B
// ---- Created with 3Dmigoto v1.3.16 on Wed Apr 22 19:10:38 2020

---------- 13A13CDEEED48F25-PS_REPLACE.TXT
// road patch B
// ---- Created with 3Dmigoto v1.3.16 on Thu Apr 23 12:32:48 2020

---------- 42EB3A2A604060C5-PS_REPLACE.TXT
// remove tint windscreen in cockpitview

---------- 45525E9E8534FA13-PS_REPLACE.TXT
// road puddles C
// ---- Created with 3Dmigoto v1.3.16 on Thu Apr 23 16:25:21 2020

---------- 5C34548F82B7F45E-PS_REPLACE.TXT
// road puddles A
// ---- Created with 3Dmigoto v1.3.16 on Wed Apr 22 19:10:54 2020

---------- 6F5B34E812512EAC-PS_REPLACE.TXT
// remove sky sun grey haze and reduce overbirght sky

---------- 8E6AA2AA02963934-PS_REPLACE.TXT
// remove lensflares

---------- A2C0E5DAACC8161A-PS_REPLACE.TXT
// road side B
// ---- Created with 3Dmigoto v1.3.16 on Thu Apr 23 11:50:18 2020

---------- AC80DAFC96365FCD-PS_REPLACE.TXT
// road patch A
// ---- Created with 3Dmigoto v1.3.16 on Thu Apr 23 12:14:03 2020

---------- B59882BFAF1D2D4F-PS_REPLACE.TXT
// road asphalt A
// ---- Created with 3Dmigoto v1.3.16 on Wed Apr 22 19:18:26 2020

---------- D807FF8C76233479-PS_REPLACE.TXT
// reduce bloom

---------- DF1A3F7B61D63264-PS_REPLACE.TXT
// reduce overbright car chasis
// ---- Created with 3Dmigoto v1.3.16 on Mon Apr 27 19:23:17 2020
// 3Dmigoto declarations

---------- FBD6E48B2B9C1AB4-PS_REPLACE.TXT
// road side
// ---- Created with 3Dmigoto v1.3.16 on Wed Apr 22 18:48:10 2020

---------- FC7E51C30AA01216-PS_REPLACE.TXT
// road main
// ---- Created with 3Dmigoto v1.3.16 on Wed Apr 22 18:47:58 2020