From: jim <ji...@ma...> - 2003-05-07 17:44:02
|
I've been investigating these on a slightly different tack ... it seems that the chunk type is determined by the low 3 bits of the type byte. This gives 6 (out of a possible 8) chunk types: 0 = end marker, 1 = video frame, 2 = audio, 3 = text control, 4 = palette, 5 = dictionary. The rest of the byte is additional information. In the case of a video frame, bits 3-6 determine the image type. 0xf here is the new high-res compression format, corresponding to a chunk type of 0x79. Otherwise it's just the ordinary image type: type 4 gives chunk type 0x21 which is indeed the usual System Shock RLE based coding. There are 2 types of dictionary chunk (I'm assuming, for the moment, that's what they are), 0x05 and 0x0d, as you know. That's all for the moment ... jim -- http://madeira.physiol.ucl.ac.uk/people/jim/ - Bill Stickers is innocent! |