How to fix/disable shaders in games(DLL,guide and fixes).
  86 / 167    
[quote name='-=HeliX=-' date='06 February 2012 - 03:15 PM' timestamp='1328541356' post='1365901']
I know that it's non-trivial but I'm wondering about the future prospects of Directx 10 and 11
[/quote]

[quote name='-=HeliX=-' date='06 February 2012 - 03:15 PM' timestamp='1328541356' post='1365901']
Almost done the same for DX10 /wink.gif' class='bbc_emoticon' alt=';)' />
[/quote]

Hello,

I've been trying to remove some shaders from a game but I have this error :

(log obtain using the latest helix mod)
[code]
Start logging..
D3DPERF_BeginEvent 0x6EC671DB
D3DPERF_EndEvent 0x6EC67249
D3DPERF_SetMarker 0x6EC672B5
D3DPERF_SetRegion 0x6EC67321
D3DPERF_QueryRepeatFrame 0x6EC6738D
D3DPERF_SetOptions 0x6EC67402
D3DPERF_GetStatus 0x6EC6746D
Direct3DCreate 0x6EC20A62
NV API initialized
Device Created
QueryInterface IDirect3D9
NV API initialized
Device Created
QueryInterface IDirect3D9
NV API initialized
Device Created
QueryInterface IDirect3D9
NV API initialized
Device Created
QueryInterface IDirect3D9
NV API initialized
Device Created
QueryInterface IDirect3D9
NV API initialized
Device Created
QueryInterface IDirect3D9
NV API initialized
Device Created
QueryInterface IDirect3D9
CreateDevice
QueryInterface RealDevice
QueryInterface RealDevice d0223b96
QueryInterface RealDevice d0223b96
gStereoTexMgr Init
lpStereoTex Init 0x37B9A60
Get Display mode Width1024 Heigh 768
[/code]

And to popup dialog shows up :
[code]
"Failed to process to initialization of Direct3D"
[/code]

What is strange, is in the game there is a 'enable hardware acceleration'.
- when it's disable I can run the game in fullscreen , I see the red code line at the top but 3d vision doesn't work.
- when it's enable the game crash (see above), but when I run it in windows mode (not fullscreen) I don't see the red code line at the top.
So I think the game switch to DX10 or 11 when this flag is activated.

Which leads me to this question :
Do you have something for directx 10 or 11 we could test ? (at our own risk of course)

thanks
[quote name='-=HeliX=-' date='06 February 2012 - 03:15 PM' timestamp='1328541356' post='1365901']

I know that it's non-trivial but I'm wondering about the future prospects of Directx 10 and 11





[quote name='-=HeliX=-' date='06 February 2012 - 03:15 PM' timestamp='1328541356' post='1365901']

Almost done the same for DX10 /wink.gif' class='bbc_emoticon' alt=';)' />





Hello,



I've been trying to remove some shaders from a game but I have this error :



(log obtain using the latest helix mod)



Start logging..

D3DPERF_BeginEvent 0x6EC671DB

D3DPERF_EndEvent 0x6EC67249

D3DPERF_SetMarker 0x6EC672B5

D3DPERF_SetRegion 0x6EC67321

D3DPERF_QueryRepeatFrame 0x6EC6738D

D3DPERF_SetOptions 0x6EC67402

D3DPERF_GetStatus 0x6EC6746D

Direct3DCreate 0x6EC20A62

NV API initialized

Device Created

QueryInterface IDirect3D9

NV API initialized

Device Created

QueryInterface IDirect3D9

NV API initialized

Device Created

QueryInterface IDirect3D9

NV API initialized

Device Created

QueryInterface IDirect3D9

NV API initialized

Device Created

QueryInterface IDirect3D9

NV API initialized

Device Created

QueryInterface IDirect3D9

NV API initialized

Device Created

QueryInterface IDirect3D9

CreateDevice

QueryInterface RealDevice

QueryInterface RealDevice d0223b96

QueryInterface RealDevice d0223b96

gStereoTexMgr Init

lpStereoTex Init 0x37B9A60

Get Display mode Width1024 Heigh 768




And to popup dialog shows up :



"Failed to process to initialization of Direct3D"




