Community

SCI Programming => SCI Development Tools => Topic started by: robbo007 on July 05, 2026, 06:16:13 AM

Title: SCI0: SCI0 Interpreter with added PKWare DCL Implode compression (comp_method=3)
Post by: robbo007 on July 05, 2026, 06:16:13 AM
Hi guys,
On my quest to save hard disk space for my project after many hours of pulling my hair out I've managed to get a working version of the SCI0 Interpreter with added PKWare DCL Implode compression (comp_method=3) and only using a 6kb of memory footprint. Maybe someone else could do this better using less memory?

### Memory footprint (decompressor in SCIV.EXE)

4096-byte dictionary window : 4096 bytes
Fixed decode tables         : ~1800 bytes (compile-time constants)
State overhead              :  ~200 bytes
TOTAL                       : ~6096 bytes (~6KB)

I've also written a makevols.exe that compresses each resource with DCL Implode. Both are attached if anyone wants to test them.