crosire / d3d8to9

A D3D8 pseudo-driver which converts API calls and bytecode shaders to equivalent D3D9 ones.
BSD 2-Clause "Simplified" License
875 stars 77 forks source link

Chaser (CloakNT v1.x) v1.50 [Steam] - No Launch #102

Closed Saijin-Naib closed 4 years ago

Saijin-Naib commented 4 years ago

Chaser will not launch properly with the crosire build of the d3d8to9 dll and Reshade, though I can get it to launch properly using the elishacloud version of the d3d8to9+dxwrapper dlls.

I'd like to see if Chaser would benefit from ReShade, but I can't figure out what is causing it to not launch using the proper DLL.

crosire commented 4 years ago

Does it work without ReShade and just d3d8to9?

Saijin-Naib commented 4 years ago

No, with just the d3d8.dll in the game's root next to the exe the game fails to launch. This behavior is contrary to using the DxWrapper version.

ReShade also doesn't appear to recognize the dll being in the game's folder next to the exe, as it prompts me to re-download it every time I launch Reshade.

Saijin-Naib commented 4 years ago

Hmm, Using the DxWrapper files along with Reshade yields a working install of ReShade, but not so with the Reshade provided d3d8.dll

20190901223402_1 Reshade control panel showing

20190901223426_1 Testing with ASCII effect

elishacloud commented 4 years ago

It is possible that this game requires other exports. D3d8to9 only has one exported function, while dxwrapper exports all of the d3d8 functions.

Try with this dll, I quickly added all exported functions to the d3d8to9 code: d3d8.zip

Saijin-Naib commented 4 years ago

Hmm, interesting.

Even with the latest dll, it still silently fails to launch.

Do you have Steam? I can gift you a copy if that'll be easier for you to debug with.

elishacloud commented 4 years ago

Yes, I have a Steam account.

Saijin-Naib commented 4 years ago

I sent you an email regarding my prior post.

Saijin-Naib commented 4 years ago

Latest version (1.9.2) of d3d8.dll with Reshade 4.4.2 yields a (mostly) working setup.

Vanilla Chaser:
39670_20191123011716_1

39670_20191123015748_1

Having way too much fun with Reshade 4.4.2 39670_20191123011652_1

39670_20191123015815_1

Depth Buffer not working, but Normal Buffer is? 39670_20191123020246_1

crosire commented 4 years ago

Depth is working fine: You just need to set RESHADE_DEPTH_INPUT_IS_REVERSED to 0.

Saijin-Naib commented 4 years ago

Depth is working fine: You just need to set RESHADE_DEPTH_INPUT_IS_REVERSED to 0.

You're right. The difficulty I seem to be having is that Chaser/CloakNT seemingly create, switch, and destroy depth buffers seemingly at will, so I sometimes have to go into Reshade to manually select the current/real depth buffer.

Still have to tweak, but damn. Wow. Thank you so much for this. 39670_20191128002353_1 39670_20191128002401_1