How to fix/disable shaders in games(DLL,guide and fixes).
  151 / 167    
Tried this with the recently released "Child of Light" and I'm getting this error if I try to use the debugger: "The procedure entry point Direct3DCreate9ex could not be located in the dynamic link library d3d9.dll"
Tried this with the recently released "Child of Light" and I'm getting this error if I try to use the debugger: "The procedure entry point Direct3DCreate9ex could not be located in the dynamic link library d3d9.dll"

Posted 05/06/2014 11:25 AM   
You shouldn't need to use it with Child of Light, because that game works perfectly in 3d (from what I've been seeing on forums).
You shouldn't need to use it with Child of Light, because that game works perfectly in 3d (from what I've been seeing on forums).

Posted 05/06/2014 05:54 PM   
That's great, but I needed the debugger for for a different purpose this time. :P Neither this or SweetFX work because of the missing entry point in the d3d9 library. No biggie, I'm grateful there's such a tool to begin with. :)
That's great, but I needed the debugger for for a different purpose this time. :P

Neither this or SweetFX work because of the missing entry point in the d3d9 library.

No biggie, I'm grateful there's such a tool to begin with. :)

Posted 05/06/2014 06:53 PM   
What purpose? If it's texture related I can download the demo and take a look at it and see if I can find it and remove/fix it ... like I did in [url=http://helixmod.blogspot.com/2013/11/rayman-legends.html]Rayman Legends[/url], same engine.
What purpose? If it's texture related I can download the demo and take a look at it and see if I can find it and remove/fix it ... like I did in Rayman Legends, same engine.
Posted 05/06/2014 07:38 PM   
Oh really? I'm trying to hide the hud and character and render the game in a wide (3x display) resolution to take screenshots. Someone else is already working on a fix on this game to support multiple monitors so I needed the debugger to try and hide at least the hud. This game is great and looks fantastic, definitely worth the effort if you can do it. :)
Oh really? I'm trying to hide the hud and character and render the game in a wide (3x display) resolution to take screenshots. Someone else is already working on a fix on this game to support multiple monitors so I needed the debugger to try and hide at least the hud.

This game is great and looks fantastic, definitely worth the effort if you can do it. :)

Posted 05/06/2014 07:59 PM   
I looked for that interface, and it seems to be some super old call that is rarely used today. That would suggest that the people building the game linked against some really old libraries or something with their build. Try this: Set compatibility mode on the game exe to be Vista. If that doesn't work, try setting compatibility specifically to Windows 7. I think the second is more likely to work.
I looked for that interface, and it seems to be some super old call that is rarely used today. That would suggest that the people building the game linked against some really old libraries or something with their build.

Try this: Set compatibility mode on the game exe to be Vista. If that doesn't work, try setting compatibility specifically to Windows 7.

I think the second is more likely to work.

Acer H5360 (1280x720@120Hz) - ASUS VG248QE with GSync mod - 3D Vision 1&2 - Driver 372.54
GTX 970 - i5-4670K@4.2GHz - 12GB RAM - Win7x64+evilKB2670838 - 4 Disk X25 RAID
SAGER NP9870-S - GTX 980 - i7-6700K - Win10 Pro 1607
Latest 3Dmigoto Release
Bo3b's School for ShaderHackers

Posted 05/07/2014 01:50 AM   
What version of the Helix debug are you using? I went to try what bo3b suggested above but I can't get the latest, and a few previous, debug dll(s) to give me any error ... I can't get them to work at all either, think the same thing happened with Rayman Legends iirc. As far as the other method goes I'll see what I can do, I can't promise anything ... it's a real time consuming process, especially if you can't find what you're looking for(remove header, edit texture, add header, reinject, run game, rinse, repeat). With Rayman Legends I was looking for whatever was making the 2D shadows ... and it wound up being a small white square, in some obscure directory.
What version of the Helix debug are you using? I went to try what bo3b suggested above but I can't get the latest, and a few previous, debug dll(s) to give me any error ... I can't get them to work at all either, think the same thing happened with Rayman Legends iirc.

