Diablo 1 Video Rendering w/ cnc-ddraw

fearedbliss

Administrator
Staff member
Joined
Dec 19, 2021
Messages
1,173
Points
83
Hey all,

Due note that cnc-ddraw also works extremely well with Diablo 1 just as it does with Diablo 2, thus I also recommend it for D1 as well. It’s basically the same as D2 but easier, since there is no Diablo Video Tester. Cactus already includes the cnc-ddraw files if you don’t already have them, so you can just copy the \"ddraw.ini\", \"ddraw.dll\", and the \"Shaders\" directory to your Diablo 1 folder. That’s pretty much it.. launching the game should use cnc-ddraw. A tweak you may want to make to \"ddraw.ini\" is to set the screenshots hotkey in cnc-ddraw from 0x00 to 0x2C (Print Screen Button) so that you can get .jpg file output. Diablo 1 normally takes screenshots in PCX format (Lol yea.. It’s been a while).

Code:
; Screenshot [Disabled]
keyscreenshot=0x2C

Also, you can take a look at the information I wrote for cnc-ddraw for Diablo II since there are a lot of stuff in there that may overlap.

- fearedbliss


EDIT: This only works with original Diablo 1. Not with Devilution/X since Devilution/X has dropped DirectDraw support and is using SDL/OpenGL natively (which provides many benefits including it being easier for cross platform support). LibRetro shader support is not supported yet supported but I’ve opened a feature request for that.
 
It’s a shame that devilutionX dropped ddraw support and cnc-ddraw won’t work with it... That’s probably my biggest issue with it.
 
That’s a shame... we may need to see if they are open to continuing to maintain directdraw support but maybe they just consider that as legacy code.. I guess that’s a reason to still keep using the original Diablo 1 release.

EDIT: I’ve opened up this bug report in DevilutionX.
 
I’ve actually mentioned cnc-ddraw multiple times at devx discord but they were not interested and not impressed by it...
 
I just mentioned to them about glsl shaders support. If they are able to have everything cnc-ddraw provides directly inside of DevilutionX, then I suppose there is an argument to be made that DirectDraw support can be removed. But if they don’t have that then idk.. I like having my shaders.
 
Sure thing, I really got used to shaders playing D2 and they also look great in D1.
 
[mention]oli[/mention], It seems we’ve gotten an answer and it is a good one. Pretty much we don’t need cnc-ddraw for Devilution/X since yea it already has been converted to SDL and that provides the majority of compatibility fixes, and other features (Including OpenGL support + it being cross-platform). However the only feature that it doesn’t seem to have at the moment for the most part is the LibRetro Shader Support. I’ve opened a bug report as recommended by AJenbo requesting that feature. So perhaps in a future release of Devilution/X, we’ll be able to use glsl shaders directly :).
 
Wow, so there is a hope after all, thanks for pushing this!
 
Back
Top