Mirror's Edge Catalyst

File information

Last updated

Original upload

Created by

thrive4

Uploaded by

thrive4

Virus scan

Safe to use

About this mod

Numerous shadertweaks with 3dmigoto see description

Permissions and credits
Changelogs
- description

Mirrors edge catalyst improves much gameplay wise
with respect to it's former mirrors edge however in the
last act of the game the elements which define what can
be used for climbing become a bit obscure.

Basically this mod shifts the color palette, reduces
the quite pronounced darkness gamma wise and adds a
little sharpening in the mix how ever if you are using
other mods that alter the lighting you might not get quite
the same effect as shown in the screenshots.

3dmigoto shader tweaks:
- many bloom and blur reductions
- reduce blue tint used in many locations
- remove conditional dof when climbing
- custom shader for a slight curve
- green tints for vegetation, plants, trees, etc
- remove water drops fx on camera, underground locations
- remove hud spinning arrow right top
- see screenshots for examples

If you do not like specific tweaks please see 'further tweaking'
for disabling specific shader tweaks.

update 01/02/2023 v1.2
- added a custom shader for a slight curve
  can be disabled see 'further tweaking'
- added green tints for vegetation, plants, trees, etc
- remove hud spinning arrow right top
  not sure why but after a while it stays onscreen
  after doing a 'dash'
- remove water drops fx on camera, underground locations
- slight tweaks to tonemap and sharpening

update 07/02/2022 v1.1
- a custom shader upscale.hlsl (3dmigoto) replaces reshade
- tested on windows 10 (v1903)
- frame based effect B reduce vignette, blue tint, bloom optional reduce runnervision

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

- updating (from v1.0)

if the old package (v1.0) was installed remove the following
folder(s) and file(s) in the folder which contains MirrorsEdgeCatalyst.exe

reshade
shadercache
shaderfixes

d3d11.dll
d3dcompiler_46.dll
d3dx.ini
dxgi.dll
dxgi.ini
ReShade.ini

Then copy the contents of the zip file to the install folder of
control, the folder which contains MirrorsEdgeCatalyst.exe.

- install

Copy the contents of the zip file to the install folder of
mirrors edge catalyst, the folder which contains MirrorsEdgeCatalyst.exe

