Issue with D3D and OpenGL Shaders

If you're having problems with Snes9x, or think you've found a bug, this is the place to be.
Post Reply
brudog56
Snes9x White Belt
Posts: 2
Joined: Tue Nov 19, 2013 2:47 am

Issue with D3D and OpenGL Shaders

Post by brudog56 »

Hello,

I am trying out SNES9x v1.5.3.0 x64 (btw - I'm thrilled that this project is still around! I thought it had been discontinued in the early 2000s!). No more ZSNES for me!

I'm really interested in trying out the shaders. I was able to find x64 versions of cgD3D9.dll and cgGL.dll and I tossed them into my SNES9x directory. I'm not able to load them, however. Interestingly enough, when I click the button to load either the Direct3D or OpenGL shader, the file chooser doesn't seem to think I should be looking for a .dll file. If I select "All Files" from the type drop-down & then select the applicable DLL, I just get a generic error saying that the shader couldn't be loaded. Am I doing something wrong?

Thanks in advance!
User avatar
OV2
Official Win32 Porter/Dev
Posts: 679
Joined: Thu Aug 30, 2007 10:15 pm

Re: Issue with D3D and OpenGL Shaders

Post by OV2 »

Hi brudog56,

cgD3D9.dll and cgGL.dll are not shaders themselves, they are simply required dlls so that snes9x can load cg shaders and need to be in the same directory as snes9x.exe.
You can find a variety of shaders in the emulator shader pack or the common shaders repositories. Download all shaders in a zip or individual shaders via the "raw" button on the top right, then you can load the .cg files in snes9x.

You might also want to use the most recent snes9x testbuild, there have been quite a few cg fixes since the release of 1.5.3
brudog56
Snes9x White Belt
Posts: 2
Joined: Tue Nov 19, 2013 2:47 am

Re: Issue with D3D and OpenGL Shaders

Post by brudog56 »

Much appreciated; thank you!
Post Reply