Log in

View Full Version : Request: codecs for DXA compression


Chainmax
25th July 2007, 17:20
DXA is a lossless compression format used by some cutscenes in old PC games. The only encoder I know of (included in SCUMMVM's tools) requires a series of PNGs as input and only produces 8bit color output, so I was wondering if someone could take a look at it and expand it to support AVI input and any bitdepth output. The sources can be downloaded from here:

http://scummvm.org/downloads.php#tools

foxyshadis
26th July 2007, 03:00
Um, just modify the batch file to pass in the avi instead? The bink encoder can read avi. (The scumm tools don't really help, since it's the closed-source bink encoder that's used.) And by passing /Z0 you can output true color, but the game itself (or engine) would have to support those. Just look at the command-line help for binkconv.exe, it's all there.

Chainmax
27th July 2007, 00:50
I really should have RTFM before asking this :o.
Well, since we're here anyway: which way would you recommend me for reducing the bitdepth of a video to 8bit so that it can be compressed to DXA?