- 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
mirrors edge catalyst:
d3d11.dll (64bits)
d3dcompiler_46.dll
then copy `d3dx.ini, ShaderCache and ShaderFixes from the zip file to the same dir aka folder.

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.

- verify

After running the game the folder ShaderFixes should
gradually (scene and level dependent) contain the .bin versions:

178758d3c5d27a1a-ps_replace.bin
19ae23892689ddb6-ps_replace.bin
361ff403bbb81c11-ps_replace.bin
50f06472595a5e90-ps_replace.bin
59f1aa0e54c02bfc-ps_replace.bin
5e3cf37251347719-ps_replace.bin
64a237d1b6b1b547-ps.bin
817801e472bbf7c6-vs_replace.bin
93ddddc88174e780-ps_replace.bin
9c4d0a3b32d15f3c-ps_replace.bin
a04f0e3ccd0e56ce-ps_replace.bin
b6370d9040e92085-ps_replace.bin
bcc13d7b1db4d74f-ps_replace.bin
curve.hlsl
df9b75e2d8eec2f5-ps_replace.bin
eaa14164fa28ab21-ps_replace.bin
f5c7f8b60e32ff2d-ps_replace.bin
upscale.hlsl

of

178758d3c5d27a1a-ps_replace.txt
19ae23892689ddb6-ps_replace.txt
361ff403bbb81c11-ps_replace.txt
50f06472595a5e90-ps_replace.txt
59f1aa0e54c02bfc-ps_replace.txt
5e3cf37251347719-ps_replace.txt
64a237d1b6b1b547-ps.txt
817801e472bbf7c6-vs_replace.txt
93ddddc88174e780-ps_replace.txt
9c4d0a3b32d15f3c-ps_replace.txt
a04f0e3ccd0e56ce-ps_replace.txt
b6370d9040e92085-ps_replace.txt
bcc13d7b1db4d74f-ps_replace.txt
curve.hlsl
curve.ini
df9b75e2d8eec2f5-ps_replace.txt
eaa14164fa28ab21-ps_replace.txt
f5c7f8b60e32ff2d-ps_replace.txt
upscale.hlsl
upscale.ini

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

- tested

Tested with file version 1.0.3.47248 of mirrors edge catalyst
on win 10 (v1903) / nvidia 1050gtx ti
See screenshot for settings game.

- performance

3dmigoto gpu usage 1080p@ ~55fps (capped and fast sync)
without - clock 1759hz gpu usage ~94%
with    - clock 1759hz gpu usage ~96%
approximately 2% increase (1050gtx ti on win 10)
max gpu: 1772Mhz 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:
178758d3c5d27a1a-ps_replace.txt

Has a remark on the top line:
// remove flare on sun high altitude

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

178758d3c5d27a1a-ps_replace.txt

and if compiled remove:

178758d3c5d27a1a-ps_replace.bin

then restart the game.

All shaders <shadernumber>ps_replace.txt have
a similar descriptive remark.

- tips

Recommended mods:
2008 Outfit
no ksec
Running apocalypse

The hbao ambient occlusion used in game can be quite
taxing for the gpu a slight tweak is to use the following
settings (also see screen shot)

### NVIDIA Profile Inspector ###         Mirror's Edge: Catalyst

[2 - Sync and Refresh]
Frame Rate Limiter V3                    55 FPS
Maximum pre-rendered frames              3
Vertical Sync                            Fast Sync

[4 - Texture Filtering]
Texture filtering - Quality              Quality

[5 - Common]
Ambient Occlusion setting                Performance
Ambient Occlusion usage                  Enabled

[Other]
Enable Ansel                             0x00000000 ANSEL_ENABLE_OFF

https://www.pcgamingwiki.com/wiki/Mirror's_Edge_Catalyst

- shader list

---------- 178758D3C5D27A1A-PS_REPLACE.TXT
// remove flare on sun high altitude
// ---- Created with 3Dmigoto v1.3.16 on Wed May 19 22:02:25 2021

---------- 19AE23892689DDB6-PS_REPLACE.TXT
// vegetation leafs on ground only?
// ---- Created with 3Dmigoto v1.3.16 on Wed Jan 25 09:46:22 2023
// 3Dmigoto declarations
  // change to green variants

---------- 361FF403BBB81C11-PS_REPLACE.TXT
// frame based effect B reduce vignette, blue tint, bloom optional remove runnervision
// ---- Created with 3Dmigoto v1.3.16 on Sat May 22 11:57:56 2021
  r1.xy = float2(0.5,0.5); // reduce vignetteParams.xy * r1.xy;
  //r0.x = log2(r0.x);
  //r0.x = vignetteParams.z * r0.x;
  //r0.x = exp2(r0.x);
  r1.xyz = r1.xyz * float3(1.05499995,1.05499995,1.05499995) + float3(-0.0349999997,-0.0349999997,-0.0449999997); // reduce blue ambient
  r0.xyz = r0.xyz * float3(0.96875,0.96875,0.93875) + float3(0.015625,0.015625,0.003625); // reduce blue ambient

---------- 50F06472595A5E90-PS_REPLACE.TXT
// vegetation leafs of trees and plants, bushes
// ---- Created with 3Dmigoto v1.3.16 on Wed Jan 25 09:23:15 2023
  // change to green variants

---------- 59F1AA0E54C02BFC-PS_REPLACE.TXT
// reduce bloom and radial blur bilboards exterior
// ---- Created with 3Dmigoto v1.3.16 on Wed May 19 11:46:37 2021

---------- 5E3CF37251347719-PS_REPLACE.TXT
// frame based effect reduce vignette, blue tint, bloom optional remove runnervision
// ---- Created with 3Dmigoto v1.3.16 on Wed May 19 16:10:18 2021
  r0.xyz = float3(0,0,0); //lensDirtTexture.Sample(lensDirtTextureSampler_s, v2.xy).xyz;
  //r0.xyz = log2(r0.xyz);
  //r0.xyz = lensDirtExponent.xyz * r0.xyz;
  //r0.xyz = exp2(r0.xyz);
  r1.xy = float2(0.5,0.5); // reduce vignetteParams.xy * r1.xy;
  //r0.w = log2(r0.w);
  //r0.w = vignetteParams.z * r0.w;
  //r0.w = exp2(r0.w);
  r1.xyz = r1.xyz * float3(1.05499995,1.05499995,1.05499995) + float3(-0.0349999997,-0.0349999997,-0.0449999997); // reduce blue ambient
  r0.xyz = r0.xyz * float3(0.96875,0.96875,0.93875) + float3(0.015625,0.015625,0.003625); // reduce blue ambient

---------- 64A237D1B6B1B547-PS.TXT
// remove radial lensflare effect indoors plastic

---------- 817801E472BBF7C6-VS_REPLACE.TXT
// reduce lens flare sun low altitude
// ---- Created with 3Dmigoto v1.3.16 on Thu May 20 19:23:59 2021

---------- 93DDDDC88174E780-PS_REPLACE.TXT
// vegetation leafs and blossom blowing in the wind
// ---- Created with 3Dmigoto v1.3.16 on Wed Jan 25 09:32:26 2023
  // change to green variants
  //r0.y = log2(r0.y);
  //r0.y = exp2(r0.y);

---------- 9C4D0A3B32D15F3C-PS_REPLACE.TXT
// remove conditonal dof climbing pipes, ladders etc looking up
// ---- Created with 3Dmigoto v1.3.16 on Fri May 21 12:37:06 2021

---------- A04F0E3CCD0E56CE-PS_REPLACE.TXT
// remove hud spinning arrow right top
// not sure why but after a while it stays onscreen
// after doing a dash
// ---- Created with 3Dmigoto v1.3.16 on Thu Jan 26 11:00:37 2023

---------- B6370D9040E92085-PS_REPLACE.TXT
// reduce blur and bloom lights interior also effects specific neon armatures exterior
// ---- Created with 3Dmigoto v1.3.16 on Wed May 19 11:40:09 2021

---------- BCC13D7B1DB4D74F-PS_REPLACE.TXT
// vegetation leafs of trees and plants, bushes B
// ---- Created with 3Dmigoto v1.3.16 on Wed Jan 25 10:02:41 2023
  // change to green variants

---------- DF9B75E2D8EEC2F5-PS_REPLACE.TXT
// reduce godrays
// ---- Created with 3Dmigoto v1.3.16 on Thu May 20 19:29:38 2021

---------- EAA14164FA28AB21-PS_REPLACE.TXT
// remove waterdrops fx on camera, undreground locations
// ---- Created with 3Dmigoto v1.3.16 on Thu Jan 26 10:24:37 2023

---------- F5C7F8B60E32FF2D-PS_REPLACE.TXT
// distance based blur reduce glow reflection on floors etc
// ---- Created with 3Dmigoto v1.3.16 on Wed May 19 15:41:34 2021

---------- SHADERLIST.TXT