How to fix/disable shaders in games(DLL,guide and fixes).
165 / 167
Do you need to disable the whole HUD, or just part of it? Is this a DX9 or DX11 game?
I'd suggest starting by going through the first couple of bo3b's lessons to learn how to disable effects:
http://wiki.bo3b.net
[quote="cicicleta"]Hello, I have this shader and I want to disable it, but I dont know how. Could someone tell me how?
Thanks
[/quote]
Write
[code]discard;[/code]
to disable it. For example, in line 42, because 42 is the answer to everything (heh, bad joke).
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It worked!!!
I saw it in this web [url]https://forums.dolphin-emu.org/Thread-shader-fixing-disabling-for-2d-and-3d-thread-using-3dmigoto?page=4[/url]
(it was you too!!!) but somehow it didnt work but now it works perfect!!!
TY
Hi again!!! I am making a fix for the fantastic game THE LONG DARK, with the fantastic Darkstarsword's unity5 template. In my d3d11_log.txt I got some warnings like this: WARNING: Duplicate section found in d3dx.ini: [ShaderOverride_027c750fde1237f5]. These are parts the d3d11_log.txt and the d3dx.ini files. Should I delete one of this lines? which one? thanks.
[code]
##################################################################################
---d3d11_log.txt--
WARNING: Duplicate section found in d3dx.ini: [ShaderOverride_027c750fde1237f5]
##################################################################################
---d3dx.ini---
[ShaderOverride_027c750fde1237f5
hash = 027c750fde1237f5
ps-cb11 = Resource_UnityPerDraw
Resource_CameraDepthTexture = ps-t0
Resource_UnityPerCamera = ps-cb1
[ShaderOverride_027c750fde1237f5]
hash = 027c750fde1237f5
ps-cb11 = Resource_UnityPerDraw
ps-cb10 = copy Resource_Inverse_MVP
##################################################################################[/code]
Hi again!!! I am making a fix for the fantastic game THE LONG DARK, with the fantastic Darkstarsword's unity5 template. In my d3d11_log.txt I got some warnings like this: WARNING: Duplicate section found in d3dx.ini: [ShaderOverride_027c750fde1237f5]. These are parts the d3d11_log.txt and the d3dx.ini files. Should I delete one of this lines? which one? thanks.
[quote="TsaebehT"]umm...
[url]http://helixmod.blogspot.com/2015/04/the-long-dark.html[/url][/quote]
That fix is full broken :(
That's why made a new one with darkstarsword's unity 5 template, The game is playable now but I got some warnings in file d3d11_log.txt
That fix is full broken :(
That's why made a new one with darkstarsword's unity 5 template, The game is playable now but I got some warnings in file d3d11_log.txt
uniform float4x4 _Object2World;
uniform float4x4 _World2Object;
uniform float4 unity_LODFade; // x is the fade value ranging within [0,1]. y is x quantized into 16 levels
uniform float4 unity_WorldTransformParams; // w is usually 1.0, or -1.0 for odd-negative scale transforms
}
So you have both HLSL & ASM versions of the same shader in the Shaderfixes directory? You only need one (preferably the HLSL file). Also I see you have [i]--fix-unity-lighting-ps[/i] applied to the HLSL file. But you have [i]--fix-unity-reflection[/i] applied to the ASM file.
Try deleting all the ASM files from the Shaderfixes directory. Also remove all the ASM entries from the d3dx.ini file. Such as the one below:
[code][ShaderOverride_027c750fde1237f5]
hash = 027c750fde1237f5
ps-cb11 = Resource_UnityPerDraw
ps-cb10 = copy Resource_Inverse_MVP[/code]
Let me know what your get.
So you have both HLSL & ASM versions of the same shader in the Shaderfixes directory? You only need one (preferably the HLSL file). Also I see you have --fix-unity-lighting-ps applied to the HLSL file. But you have --fix-unity-reflection applied to the ASM file.
Try deleting all the ASM files from the Shaderfixes directory. Also remove all the ASM entries from the d3dx.ini file. Such as the one below:
I'd suggest starting by going through the first couple of bo3b's lessons to learn how to disable effects:
http://wiki.bo3b.net
2x Geforce GTX 980 in SLI provided by NVIDIA, i7 6700K 4GHz CPU, Asus 27" VG278HE 144Hz 3D Monitor, BenQ W1070 3D Projector, 120" Elite Screens YardMaster 2, 32GB Corsair DDR4 3200MHz RAM, Samsung 850 EVO 500G SSD, 4x750GB HDD in RAID5, Gigabyte Z170X-Gaming 7 Motherboard, Corsair Obsidian 750D Airflow Edition Case, Corsair RM850i PSU, HTC Vive, Win 10 64bit
Alienware M17x R4 w/ built in 3D, Intel i7 3740QM, GTX 680m 2GB, 16GB DDR3 1600MHz RAM, Win7 64bit, 1TB SSD, 1TB HDD, 750GB HDD
Pre-release 3D fixes, shadertool.py and other goodies: http://github.com/DarkStarSword/3d-fixes
Support me on Patreon: https://www.patreon.com/DarkStarSword or PayPal: https://www.paypal.me/DarkStarSword
3DMigoto: https://github.com/bo3b/3Dmigoto/releases
Lessons: http://wiki.bo3b.net/index.php?title=Bo3b%27s_School_for_Shaderhackers
2x Geforce GTX 980 in SLI provided by NVIDIA, i7 6700K 4GHz CPU, Asus 27" VG278HE 144Hz 3D Monitor, BenQ W1070 3D Projector, 120" Elite Screens YardMaster 2, 32GB Corsair DDR4 3200MHz RAM, Samsung 850 EVO 500G SSD, 4x750GB HDD in RAID5, Gigabyte Z170X-Gaming 7 Motherboard, Corsair Obsidian 750D Airflow Edition Case, Corsair RM850i PSU, HTC Vive, Win 10 64bit
Alienware M17x R4 w/ built in 3D, Intel i7 3740QM, GTX 680m 2GB, 16GB DDR3 1600MHz RAM, Win7 64bit, 1TB SSD, 1TB HDD, 750GB HDD
Pre-release 3D fixes, shadertool.py and other goodies: http://github.com/DarkStarSword/3d-fixes
Support me on Patreon: https://www.patreon.com/DarkStarSword or PayPal: https://www.paypal.me/DarkStarSword
Thanks
This will put it in a small scroll-able window.
TY
Write
to disable it. For example, in line 42, because 42 is the answer to everything (heh, bad joke).
CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com
I saw it in this web https://forums.dolphin-emu.org/Thread-shader-fixing-disabling-for-2d-and-3d-thread-using-3dmigoto?page=4
(it was you too!!!) but somehow it didnt work but now it works perfect!!!
TY
http://helixmod.blogspot.com/2015/04/the-long-dark.html
[MonitorSizeOverride][Global/Base Profile Tweaks][Depth=IPD]
That fix is full broken :(
That's why made a new one with darkstarsword's unity 5 template, The game is playable now but I got some warnings in file d3d11_log.txt
Dual boot Win 7 x64 & Win 10 (1809) | Geforce Drivers 417.35
This is the file 027c750fde1237f5-ps.txt
This is 027c750fde1237f5-ps_replace.txt~failed
Thanks for your time!!!
Try deleting all the ASM files from the Shaderfixes directory. Also remove all the ASM entries from the d3dx.ini file. Such as the one below:
Let me know what your get.
Dual boot Win 7 x64 & Win 10 (1809) | Geforce Drivers 417.35