What is strange, is in the game there is a 'enable hardware acceleration'.

- when it's disable I can run the game in fullscreen , I see the red code line at the top but 3d vision doesn't work.

- when it's enable the game crash (see above), but when I run it in windows mode (not fullscreen) I don't see the red code line at the top.

So I think the game switch to DX10 or 11 when this flag is activated.



Which leads me to this question :

Do you have something for directx 10 or 11 we could test ? (at our own risk of course)



thanks

Posted 05/26/2012 09:00 PM   
I am going to work on "Heroes of Might and Magic 6" . It is rated as "NOT RECOMENDED"...Sounds like a challenge to me :)

Please let me know if anyone is already working on this one.

Thanks all!
I am going to work on "Heroes of Might and Magic 6" . It is rated as "NOT RECOMENDED"...Sounds like a challenge to me :)



Please let me know if anyone is already working on this one.



Thanks all!

HELIX MOD NEWS

Worked on these Helix Mods ---> PURE MX vs. ATV : REFLEX TOY SOLDIERS CRASH TIME 4 BANG BANG Racing

Dual CPU Tyan S7002 (2) Intel Xeon X5550 @ 3.1Ghz 12G DDR3 16 Cores (Logical) 8 Cores (Physical)

Galaxy GTX 670

Posted 05/26/2012 11:34 PM   
Good luck, I think it has shadows which can be removed and hud which can be pushed into depth(which would make it better for in battles) http://photos.3dvisionlive.com/romeck/image/4f1d69e7378501a63e000025/ took some nice pictures which is why I remember it.
Good luck, I think it has shadows which can be removed and hud which can be pushed into depth(which would make it better for in battles) http://photos.3dvisionlive.com/romeck/image/4f1d69e7378501a63e000025/ took some nice pictures which is why I remember it.

Co-founder/Web host of helixmod.blog.com

Donations for web hosting @ paypal -eqzitara@yahoo.com
or
https://www.patreon.com/user?u=791918

Posted 05/27/2012 12:07 AM   
Hi, I'm trying to make this work for swtor again. newest d3d9.dll makes the game crash instantly, so I'm trying to use an old one.

The script that doesn't work is this: (It makes TEXTs disappear altogether)
[code]
vs_3_0
def c220, 0.25, 0, 0.0625, 0
dcl_position v0 // pos<0,1,2,3>
dcl_texcoord v1 // tc0<0,1>
dcl_color v2 // color<0,1,2,3>
dcl_2d s0
dcl_position o0
dcl_texcoord o1.xy
dcl_color o2

#line 9 "F:\Installed Games\Star Wars-The Old Republic\swtor\RetailClient\memory"
dp4 r3.x, v0, c0 // opos<0>
dp4 r3.y, v0, c1 // opos<1>
dp4 r3.z, v0, c2 // opos<2>
dp4 r3.w, v0, c3 // opos<3>
texldl r1, c220.z, s0
mul r1.x, r1.x, -c220.x
add r3.x, r3.x, -r1.x
mov o0, r3
mov o1.xy, v1 // otc0<0,1>
mov o2, v2.zyxw // ocolor<0,1,2,3>[/code]

When I change this:
[code]dp4 r3.x, v0, c0 // opos<0>
dp4 r3.y, v0, c1 // opos<1>
dp4 r3.z, v0, c2 // opos<2>
dp4 r3.w, v0, c3 // opos<3>[/code]

back to this:
[code]dp4 oPos.x, v0, c0 // opos<0>
dp4 oPos.y, v0, c1 // opos<1>
dp4 oPos.z, v0, c2 // opos<2>
dp4 oPos.w, v0, c3 // opos<3>[/code]

Texts appear again, but no 3d effect is applied. What do you suggest?
Hi, I'm trying to make this work for swtor again. newest d3d9.dll makes the game crash instantly, so I'm trying to use an old one.



The script that doesn't work is this: (It makes TEXTs disappear altogether)



vs_3_0

def c220, 0.25, 0, 0.0625, 0

dcl_position v0 // pos<0,1,2,3>

dcl_texcoord v1 // tc0<0,1>

dcl_color v2 // color<0,1,2,3>

dcl_2d s0

