How to fix/disable shaders in games(DLL,guide and fixes).
  57 / 167    
anyone knows what does c[#] stand for? it may have something to do with why my latest attempt isn't working. in one of the examples, "add r3, r0, c3" is added, but c3 isn't anywhere else in the code.
anyone knows what does c[#] stand for? it may have something to do with why my latest attempt isn't working. in one of the examples, "add r3, r0, c3" is added, but c3 isn't anywhere else in the code.

Posted 03/31/2012 01:06 AM   
First post here (from a long-time ATI/AMD owner). I recently added 2x GTX 680s to my stable and am very much looking forward to replaying a few older games (such as Mass Effect 2). I have previous experience with Tridef 3D but the collective Nvidia effort (by several of those in this thread) appeared to be much better. Unfortunately every D3D9.dll/Shaderoveride results in either a crash or a perpetual black screen after the annoying logos (system: Win 7 64, 12GB, SLI GTX 680 301.10 drivers, non overclocked CPU, Asus VG278H). My Mass Effect 2 is of the Origin variety, and I have the overlay disabled. My DVD version of Mass Effect 1 has the exact same result when I try the ME1 mod so I doubt it's an Origin loader problem. When I'm presented with the black screen, it cycles between 3D mode and 2D and the glasses go nuts. It takes many attempts to get the desktop back and terminate the application. Nvidia's profile for ME2 won't work for my 40 year old eyes. I tried playing it in 2D for almost 30 seconds but there is no turning back. Maybe this is an issue with the newer drivers, or possibly the 680. I have a few other games to keep me occupied, but it'd be great to be able to enjoy ME2 and 3 in the full 3D glory. Thanks!
First post here (from a long-time ATI/AMD owner). I recently added 2x GTX 680s to my stable and am very much looking forward to replaying a few older games (such as Mass Effect 2). I have previous experience with Tridef 3D but the collective Nvidia effort (by several of those in this thread) appeared to be much better. Unfortunately every D3D9.dll/Shaderoveride results in either a crash or a perpetual black screen after the annoying logos (system: Win 7 64, 12GB, SLI GTX 680 301.10 drivers, non overclocked CPU, Asus VG278H). My Mass Effect 2 is of the Origin variety, and I have the overlay disabled. My DVD version of Mass Effect 1 has the exact same result when I try the ME1 mod so I doubt it's an Origin loader problem. When I'm presented with the black screen, it cycles between 3D mode and 2D and the glasses go nuts. It takes many attempts to get the desktop back and terminate the application. Nvidia's profile for ME2 won't work for my 40 year old eyes. I tried playing it in 2D for almost 30 seconds but there is no turning back. Maybe this is an issue with the newer drivers, or possibly the 680. I have a few other games to keep me occupied, but it'd be great to be able to enjoy ME2 and 3 in the full 3D glory. Thanks!

Posted 03/31/2012 01:06 AM   
@2357minister
Well my me2 fix is unfortunately not too hot tbh. I was just starting to learn(though I still am) I will go back to it at one point when I learn more or maybe someone else will fix it. Helix's fix for me3 is amazing though and mana84's me1 is also great.
First off disable origin in-game in the origin settings. I think you are saying you did that if not its EVGA precision that's causing the crash my guess. I wrote up a page that SHOULD help you figure out whats wrong. http://helixmod.wikispot.org/How_To_Install
If that doesnt do it open msconfig and disable all startup programs. Reboot and load game without opening anything. If you still cant get it to work contact me back.

Basically crashing during logo's means an overlay is crashing your game whether its origin, evga precision, etc.
@2357minister

Well my me2 fix is unfortunately not too hot tbh. I was just starting to learn(though I still am) I will go back to it at one point when I learn more or maybe someone else will fix it. Helix's fix for me3 is amazing though and mana84's me1 is also great.

First off disable origin in-game in the origin settings. I think you are saying you did that if not its EVGA precision that's causing the crash my guess. I wrote up a page that SHOULD help you figure out whats wrong. http://helixmod.wikispot.org/How_To_Install

If that doesnt do it open msconfig and disable all startup programs. Reboot and load game without opening anything. If you still cant get it to work contact me back.



Basically crashing during logo's means an overlay is crashing your game whether its origin, evga precision, etc.

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 03/31/2012 01:28 AM   
please disregard my latest cries for help, I figured it out. will post a nice new surprise soon.

I'm still rather curious as to what c does though.

And there we go. Ladies and gentlemen, [url="http://helixmod.blogspot.ca/2012/03/sega-rally-revo-3d-fix.html"]START YOUR ENGINES[/url]! /cool.gif' class='bbc_emoticon' alt=':cool:' />

eqz: oh ok right. C for Container I guess then. makes sense. I even think someone had told me before and I managed to forget. (if you haven't noticed I'm not mathematically minded for one bit, haha)
please disregard my latest cries for help, I figured it out. will post a nice new surprise soon.



I'm still rather curious as to what c does though.



And there we go. Ladies and gentlemen, START YOUR ENGINES! /cool.gif' class='bbc_emoticon' alt=':cool:' />



eqz: oh ok right. C for Container I guess then. makes sense. I even think someone had told me before and I managed to forget. (if you haven't noticed I'm not mathematically minded for one bit, haha)

Posted 03/31/2012 01:49 AM   
20 shader hud. 19 shaders working 1 not..... awesome. I cant figure out whats wrong with it either.

@anisotonic c is used to store values.
def c220, 0.00, 1100, 0.0625, 0
20 shader hud. 19 shaders working 1 not..... awesome. I cant figure out whats wrong with it either.



@anisotonic c is used to store values.

def c220, 0.00, 1100, 0.0625, 0

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 03/31/2012 02:50 AM   
[quote name='eqzitara' date='30 March 2012 - 06:28 PM' timestamp='1333157312' post='1390152']
@2357minister
Well my me2 fix is unfortunately not too hot tbh. I was just starting to learn(though I still am) I will go back to it at one point when I learn more or maybe someone else will fix it. Helix's fix for me3 is amazing though and mana84's me1 is also great.
First off disable origin in-game in the origin settings. I think you are saying you did that if not its EVGA precision that's causing the crash my guess. I wrote up a page that SHOULD help you figure out whats wrong. http://helixmod.wikispot.org/How_To_Install
If that doesnt do it open msconfig and disable all startup programs. Reboot and load game without opening anything. If you still cant get it to work contact me back.

Basically crashing during logo's means an overlay is crashing your game whether its origin, evga precision, etc.
[/quote]

Thanks for the reply. I don't have any overlays running (Galaxy GTX, not EVGA and my ME1 is the standard non-steam/Origin/etc version). Mass Effect 1 gets as far as resuming/starting a new game and goes black with the background music playing. ME2 dies after the second intro movie (when the Cerebrus computer terminal would pop up). If I delete the D3D9.DLL all is well. There appear to be multiple versions, but even the latest (dated not too many days ago) does the same thing. Considering that all I'm supposed to do is copy one file and one directory into the binary directory I -hope- I've got it right. In a former life (ie quite a few years ago) I was a c/c++ coder for win32/osx/linux and was involved in CCD driver development but I'm definitely still not above overlooking the obvious. Tomorrow I'm going to reinstall the OS and games, just for kicks (you never know). Is there anyone else with similar hardware (GTX 680 +/- SLI) who can run the modified D3D9 DLL?
[quote name='eqzitara' date='30 March 2012 - 06:28 PM' timestamp='1333157312' post='1390152']

@2357minister

Well my me2 fix is unfortunately not too hot tbh. I was just starting to learn(though I still am) I will go back to it at one point when I learn more or maybe someone else will fix it. Helix's fix for me3 is amazing though and mana84's me1 is also great.

First off disable origin in-game in the origin settings. I think you are saying you did that if not its EVGA precision that's causing the crash my guess. I wrote up a page that SHOULD help you figure out whats wrong. http://helixmod.wikispot.org/How_To_Install

If that doesnt do it open msconfig and disable all startup programs. Reboot and load game without opening anything. If you still cant get it to work contact me back.



Basically crashing during logo's means an overlay is crashing your game whether its origin, evga precision, etc.





Thanks for the reply. I don't have any overlays running (Galaxy GTX, not EVGA and my ME1 is the standard non-steam/Origin/etc version). Mass Effect 1 gets as far as resuming/starting a new game and goes black with the background music playing. ME2 dies after the second intro movie (when the Cerebrus computer terminal would pop up). If I delete the D3D9.DLL all is well. There appear to be multiple versions, but even the latest (dated not too many days ago) does the same thing. Considering that all I'm supposed to do is copy one file and one directory into the binary directory I -hope- I've got it right. In a former life (ie quite a few years ago) I was a c/c++ coder for win32/osx/linux and was involved in CCD driver development but I'm definitely still not above overlooking the obvious. Tomorrow I'm going to reinstall the OS and games, just for kicks (you never know). Is there anyone else with similar hardware (GTX 680 +/- SLI) who can run the modified D3D9 DLL?

Posted 03/31/2012 04:01 AM   
680 non sli. I am fine. do a fresh boot without any software IMO.
Direct X does not enable until movies are done loading. When another dll that loads with direct x. Whether it tracks your fps, overlay, etc. It has a chance of crashing it. Possibly tridef, evga, any fps tracking software, etc.

Diablo 3 beta time = )
Almost out of games =(

Update: Did diablo 3 was written in vs_3_0 so was easy as opposed to dota which was written almost entirely in vs_2_0 = /. Will post images later. I dont think I will put up a file though just because they may fix it or be unhappy for whatever reason that this has been done that and release is around the corner. As opposed to dota 2 where its who knows but tons of people have accounts. I will just confirm it works on release and do a midnight release.
Will probably have two version with static depth.(I dont like = / )
And dynamic convergence/scaling depth.(I like. Nameplates remain over items/characters. Regardless of your depth/convergence setting)~Thanks mana.
Shadows are broken though.

@anisotonic
try out my hud. If you get a chance can you see if you can figure out the one that shader that messing up health/mana bars. I spent like an hour trying to figure it out. https://s3.amazonaws.com/Helixfix/dota010.pns
680 non sli. I am fine. do a fresh boot without any software IMO.

Direct X does not enable until movies are done loading. When another dll that loads with direct x. Whether it tracks your fps, overlay, etc. It has a chance of crashing it. Possibly tridef, evga, any fps tracking software, etc.



Diablo 3 beta time = )

Almost out of games =(



Update: Did diablo 3 was written in vs_3_0 so was easy as opposed to dota which was written almost entirely in vs_2_0 = /. Will post images later. I dont think I will put up a file though just because they may fix it or be unhappy for whatever reason that this has been done that and release is around the corner. As opposed to dota 2 where its who knows but tons of people have accounts. I will just confirm it works on release and do a midnight release.

Will probably have two version with static depth.(I dont like = / )

And dynamic convergence/scaling depth.(I like. Nameplates remain over items/characters. Regardless of your depth/convergence setting)~Thanks mana.

Shadows are broken though.



@anisotonic

try out my hud. If you get a chance can you see if you can figure out the one that shader that messing up health/mana bars. I spent like an hour trying to figure it out. https://s3.amazonaws.com/Helixfix/dota010.pns

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 03/31/2012 04:17 AM   
RE: X3

I notice the system star is too close.

also the default toggle for the change of mouse icon is the same as the thruster controls. Can these be changed or is a right pain to do?

Thanks

edit

I notice from the dx9settings.ini file that the two keys, A and S, are bound by:
Preset1Key = 65
Preset2Key = 83

does anyone know what numbers the \ and ` (tilde) key are?

I am struggling to play without using the left and down thrusters :(

Thanks!
RE: X3



I notice the system star is too close.



also the default toggle for the change of mouse icon is the same as the thruster controls. Can these be changed or is a right pain to do?



Thanks



edit



I notice from the dx9settings.ini file that the two keys, A and S, are bound by:

Preset1Key = 65

Preset2Key = 83



does anyone know what numbers the \ and ` (tilde) key are?



I am struggling to play without using the left and down thrusters :(



Thanks!

Lord, grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to know the difference.-------------------Vitals: Windows 10 64bit, Ryzen 5 2600x, GTX 1070, 16GB, 3D Vision, CV1
Handy Driver DiscussionHelix Mod - community fixes Bo3b's Shaderhacker School - How to fix 3D in games3dsolutionsgaming.com - videos, reviews and 3D fixes

Posted 03/31/2012 12:53 PM   
@andysonofbob
Full list is here http://msdn.microsoft.com/en-us/library/ms927178.aspx


Ugh I wish their was a way to fix mouse cursors. Diablo 3 looks so good with high convergence. Then all of a sudden mouse makes you go cross eyed. I can only get away with like 100-120 convergence before it bothers me. I think it would only be fixable if it was a "software mouse"

http://photos.3dvisionlive.com/eqzitara/album/4f7733fa3785012955000000/
heres the gallery. Text will remain over character/item regardless of depth setting/convergence setting. Like left eye will have text perfectly aligned as well as right. I think I took some eye breaking convergence pictures to show. I noticed that as health and mana are used shader is broken but its fixed now.
@andysonofbob

Full list is here http://msdn.microsoft.com/en-us/library/ms927178.aspx





Ugh I wish their was a way to fix mouse cursors. Diablo 3 looks so good with high convergence. Then all of a sudden mouse makes you go cross eyed. I can only get away with like 100-120 convergence before it bothers me. I think it would only be fixable if it was a "software mouse"



http://photos.3dvisionlive.com/eqzitara/album/4f7733fa3785012955000000/

heres the gallery. Text will remain over character/item regardless of depth setting/convergence setting. Like left eye will have text perfectly aligned as well as right. I think I took some eye breaking convergence pictures to show. I noticed that as health and mana are used shader is broken but its fixed 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 03/31/2012 03:12 PM   
Mate!

Brilliant. Thanks!
Mate!



Brilliant. Thanks!

Lord, grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to know the difference.-------------------Vitals: Windows 10 64bit, Ryzen 5 2600x, GTX 1070, 16GB, 3D Vision, CV1
Handy Driver DiscussionHelix Mod - community fixes Bo3b's Shaderhacker School - How to fix 3D in games3dsolutionsgaming.com - videos, reviews and 3D fixes

Posted 03/31/2012 06:05 PM   
I'm working on Tomb Raider - Legend, and I have the shader for the UI. I was able to properly convert it to vs_3_0, but I'm having trouble adding stereo code. This shader has code variations that I don't know how to deal with.

Here's the converted code. I have confirmed that it works up to this point.
[code] vs_3_0
def c220, 0.2, 0, 0.0625, 0.0
dcl_position v0
dcl_color v1
dcl_texcoord v2
dcl_2d s0
dcl_position o0
dcl_color o1
dcl_texcoord o2
dp4 r0.x, v0, c40
dp4 r0.y, v0, c41
dp4 r1.x, v0, c43
dp4 o0.z, v0, c42 // oPos.z
mul o0.xy, r0, r1.x // oPos.xy
mov o0.w, r1.x //oPos.w
mov o1, v1 // oD0
mov o2.xy, v2 // oT0.xy
mov o2.zw, c39 // oT0.zw[/code]
(I commented in the original vs_1_0 code that I changed)

There are three different variables for "dp4" and I don't know what to do. As soon as I add the "texldl...." stuff the shader stops working.
I'm working on Tomb Raider - Legend, and I have the shader for the UI. I was able to properly convert it to vs_3_0, but I'm having trouble adding stereo code. This shader has code variations that I don't know how to deal with.



Here's the converted code. I have confirmed that it works up to this point.

vs_3_0

def c220, 0.2, 0, 0.0625, 0.0

dcl_position v0

dcl_color v1

dcl_texcoord v2

dcl_2d s0

dcl_position o0

dcl_color o1

dcl_texcoord o2

dp4 r0.x, v0, c40

dp4 r0.y, v0, c41

dp4 r1.x, v0, c43

dp4 o0.z, v0, c42 // oPos.z

mul o0.xy, r0, r1.x // oPos.xy

mov o0.w, r1.x //oPos.w

mov o1, v1 // oD0

mov o2.xy, v2 // oT0.xy

mov o2.zw, c39 // oT0.zw


(I commented in the original vs_1_0 code that I changed)



There are three different variables for "dp4" and I don't know what to do. As soon as I add the "texldl...." stuff the shader stops working.

Posted 03/31/2012 06:36 PM   
texcoord o2.xyzw
everything thats not position needs to have coord. info when moved.
texcoord o2.xyzw

everything thats not position needs to have coord. info when moved.

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 03/31/2012 06:43 PM   
[quote name='eqzitara' date='31 March 2012 - 02:43 PM' timestamp='1333219428' post='1390409']
texcoord o2.xyzw
[/quote]

I had that when I first made the conversion. It doesn't matter if I have xyzw there or not, stereo code doesn't work.

I figured it out. This is working:
[code] vs_3_0
def c220, 0.8, 0, 0.0625, 0.0
dcl_position v0
dcl_color v1
dcl_texcoord v2
dcl_2d s0
dcl_position o0
dcl_color o1
dcl_texcoord o2.xyzw
dp4 r0.x, v0, c40
dp4 r0.y, v0, c41
dp4 r1.x, v0, c43
dp4 r3.z, v0, c42 // oPos.z
mul r3.xy, r0, r1.x // oPos.xy
mov r3.w, r1.x //oPos.w
mov o1, v1 // oD0
mov o2.xy, v2 // oT0.xy
mov o2.zw, c39 // oT0.zw
texldl r11, c220.z, s0
mul r11.x, r11.x, -c220.x
add r3.x, r3.x, -r11.x
mov o0, r3[/code]

BTW, "dcl_texcoord o2" still worked without ".xyzw" when I tried removing that part.

I'll leave it to you to figure out why, lol.
[quote name='eqzitara' date='31 March 2012 - 02:43 PM' timestamp='1333219428' post='1390409']

texcoord o2.xyzw





I had that when I first made the conversion. It doesn't matter if I have xyzw there or not, stereo code doesn't work.



I figured it out. This is working:

vs_3_0

def c220, 0.8, 0, 0.0625, 0.0

dcl_position v0

dcl_color v1

dcl_texcoord v2

dcl_2d s0

dcl_position o0

dcl_color o1

dcl_texcoord o2.xyzw

dp4 r0.x, v0, c40

dp4 r0.y, v0, c41

dp4 r1.x, v0, c43

dp4 r3.z, v0, c42 // oPos.z

mul r3.xy, r0, r1.x // oPos.xy

mov r3.w, r1.x //oPos.w

mov o1, v1 // oD0

mov o2.xy, v2 // oT0.xy

mov o2.zw, c39 // oT0.zw

texldl r11, c220.z, s0

mul r11.x, r11.x, -c220.x

add r3.x, r3.x, -r11.x

mov o0, r3




BTW, "dcl_texcoord o2" still worked without ".xyzw" when I tried removing that part.



I'll leave it to you to figure out why, lol.

Posted 03/31/2012 06:51 PM   
It could still work. But not work when you add anything.

I cant say for certain without seeing original. I have to way of knowing what you changed. Its a bit hard to read like that. but try this from what I can read. Also is this properly spaced? I cant tell if its
It could still work. But not work when you add anything.



I cant say for certain without seeing original. I have to way of knowing what you changed. Its a bit hard to read like that. but try this from what I can read. Also is this properly spaced? I cant tell if its

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 03/31/2012 07:06 PM   
Eqzitara,

The formatting looks fine on my end. Everything is spaced exactly like when I work in Notepad++.

I have the UI fixed, the user just has to set c220.x to whatever convergence they want to play at. The code I'm using is in my previous post.

After I disable all the problem shaders, the fix will be done (to the best of my ability).
Eqzitara,



The formatting looks fine on my end. Everything is spaced exactly like when I work in Notepad++.



I have the UI fixed, the user just has to set c220.x to whatever convergence they want to play at. The code I'm using is in my previous post.



After I disable all the problem shaders, the fix will be done (to the best of my ability).

Posted 03/31/2012 07:25 PM   
  57 / 167    
Scroll To Top