Hi,
On Sun, 19 Nov 2000, Petr Vyhnak wrote:
> I have made a little research on the SCI1 engine (I have looked at the one
> used in the QFG1 VGA remake) and I have found a few things (differences)
> from SCI0 in the RESOURCE.xxx
> and RESOURCE.MAP format. I did not figure out the decompression algorithm
> yet (someone mentioned here PKWARE I think). Anyone interested in the
> details ? (I can post it here if anyone is interested).
Sure, go ahead. We're not using resource.map anywhere, but this is
something that ought to be added to the docs eventually.
As for the decompression algorithms: Early versions of SCI1 use some of
the algorithms we have implemented already (see
src/scicore/decompress*.c). They also use an algorithm that has been
implemented by Carl Muckenhoupt (should be in
doc/misc/decrypt.c). Finally, later versions use an algorithm based on the
PKWDCL library from PKware (Lars figured that one out). There is some
general discussion of and documentation for the related deflate algorithm
in the Internet RFC 1951 (by Peter L. Deutsch). Related material can be
found in RFCs 1950 (ZLIB) and 1952 (GZip). Nobody has managed to produce a
working decompression algorithm for Sierra's resources yet, though.
llap,
Christoph