dcl_position o0

dcl_texcoord o1.xy

dcl_color o2



#line 9 "F:\Installed Games\Star Wars-The Old Republic\swtor\RetailClient\memory"

dp4 r3.x, v0, c0 // opos<0>

dp4 r3.y, v0, c1 // opos<1>

dp4 r3.z, v0, c2 // opos<2>

dp4 r3.w, v0, c3 // opos<3>

texldl r1, c220.z, s0

mul r1.x, r1.x, -c220.x

add r3.x, r3.x, -r1.x

mov o0, r3

mov o1.xy, v1 // otc0<0,1>

mov o2, v2.zyxw // ocolor<0,1,2,3>




When I change this:

dp4 r3.x, v0, c0  // opos<0>

dp4 r3.y, v0, c1 // opos<1>

dp4 r3.z, v0, c2 // opos<2>

dp4 r3.w, v0, c3 // opos<3>




back to this:

dp4 oPos.x, v0, c0  // opos<0>

dp4 oPos.y, v0, c1 // opos<1>

dp4 oPos.z, v0, c2 // opos<2>

dp4 oPos.w, v0, c3 // opos<3>




Texts appear again, but no 3d effect is applied. What do you suggest?

Posted 05/27/2012 08:31 AM   
Shizof, i have the same problem with a VS (conv 2 to 3)....so any help is welcome
Shizof, i have the same problem with a VS (conv 2 to 3)....so any help is welcome

MY WEB

Helix Mod - Making 3D Better

My 3D Screenshot Gallery

Like my fixes? you can donate to Paypal: dhr.donation@gmail.com

Posted 05/27/2012 02:47 PM   
@shizof.
I told you someone I wrote one for is saying it doesnt work anymore after an update. When you said it didnt work you confirmed it. The swtor page is down now.
@shizof.

I told you someone I wrote one for is saying it doesnt work anymore after an update. When you said it didnt work you confirmed it. The swtor page is down now.

Co-founder/Web host of helixmod.blog.com

Donations for web hosting @ paypal -eqzitara@yahoo.com
or
https://www.patreon.com/user?u=791918

Posted 05/27/2012 03:23 PM   
[quote name='eqzitara' date='27 May 2012 - 05:23 PM' timestamp='1338132205' post='1414348']
@shizof.
I told you someone I wrote one for is saying it doesnt work anymore after an update. When you said it didnt work you confirmed it. The swtor page is down now.
[/quote]

I know, I just don't want to give up hope. Maybe it can work again.
[quote name='eqzitara' date='27 May 2012 - 05:23 PM' timestamp='1338132205' post='1414348']

@shizof.

I told you someone I wrote one for is saying it doesnt work anymore after an update. When you said it didnt work you confirmed it. The swtor page is down now.





I know, I just don't want to give up hope. Maybe it can work again.

Posted 05/27/2012 03:41 PM   
Updates about GTA IV:
I was really busy lately, so I haven't completed my gta4 fix yet, plus shadows in that game is really a mess :(
I've fixed some of the night shadows casted by artificial lights but I can't find the right shaders for daylight casted shadows. I've cycled through VS and PS a lot of times but ther's not any shader that completely disable them or part of them.. there are only a couple of them that only change their shape (probably managed the lights' occlusion..).
I tried to fix them by a pixel shader too but it wasn't useful.. I think we can only play it with shadows disabled from the ingame menu. Water issue fix is really good at least...
Another thing is the fact that nvidia crosshair isn't accurate in that game so disabling game's crosshair was not a good idea, I've just added a 3d depth and a little of transparency to it so that is easier to aim, and with a proper dynamic convergence preset (I'll include it with the fix) I think it's really good too. At this proposal, I would like to say thanks you to eqzitara and mike_ar69 for the idea and the autohotkey script, great work! /wink.gif' class='bbc_emoticon' alt=';)' />
I think the game is a lot more enjoyable in 3d now, I'll make a release with a page on the blog tomorrow.
Updates about GTA IV:

I was really busy lately, so I haven't completed my gta4 fix yet, plus shadows in that game is really a mess :(