As far as the other method goes I'll see what I can do, I can't promise anything ... it's a real time consuming process, especially if you can't find what you're looking for(remove header, edit texture, add header, reinject, run game, rinse, repeat). With Rayman Legends I was looking for whatever was making the 2D shadows ... and it wound up being a small white square, in some obscure directory.
Posted 05/07/2014 04:29 AM   
I'm using an older version of the debugger. It seems the the newer version (704kb) does rule out the library error but as you said it doesn't do anything. If you can get to hide the hud and (optionally) characters I'll be a happy panda. :D
I'm using an older version of the debugger. It seems the the newer version (704kb) does rule out the library error but as you said it doesn't do anything.

If you can get to hide the hud and (optionally) characters I'll be a happy panda. :D

Posted 05/07/2014 09:55 AM   
I had a little break through on 'texture hunting' ... well make that mass scripted texture hunting(mass texture injection), thought I'd share. You really don't want to know the amount of scripting I've done over the past day. Lol. :) [img]https://dl.dropboxusercontent.com/s/445zdgmzue26886/Child%20of%20Light.jpg[/img] ... it still could take awhile to 'zero' in on them but at least I've gone from 'what the hell did I get myself into' to extremely hopeful. Heh. :D edit:not sure if you're aware but I thought I should mention it just in case, there is no 'toggling' this method ... this is injecting modified textures directly into the game's files ... well not 'in-game' anyway, I can script a change between modified game files and the originals but I'm pretty sure that wouldn't work in-game.
I had a little break through on 'texture hunting' ... well make that mass scripted texture hunting(mass texture injection), thought I'd share. You really don't want to know the amount of scripting I've done over the past day. Lol. :)
Image
... it still could take awhile to 'zero' in on them but at least I've gone from 'what the hell did I get myself into' to extremely hopeful. Heh. :D

edit:not sure if you're aware but I thought I should mention it just in case, there is no 'toggling' this method ... this is injecting modified textures directly into the game's files ... well not 'in-game' anyway, I can script a change between modified game files and the originals but I'm pretty sure that wouldn't work in-game.
Posted 05/08/2014 11:04 PM   
Wow, amazing work. Also sorry I've kinda put you in this but as I always say, you learn new things through progress. If I understood correctly, you cannot make a new debugger to work with this, only provide the necessary crc numbers in order to "hide" some of the textures, like you did with Rayman. (I checked that out) Any method that works is fine with me. Hope it's easier at this point. :)
Wow, amazing work. Also sorry I've kinda put you in this but as I always say, you learn new things through progress.

If I understood correctly, you cannot make a new debugger to work with this, only provide the necessary crc numbers in order to "hide" some of the textures, like you did with Rayman. (I checked that out)

Any method that works is fine with me. Hope it's easier at this point. :)

Posted 05/09/2014 12:01 PM   
Thanks. Nah, you didn't put me anywhere ... I offered. :) ... definitely agree about the learning new things through progress(and the process), learning/figuring out quite a few here. The Rayman shader fix was all eqzitara, there was a single texture(among 1000s) ... a 2D shadow that couldn't be removed via the shader. I found it, modified it(full-transparency) ... so it's injected directly into the game's 'pack' files(.ipk) using QuickBMS ... so the above is actual textures being replaced by color textures(50% opacity), I was impressed with what I could get it to do ... I was going to work on a binary search script for it but then you mentioned the shader part of the Rayman Legends fix and I started poking around in that direction ... I was actually able to get it to dump all the shaders but no luck using BSE to find anything, the shaders with the disable code in them don't update/refresh and quitting and restarting the game still has no affect on the 'disabled' shaders, when you disable half the shaders you tend to notice some 'slight' change if it's actually working. Heh. (was also looking at the LOG.txt all the CRCs are listed there, I could have disabled them all first, run the game and then do a binary search by removing the disable code and leaving them blank ... pretty sure the original code would get used then) ... so, I guess it's back to the texture hunting scripts. edit:tried 3Dmigoto(0.58_alpha) for the hell of it and it crashes immediately. [s]edit:I'm stuck on one little bar, can't tell if it's some obscure texture I'm missing or the result of whatever the shader is doing on a blank texture ...[/s] [img]https://dl.dropboxusercontent.com/s/2smrifx6z68ddxt/Child%20of%20Light_WIP.jpg[/img] edit:found it, it was 2 'obscure' textures located in the Rayman Legacy directory ... bundle_pc32\cache\itf_cooked\pc32\world\common\ui\z_rayman_legacy\common\renderbox\ ... I just have to work out an 'install' script and some sort of 'swap' script to switch between the modified files and the original files ... just keep in mind that the game has to be exited when switching between 'modes'.
Thanks. Nah, you didn't put me anywhere ... I offered. :) ... definitely agree about the learning new things through progress(and the process), learning/figuring out quite a few here.

