[outdated][offline] DirectDraw (+dx8) capture support

[outdated][offline] DirectDraw (+dx8) capture support

Minimum OBS Version
0.60b
Supported Bit Versions
32-bit, 64-bit
THIS PLUGIN IS NOW BUILT INTO OBS, DO NOT USE THIS ANYMORE.


So I thought I should share this with the rest of the world now that it works for some games.

The provided DLL files extend the capture capabilities of the original OBS capture files to allow for DirectDraw and D3D8 gamecapture. To install, simply copy the appropriate files for your system architecture (32bit or 64bit) into your OBS\plugins directory and overwrite all existing files. Everytime you update OBS you have to overwrite GameCapture.dll and GameCaptureHook(64).dll again. Once I think the plugin is stable enough the code will probably get merged into master.

The plugin should work with any DirectX version prior to DX9, up to DX8.1, but I didn't test it with games that use DX1-DX5. Up to this point there is no Windows Vista support and DirectDraw capture is unstable/unusable on Windows 8 at the moment. You can use Monitor Capture in the meantime (which seems to have good performance on Win8).
At the moment you can only capture framebuffers that are using 32bit color format when capturing D3D8, so please set your ingame video mode to something that is 32bit. On a side note, if you have a slow PC you should not use any resolution higher than 1280x720 because of the slow CPU capture capability that enforces the plugin to memcpy the whole 1280x720x4 bytes of pixels into memory.

That said, have fun testing/streaming and please give me feedback, so I can fix bugs and make the plugin more stable. :)

Latest Version:
obs-v0.625b-ddraw-1.2.6 - fixed scene switching

Older releases:
obs-v0.625b-ddraw-1.2.5 - updated for OBSv0.625b, fixed error message for windows 8 (still no ddraw support), removed injectHelper from archive
obs-v0.624b-ddraw-1.2.4 - implemented win8 and 16bit color depth support, fixed crash-on-exit bug (directdraw on win8 untested)
obs-v0.624b-ddraw-1.2.3b2 - implemented Win8 support for DX8 capture
obs-v0.624b-ddraw-1.2.2 - fixed missing A8R8G8B8 32bpp color format
obs-v0.624b-ddraw-1.2.1 - implemented basic DX8 capture (only 32bit framebuffer supported)
obs-v0.622b-ddraw-1.1
obs-v0.622b-ddraw-1.0
obs-v0.613b-ddraw
32-bit build
64-bit build


Sourcecode:
git-repository

If you use the plugin and encounter any problems, please give me feedback so I can try to fix it! :)

Here is a list of games the plugin got tested with:
  • Starcraft
  • Baldur's Gate
  • Baldur's Gate II
  • Fallout 2
  • Diablo
  • Diablo 2
  • Patrician II
  • Desperados: Wanted Dead or Alive
  • Sacrifice
  • Age of Empires II
  • Continuum (SubSpace)
  • Divine Divinity
  • Freelancer
  • Command&Conquer: Renegade
  • Command&Conquer: Generals
  • Unreal Tournament 2004
  • Haegemonia 2
  • Anno 1503
  • Anno 1602
  • Empire Earth: The Art of Conquest (works even on 32bit 1920x1080)
  • Heroes of Might & Magic 3 (In the Wake of Gods)
Games that work but have issues:
  • Commandos: Beyond the Call of Duty (capture is only updating when you move the cursor)
  • Command&Conquer Red Alert II (videos and menus don't get captured, crashes occassionally)
  • Battlefield 1942 (menu issues)

Support:

If you have questions, you can usually find me on #obsproject on quakenet IRC. You can also write me a PN or post in this thread.


Demonstration Video:


Known issues:
Version 1.2.1:
  • capture can be unreliable because of the many drawing techniques for ddraw
Author
Bl00drav3n
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest updates

  1. Native DirectDraw and DX8 support

    So we finally made it into OBS master, so with the next release we will have native capture...
  2. Plugin Release v1.2.6

    I noticed switching scenes has been broken for the last few releases and I finally came around...
  3. Update for OBSv0.625b

    This is just a convenience update, because a Win8 bug was fixed today in the original...

Latest reviews

I had some problems with this plugin, but they all got solved by magic it seems like.

I'd vote 4/5 but I'll give it a 5/5 because... CONTINUUM support. <3 That old classic.
Top