I've fixed some of the night shadows casted by artificial lights but I can't find the right shaders for daylight casted shadows. I've cycled through VS and PS a lot of times but ther's not any shader that completely disable them or part of them.. there are only a couple of them that only change their shape (probably managed the lights' occlusion..).

I tried to fix them by a pixel shader too but it wasn't useful.. I think we can only play it with shadows disabled from the ingame menu. Water issue fix is really good at least...

Another thing is the fact that nvidia crosshair isn't accurate in that game so disabling game's crosshair was not a good idea, I've just added a 3d depth and a little of transparency to it so that is easier to aim, and with a proper dynamic convergence preset (I'll include it with the fix) I think it's really good too. At this proposal, I would like to say thanks you to eqzitara and mike_ar69 for the idea and the autohotkey script, great work! /wink.gif' class='bbc_emoticon' alt=';)' />

I think the game is a lot more enjoyable in 3d now, I'll make a release with a page on the blog tomorrow.

my cfg: i5 2500k, 8gb ram, GTX 570, Asus VG278H, Windows 8 Pro x64

Helix mod 3d vision game fixes

Posted 05/27/2012 10:35 PM   
@mana84.
Did you try dumpall from the dx9settings.ini?
When I fix shadows for unreal engine games I don't even bother to go through it manually. I just dumpall load up game exit out. Open up notepad++ then use search files.
Dumping seems to find more as well I believe.
@mana84.

Did you try dumpall from the dx9settings.ini?

When I fix shadows for unreal engine games I don't even bother to go through it manually. I just dumpall load up game exit out. Open up notepad++ then use search files.

Dumping seems to find more as well I believe.

Co-founder/Web host of helixmod.blog.com

Donations for web hosting @ paypal -eqzitara@yahoo.com
or
https://www.patreon.com/user?u=791918

Posted 05/27/2012 11:21 PM   
yeah, dumpall definitely finds more shaders! It can find shaders even in games in witch you can't cycle through them (the ones with VS and PS that only changes from "0" to "-1")!
The problem now is how to search for shadows. How do you usually search for them? I'll try with "shadow" keyword but it could be a shader that doesn't contain that keyword..
yeah, dumpall definitely finds more shaders! It can find shaders even in games in witch you can't cycle through them (the ones with VS and PS that only changes from "0" to "-1")!

The problem now is how to search for shadows. How do you usually search for them? I'll try with "shadow" keyword but it could be a shader that doesn't contain that keyword..

my cfg: i5 2500k, 8gb ram, GTX 570, Asus VG278H, Windows 8 Pro x64

Helix mod 3d vision game fixes

Posted 05/28/2012 08:32 AM   
hmm, thats tricky. Id search shadow, if that doesnt work i'd search using some of the context from the daylight casted shadows.
hmm, thats tricky. Id search shadow, if that doesnt work i'd search using some of the context from the daylight casted shadows.

Co-founder/Web host of helixmod.blog.com

Donations for web hosting @ paypal -eqzitara@yahoo.com
or
https://www.patreon.com/user?u=791918

Posted 05/28/2012 03:22 PM   
24 of the VS contains the keyword "shadow" and I've just tried (commenting the output register) all of them without finding the right one.
Sometimes shadows are managed by a shader that only contains a matrix without any others intrestingly named like "light" etc... so I've searched for a generic "matrix" and tried about 50 shaders without any result. Searching for "shadow" in pixel shader give me a result of 169 files /blink.gif' class='bbc_emoticon' alt=':blink:' />

EDIT: Gta fix added to the blog.
24 of the VS contains the keyword "shadow" and I've just tried (commenting the output register) all of them without finding the right one.

Sometimes shadows are managed by a shader that only contains a matrix without any others intrestingly named like "light" etc... so I've searched for a generic "matrix" and tried about 50 shaders without any result. Searching for "shadow" in pixel shader give me a result of 169 files /blink.gif' class='bbc_emoticon' alt=':blink:' />



EDIT: Gta fix added to the blog.

my cfg: i5 2500k, 8gb ram, GTX 570, Asus VG278H, Windows 8 Pro x64

Helix mod 3d vision game fixes