The Rayman shader fix was all eqzitara, there was a single texture(among 1000s) ... a 2D shadow that couldn't be removed via the shader. I found it, modified it(full-transparency) ... so it's injected directly into the game's 'pack' files(.ipk) using QuickBMS ... so the above is actual textures being replaced by color textures(50% opacity), I was impressed with what I could get it to do ... I was going to work on a binary search script for it but then you mentioned the shader part of the Rayman Legends fix and I started poking around in that direction ...

I was actually able to get it to dump all the shaders but no luck using BSE to find anything, the shaders with the disable code in them don't update/refresh and quitting and restarting the game still has no affect on the 'disabled' shaders, when you disable half the shaders you tend to notice some 'slight' change if it's actually working. Heh. (was also looking at the LOG.txt all the CRCs are listed there, I could have disabled them all first, run the game and then do a binary search by removing the disable code and leaving them blank ... pretty sure the original code would get used then)

... so, I guess it's back to the texture hunting scripts.

edit:tried 3Dmigoto(0.58_alpha) for the hell of it and it crashes immediately.

edit:I'm stuck on one little bar, can't tell if it's some obscure texture I'm missing or the result of whatever the shader is doing on a blank texture ...

Image

edit:found it, it was 2 'obscure' textures located in the Rayman Legacy directory ... bundle_pc32\cache\itf_cooked\pc32\world\common\ui\z_rayman_legacy\common\renderbox\ ... I just have to work out an 'install' script and some sort of 'swap' script to switch between the modified files and the original files ... just keep in mind that the game has to be exited when switching between 'modes'.
Posted 05/09/2014 03:13 PM   
Thanks for the little insight on how this process works, it was an interesting read. I'm not familiar with 3DMigoto, I only heard of Helix. Wow, so only a little black bar remains. Hope that won't be a hassle, I know how usually little things can generate the big problems, heh.
Thanks for the little insight on how this process works, it was an interesting read. I'm not familiar with 3DMigoto, I only heard of Helix.

Wow, so only a little black bar remains. Hope that won't be a hassle, I know how usually little things can generate the big problems, heh.

Posted 05/11/2014 10:13 AM   
Are you just wanting to take screenshots? A little black bar should be really easy to photoshop out of there.
Are you just wanting to take screenshots? A little black bar should be really easy to photoshop out of there.

Posted 05/11/2014 10:19 AM   
[quote="TsaebehT"] [img]https://dl.dropboxusercontent.com/s/2smrifx6z68ddxt/Child%20of%20Light_WIP.jpg[/img] edit:found it, it was 2 'obscure' textures located in the Rayman Legacy directory ... bundle_pc32\cache\itf_cooked\pc32\world\common\ui\z_rayman_legacy\common\renderbox\ ... I just have to work out an 'install' script and some sort of 'swap' script to switch between the modified files and the original files ... just keep in mind that the game has to be exited when switching between 'modes'.[/quote] Pretty excited for this. :D But I don't understand how this texture swapping works. I kinda have a few ideas but I'll keep them for myself, heh. All this process is pretty complex by the look of it. How exactly do you learn such things, is there some kind of tutorial? Would love to read a more in depth explanation on this whole process, seems fantastic and has a lot of uses. Would it be possible to re-texture any game by using this specific process?
TsaebehT said:

