About this mod
Numerous shadertweaks see description
3dmigoto lumasharpen and tonemap
- Permissions and credits
Sherlock Holmes the devils daughter is the follow up
to the critically acclaimed 'crimes and punishments'
regrettably it does not reach the same heights.
Story wise it expands on the testament of sherlock holmes.
Basically this mod shifts the color palette, reduces
the quite pronounced darkness gamma wise and adds a
little sharpening in the mix see screenshots for
an impression.
If you do not like specific tweaks please see 'further tweaking'
for disabling specific shader tweaks.
3dmigoto shader tweaks:
- global fx ambient occlusion and tonemap prevent divide by zero
- reduce fog exterior
- remove fog interior
- decrease highlights skin
- prevent divide by zero slight optimization
- reduce flip flop window reflections
- reduce toby vision (dog)
- remove halo fog fx interiors close to window
- reduce detective recontruct mode and detective highlight mode
- lightshafts aka godrays increase fade distance
Note(s):
The package has a customized shader 'upscale.hlsl' which
does some fullscreen tweaks as sharpening and color modification.
- install
Copy the contents of the zip file to the install folder of
sherlock holmes the devils daughter, the folder which contains
Sherlock.exe
<drive>:\sherlock holmes the devils daughter\Binaries\Win64
- 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
sherlock holmes the devils daughter:
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:
0402f2668f7fbd6a-ps_replace.bin
15cffe8273dc0d9c-ps_replace.bin
15d0209f048e3928-vs_replace.bin
31c3514d7430a1c5-ps_replace.bin
795263c1db039507-ps_replace.bin
80caf81f8b5c6536-ps_replace.bin
90c2c9cd95c801e0-ps_replace.bin
90f768f47f22e0ec-vs_replace.bin
aee4a32873243c0e-ps_replace.bin
afff76b482e3dde9-ps_replace.bin
d05421a874855d58-ps_replace.bin
of
0402f2668f7fbd6a-ps_replace.txt
15cffe8273dc0d9c-ps_replace.txt
15d0209f048e3928-vs_replace.txt
31c3514d7430a1c5-ps_replace.txt
795263c1db039507-ps_replace.txt
80caf81f8b5c6536-ps_replace.txt
90c2c9cd95c801e0-ps_replace.txt
90f768f47f22e0ec-vs_replace.txt
aee4a32873243c0e-ps_replace.txt
afff76b482e3dde9-ps_replace.txt
d05421a874855d58-ps_replace.txt
This means that the file(s) .txt have been compiled by 3dmigoto (d3d11.dll)
- tested
Tested with file version 1.0.10897.0 of sherlock holmes the devils daughter
on win 10 / nvidia 1050gtx ti
See screenshot for settings game.
- performance
3dmigoto gpu usage 1080p@ ~60fps
without - clock 1746 Mhz gpu usage ~86%
with - clock 1746 Mhz gpu usage ~82%
approximately 4% decrease (1050gtx ti on win 7 / win 10)
max gpu: 1772Mhz gpu usage 100%
*) Game set to fast sync through nvidia inpsector
- further tweaking
If you like you can compare the modified shader, ShaderCache contains
the original shader, to alter values.
To disable specific tweaks open the shader from
the folder 'shaderfixes' with a text editor example:
8d01e16dc982b984-ps_replace.txt
Has a remark on the top line:
// reduce fx detective mode
So if you do not want that to happen
remove the shader from the folder 'shaderfixes'
AFFF76B482E3DDE9-PS_REPLACE.TXT
and if compiled remove:
AFFF76B482E3DDE9-PS_REPLACE.TXT
then restart the game.
All shaders <shadernumber>ps_replace.txt have
a similar descriptive remark. (see shader list)
- tips
Create a shortcut (.lnk) with your file explorer and modify
the properties to:
"<drive>:\<exepath>\Sherlock.exe" -norc -nowrite -nodatabase -noforcefeedback -nosplash
- shader list
---------- 0402F2668F7FBD6A-PS_REPLACE.TXT
// global fx ambient occlusion and tonemap prevent div zero
// ---- Created with 3Dmigoto v1.3.16 on Sat Aug 06 12:32:44 2022
// 3Dmigoto declarations
o0.x = 0.8;//saturate(-r0.x * 0.005 + 1);
---------- 15CFFE8273DC0D9C-PS_REPLACE.TXT
// reduce fog exterior pixel shader
---------- 15D0209F048E3928-VS_REPLACE.TXT
// skin shader
// decrease highlights skin
---------- 31C3514D7430A1C5-PS_REPLACE.TXT
// global fx grading and illumination normalize
// ---- Created with 3Dmigoto v1.3.16 on Sat Aug 06 12:57:16 2022
// 3Dmigoto declarations
// prevent div zero
// reduce flip flop window reflections
r0.x = 0;//r0.x ? MinMaxBlurClamp.x : MinMaxBlurClamp.y;
// prevent div zero
//r0.w = saturate(DOFKernelSize.y * r1.w);
// increase light
r3.xyzw = float4(1,1,1,1); // remove LowResPostProcessBuffer.Sample(LowResPostProcessBufferSampler_s, r0.yz).xyzw;
r4.xyzw = float4(1,1,1,0); // remove BokehDOFLayerTexture.Sample(BokehDOFLayerTextureSampler_s, r0.yz).xyzw;
r3.x = 0;//saturate(DOFKernelSize.y * r4.w);
---------- 795263C1DB039507-PS_REPLACE.TXT
// reduce toby vision
// ---- Created with 3Dmigoto v1.3.16 on Thu Aug 18 20:54:47 2022
// 3Dmigoto declarations
---------- 80CAF81F8B5C6536-PS_REPLACE.TXT
// remove halo fog fx interiors close to window
// ---- Created with 3Dmigoto v1.3.16 on Sun Aug 21 11:43:00 2022
// 3Dmigoto declarations
---------- 90C2C9CD95C801E0-PS_REPLACE.TXT
// reduce detective recontruct mode fx
// ---- Created with 3Dmigoto v1.3.16 on Fri Aug 19 10:44:21 2022
// 3Dmigoto declarations
// curved screen
r1.z = 4.0f; // keep around 5 or lower
r1.w = (r1.x * 0.04f) * r1.y; // reduce for a gradual curve def 0.2
---------- 90F768F47F22E0EC-VS_REPLACE.TXT
// reduce fog exterior
---------- AEE4A32873243C0E-PS_REPLACE.TXT
// remove fog interior
// ---- Created with 3Dmigoto v1.3.16 on Mon Aug 08 10:58:58 2022
// 3Dmigoto declarations
---------- AFFF76B482E3DDE9-PS_REPLACE.TXT
// reduce fx detective mode
// ---- Created with 3Dmigoto v1.3.16 on Wed Aug 17 10:25:35 2022
// 3Dmigoto declarations
// add curved screen
r1.z = 4.0f; // keep around 5 or lower
r1.w = (r1.x * 0.04f) * r1.y; // reduce for a gradual curve def 0.2
---------- D05421A874855D58-PS_REPLACE.TXT
// fx lightshafts aka godrays increase fade distance
// ---- Created with 3Dmigoto v1.3.16 on Wed Aug 10 12:18:14 2022
// 3Dmigoto declarations
// increase halo a bit
// prevent blow out
---------- SHADERLIST.TXT