Posted 05/28/2012 04:06 PM   
A quick question about the convergence and seperation preset how to, I have followed the instructions very carefully but it hasn't worked for me. I'm trying to use it in Iron Front (Arma2 engine game). I've tried the NumPad 0 and 9 Keys and also the number keys above the letters but both times nothing works. I have pu the .dll and .ini in the folder where the .exe is. Nothing is saved into the .ini after I have set the convergence and seperation in game. Any suggestions?
A quick question about the convergence and seperation preset how to, I have followed the instructions very carefully but it hasn't worked for me. I'm trying to use it in Iron Front (Arma2 engine game). I've tried the NumPad 0 and 9 Keys and also the number keys above the letters but both times nothing works. I have pu the .dll and .ini in the folder where the .exe is. Nothing is saved into the .ini after I have set the convergence and seperation in game. Any suggestions?

Posted 05/29/2012 11:14 PM   
[quote name='Richie72' date='29 May 2012 - 07:14 PM' timestamp='1338333267' post='1415223']
A quick question about the convergence and seperation preset how to, I have followed the instructions very carefully but it hasn't worked for me. I'm trying to use it in Iron Front (Arma2 engine game). I've tried the NumPad 0 and 9 Keys and also the number keys above the letters but both times nothing works. I have pu the .dll and .ini in the folder where the .exe is. Nothing is saved into the .ini after I have set the convergence and seperation in game. Any suggestions?
[/quote]
Two quick suggestions:
Check directories
* make sure the DLL and settings file are definitely in the directory where the game exe is, and not some 'launcher' type exe - I have no idea how Iron Front installs
Try Debug DLL
* download the 'debug' dll from here: https://s3.amazonaws.com/HelixMods/*Mainfiles/Debug.zip
* rename the release dll to something temporary and put the debug dll in the directory with the game exe
* start the game
* when the game starts it should have red text at the top of the screen listing shaders and CRC numbers
* if it does, try setting the convergence values to check its working
* if it does not then the dll is probably in the incorrect location
I will note, as it says on the Wiki page, that only the key 0-9 above the letters seem to work, not numpad keys.
Let me know how you get on.
[quote name='Richie72' date='29 May 2012 - 07:14 PM' timestamp='1338333267' post='1415223']

A quick question about the convergence and seperation preset how to, I have followed the instructions very carefully but it hasn't worked for me. I'm trying to use it in Iron Front (Arma2 engine game). I've tried the NumPad 0 and 9 Keys and also the number keys above the letters but both times nothing works. I have pu the .dll and .ini in the folder where the .exe is. Nothing is saved into the .ini after I have set the convergence and seperation in game. Any suggestions?



Two quick suggestions:

Check directories

* make sure the DLL and settings file are definitely in the directory where the game exe is, and not some 'launcher' type exe - I have no idea how Iron Front installs

Try Debug DLL

* download the 'debug' dll from here: https://s3.amazonaws.com/HelixMods/*Mainfiles/Debug.zip

* rename the release dll to something temporary and put the debug dll in the directory with the game exe

* start the game

* when the game starts it should have red text at the top of the screen listing shaders and CRC numbers

* if it does, try setting the convergence values to check its working

* if it does not then the dll is probably in the incorrect location

I will note, as it says on the Wiki page, that only the key 0-9 above the letters seem to work, not numpad keys.

Let me know how you get on.

Rig: Intel i7-8700K @4.7GHz, 16Gb Ram, SSD, GTX 1080Ti, Win10x64, Asus VG278

Posted 05/30/2012 01:05 AM   
If anyone makes a patch for any game be sure to mention it in the games official forums. I did it at dungeon defenders and they said they would sticky it which is pretty awesome IMO. http://forums.trendyent.com/showthread.php?64197-Dungeon-defenders-3d-vision-patch
If anyone makes a patch for any game be sure to mention it in the games official forums. I did it at dungeon defenders and they said they would sticky it which is pretty awesome IMO. http://forums.trendyent.com/showthread.php?64197-Dungeon-defenders-3d-vision-patch

Co-founder/Web host of helixmod.blog.com

Donations for web hosting @ paypal -eqzitara@yahoo.com
or
https://www.patreon.com/user?u=791918

Posted 05/30/2012 02:17 AM   
  86 / 167    
Scroll To Top