crosire / d3d8to9

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

Forsaken World #96

Closed truexfan81 closed 4 years ago

truexfan81 commented 5 years ago

Forsaken World game client doesn't launch at all when this is used.

HerMajestyDrMona commented 5 years ago

After quick googleing - wasn't this game released in 2011? If so, why would it use Directx 8?

elishacloud commented 5 years ago

Are you referring to this game?

It looks like this game does not work with any kind of d3d8 wrapper. I tried adding a passthrough wrapper that does nothing and the game still does not load. I tried using passthrough wrappers for other dlls that the game loads, like ddraw, and it worked fine. It's just d3d8 that has issues with this game.

This game may be doing some kind of hooking or something else with d3d8 that prevents it from loading any d3d8 wrappers. I believe this is outside the scope of the d3d8to9 project!

Note: I was able to get d3d8to9 working by using ddraw.dll as the wrapper and then hooking the d3d8.dll APIs. Though I did find a bug in d3d8to9 with this game. I will be creating a pull request later with a fix.

elishacloud commented 5 years ago

If you want to see d3d8to9 working with this game I have attached a wrapper that will work. Just unzip this into the Forsaken World folder where the pem.exe file exists: dxwrapper.zip