Diablo 1 Video Rendering w/ cnc-ddraw

A place to talk about Diablo I as developed by Blizzard North.
Post Reply
fearedbliss
Site Admin
Posts: 371
Joined: Sun Dec 19, 2021 11:23 am

Diablo 1 Video Rendering w/ cnc-ddraw

Post by fearedbliss »

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: Select all

; 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
Spoiler
diablo-2022-02-10-13_15_07.png
diablo-2022-02-10-13_15_21.png
diablo-2022-02-10-13_15_23.png
diablo-2022-02-10-13_15_25.png
diablo-2022-02-10-13_15_26.png
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.
oli
Fallen
Posts: 17
Joined: Fri Apr 15, 2022 12:36 pm

Re: Diablo 1 Video Rendering w/ cnc-ddraw

Post by oli »

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.
fearedbliss
Site Admin
Posts: 371
Joined: Sun Dec 19, 2021 11:23 am

Re: Diablo 1 Video Rendering w/ cnc-ddraw

Post by fearedbliss »

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.
oli
Fallen
Posts: 17
Joined: Fri Apr 15, 2022 12:36 pm

Re: Diablo 1 Video Rendering w/ cnc-ddraw

Post by oli »

I've actually mentioned cnc-ddraw multiple times at devx discord but they were not interested and not impressed by it...
fearedbliss
Site Admin
Posts: 371
Joined: Sun Dec 19, 2021 11:23 am

Re: Diablo 1 Video Rendering w/ cnc-ddraw

Post by fearedbliss »

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.
oli
Fallen
Posts: 17
Joined: Fri Apr 15, 2022 12:36 pm

Re: Diablo 1 Video Rendering w/ cnc-ddraw

Post by oli »

Sure thing, I really got used to shaders playing D2 and they also look great in D1.
fearedbliss
Site Admin
Posts: 371
Joined: Sun Dec 19, 2021 11:23 am

Re: Diablo 1 Video Rendering w/ cnc-ddraw

Post by fearedbliss »

@oli, 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 :).
oli
Fallen
Posts: 17
Joined: Fri Apr 15, 2022 12:36 pm

Re: Diablo 1 Video Rendering w/ cnc-ddraw

Post by oli »

Wow, so there is a hope after all, thanks for pushing this!
Post Reply