Image

edit:found it, it was 2 'obscure' textures located in the Rayman Legacy directory ... bundle_pc32\cache\itf_cooked\pc32\world\common\ui\z_rayman_legacy\common\renderbox\ ... I just have to work out an 'install' script and some sort of 'swap' script to switch between the modified files and the original files ... just keep in mind that the game has to be exited when switching between 'modes'.


Pretty excited for this. :D

But I don't understand how this texture swapping works. I kinda have a few ideas but I'll keep them for myself, heh. All this process is pretty complex by the look of it. How exactly do you learn such things, is there some kind of tutorial? Would love to read a more in depth explanation on this whole process, seems fantastic and has a lot of uses. Would it be possible to re-texture any game by using this specific process?

Posted 05/14/2014 04:45 PM   
Helix has implemented texture 'swapping' in HelixMod(?), definitely hoping it gets released in an update and it's easy enough to use ... or at least I can whip something up to work with it(either way it's pretty amazing the stuff he does). The potential is pretty mind-blowing as it's real pita to work with file 'structure' of some of these games, Child of Light has 1346 folders with a lot of the textures being the only file in a folder ... a folder that's 9/10 levels deep ... and there were 1373 textures ... and on top of that they aren't just 'image' files they all contain a header which has to be removed before editing and replaced after ... and of course you have to find which one is doing what. :D [quote="-=HeliX=-"]I hope you can sleep at least after that. Btw, I forgot to put warning that it can brake your mind(i hope no-one got insane). Anyway, I will try to rehabilitate your mind with [url=https://s3.amazonaws.com/-HeliX-/BioShockInfinite97_50.jps]this[/url].[/quote][img]https://s3.amazonaws.com/-HeliX-/BioShockInfinite97_50.jps[/img] [quote="-=HeliX=-"]Hehe, I'm just playing with texture replacing feature. [url=http://cloud-3.steampowered.com/ugc/919019310306138690/B1FD05727BE3A556E8925B36AC835CAF34140617/]This Moxi's[/url] face and boobs texture :D And the devs didn't see it too , yet .[/quote]I'll PM you the 'mod' and how to use it, basically it'll install and they'll be two sets of files(modded&original), they'll be script that switches to the modded version and minimizes itself to the taskbar, when you're done click on it in the taskbar and 'press any key to continue ...' and it'll switch back to the unmodded files ... pretty simple. :)
Helix has implemented texture 'swapping' in HelixMod(?), definitely hoping it gets released in an update and it's easy enough to use ... or at least I can whip something up to work with it(either way it's pretty amazing the stuff he does). The potential is pretty mind-blowing as it's real pita to work with file 'structure' of some of these games, Child of Light has 1346 folders with a lot of the textures being the only file in a folder ... a folder that's 9/10 levels deep ... and there were 1373 textures ... and on top of that they aren't just 'image' files they all contain a header which has to be removed before editing and replaced after ... and of course you have to find which one is doing what. :D

-=HeliX=- said:I hope you can sleep at least after that.
Btw, I forgot to put warning that it can brake your mind(i hope no-one got insane).

Anyway, I will try to rehabilitate your mind with this.
Image

-=HeliX=- said:Hehe, I'm just playing with texture replacing feature.
This Moxi's face and boobs texture :D
And the devs didn't see it too , yet .
I'll PM you the 'mod' and how to use it, basically it'll install and they'll be two sets of files(modded&original), they'll be script that switches to the modded version and minimizes itself to the taskbar, when you're done click on it in the taskbar and 'press any key to continue ...' and it'll switch back to the unmodded files ... pretty simple. :)
Posted 05/14/2014 07:22 PM   
  151 / 167    
Scroll To Top