SCI/Specifications/Resource files/Decompression algorithms

From ScummVM :: Wiki
< SCI‎ | Specifications‎ | Resource files
Revision as of 05:49, 6 January 2009 by Timofonic (talk | contribs) (New page: =Decompression algorithms= The decompression algorithms used in SCI are as follows: ==SCI0 compression algorithms== {| border="1" |'''method''' |'''algorithm''' |---- |0 |uncompressed |-...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Decompression algorithms

The decompression algorithms used in SCI are as follows:

SCI0 compression algorithms

method algorithm
0 uncompressed
1 LZW
2 HUFFMAN


SCI01 compression algorithms

method algorithm
0 uncompressed
1 LZW
2 COMP3
3 HUFFMAN

SCI1.0 compression algorithms

method algorithm
0 uncompressed
1 LZW
2 COMP3
3 UNKNOWN-0
4 UNKNOWN-1


As reported by Vladimir Gneushev, SCI32 uses STACpack (as described in RFC 1974) explicitly, determining whether there is a need for compression by comparing the size of the compressed data block with that of the uncompressed.