Wrap DirectDraw to Anything with DXWND

  • paxton676
  • Topic Author
More
9 years 3 months ago - 9 years 3 months ago #1 by paxton676 Wrap DirectDraw to Anything with DXWND was created by paxton676
I found a program that will wrap Shadow Man which runs on Directx 6.1 to Directx 9 and it is called dxwnd. sourceforge.net/projects/dxwnd/ .

I think DXWND will wrap DirectDraw Directx1-7 to opengl, directx8 ,directx9,directx11, your choice. Pretty cool.

Reshade creates a log file when renamed to d3d9.dll and even gives the disclaimer window upon starting the game. Nothing after that though, the game comes up like normal but with no reshade. No warnings or errors, just nothing.

I just started playing with the dxwnd program. There are many settings to play with in this program. I will update here if I ever get it working with reshade or any other wrapper that will inject shaders.

The log:


30/12/2014 00:35:34,059 | INFO | Initializing Crosire's ReShade version '0.10.0.601' built on '2014-12-24 21:04:31' loaded from "C:\Program Files (x86)\Steam\steamapps\common\ShadowMan\d3d9.dll" to "C:\Program Files (x86)\Steam\steamapps\common\ShadowMan\Shadowman.e xe" ...
30/12/2014 00:35:34,059 | INFO | Registering hooks for "C:\Windows\system32\d3d8.dll" ...
30/12/2014 00:35:34,059 | INFO | > Delayed.
30/12/2014 00:35:34,059 | INFO | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
30/12/2014 00:35:34,075 | INFO | > Libraries loaded.
30/12/2014 00:35:34,075 | INFO | > Found 9 match(es). Installing ...
30/12/2014 00:35:34,075 | INFO | > Installed 9 hook(s).
30/12/2014 00:35:34,075 | INFO | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
30/12/2014 00:35:34,075 | INFO | > Delayed.
30/12/2014 00:35:34,075 | INFO | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
30/12/2014 00:35:34,075 | INFO | > Delayed.
30/12/2014 00:35:34,075 | INFO | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
30/12/2014 00:35:34,075 | INFO | > Delayed.
30/12/2014 00:35:34,075 | INFO | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
30/12/2014 00:35:34,075 | INFO | > Delayed.
30/12/2014 00:35:34,075 | INFO | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
30/12/2014 00:35:34,075 | INFO | > Libraries loaded.
30/12/2014 00:35:34,090 | INFO | > Found 360 match(es). Installing ...
30/12/2014 00:35:35,213 | INFO | > Installed 360 hook(s).
30/12/2014 00:35:35,213 | INFO | Registering hooks for "C:\Windows\system32\ws2_32.dll" ...
30/12/2014 00:35:35,213 | INFO | > Delayed.
30/12/2014 00:35:35,213 | INFO | Initialized.
30/12/2014 00:35:35,213 | INFO | Redirecting 'Direct3DCreate9(31)' ...
30/12/2014 00:36:07,708 | INFO | Exiting ...
30/12/2014 00:36:07,708 | INFO | Uninstalling 372 hook(s) ...
30/12/2014 00:36:08,814 | INFO | Exited.


Any chance Reshade will work with this program? What do you think of DXWND? I am just trying to get ddraw.dll or directdraw directx1-7 to wrap so I can use modern shaders. You referred me to DXGL but that program doesn't work on any game I have., it sucks , really. Also, I have been searching and trying every directx1-7 to opengl wrapper out there but no luck getting them to run my game until DXWND.

With DXWND I was actually able to run the old DirectDraw game and do it to Opengl and Directx9. I know it worked because I was renaming reshade dll (opengl32.dll and d3d9.dll) and it was creating log files.
Last edit: 9 years 3 months ago by paxton676.

Please Log in or Create an account to join the conversation.

  • crosire
More
9 years 3 months ago #2 by crosire Replied by crosire on topic Wrap DirectDraw to Anything with DXWND

paxton676 wrote: I think DxWnd will wrap DirectDraw Directx1-7 to opengl, directx8 ,directx9,directx11, your choice.

Went ahead and checked out the source. I think you misunderstood DXWND =). It doesn't actually wrap between DirectDraw and Direct3D or OpenGL or the other way round, what it does is intercept the calls and do some additional logic on them (to get games running in window mode etc.). So a game running on DirectDraw will still run on DirectDraw even with DxWnd, it's just that you have plenty of nice additional features at your hand with it.

The reason ReShade is loaded is probably because DxWnd for some reason forces loading all DLLs into the process, which activates ReShade. But because in your case the game runs on Direct3D6 ReShade never gets the chance to start doing anything useful, it just sits there waiting for the game to start up Direct3D8 or later, which never happens.

DxWnd is a nice little tool, but it won't help much converting Direct3D6 to something never I'm afraid. Unless I totally got it wrong.
DXGL (as you mentioned) is the only thing I found while searching for such a wrapper. It's relativly new and seems to be activly developed, so hopefully it'll work good enough soon and then can be used in conjunction with ReShade.

Please Log in or Create an account to join the conversation.

  • Wicked Sick
More
9 years 3 months ago - 9 years 3 months ago #3 by Wicked Sick Replied by Wicked Sick on topic Wrap DirectDraw to Anything with DXWND
Test

EDIT:

It was a success.

I was going to try DXWND with Soul Reaver 1, also DX6. But since it does not work, we should wait.
Last edit: 9 years 3 months ago by Wicked Sick.

Please Log in or Create an account to join the conversation.

  • lowenz
More
9 years 3 months ago - 9 years 3 months ago #4 by lowenz Replied by lowenz on topic Wrap DirectDraw to Anything with DXWND

crosire wrote: Unless I totally got it wrong.
DXGL (as you mentioned) is the only thing I found while searching for such a wrapper. It's relativly new and seems to be activly developed, so hopefully it'll work good enough soon and then can be used in conjunction with ReShade.

Not totally, boss :D
New dgVoodoo wraps Dx5-6-7 to DX11

www.vogons.org/viewtopic.php?f=9&t=34931
Last edit: 9 years 3 months ago by lowenz.
The following user(s) said Thank You: crosire

Please Log in or Create an account to join the conversation.

  • paxton676
  • Topic Author
More
9 years 3 months ago - 9 years 3 months ago #5 by paxton676 Replied by paxton676 on topic Wrap DirectDraw to Anything with DXWND

lowenz wrote:

crosire wrote: Unless I totally got it wrong.
DXGL (as you mentioned) is the only thing I found while searching for such a wrapper. It's relativly new and seems to be activly developed, so hopefully it'll work good enough soon and then can be used in conjunction with ReShade.

Not totally, boss :D
New dgVoodoo wraps Dx5-6-7 to DX11

www.vogons.org/viewtopic.php?f=9&t=34931



I tried using this program to get Shadow Man to run in opengl. It did not work. The game crashes on startup.

One other option I have is to run Shadow Man on a N64 emulator, the game was also released on a few consoles so emulation is an option. Reshade does work on the emulators quite well. There are a few emulators that only run DirectDraw so Reshade doesn't work. The Fusion emulator that runs Genesis and SMS is one of those. I would rather run the PC version. Someday maybe I can run Shadow Man PC + HD textures pack + shaders.
Last edit: 9 years 3 months ago by paxton676.

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.