Welcome to the Creatures Wiki! Log in and join the community.

Talk:CreaturesArchive

From Creatures Wiki
Revision as of 14:03, 13 May 2010 by RProgrammer (talk) (Format and tools)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I just made a couple of command line tools to uncompress and compress (re-create) these types of files:

http://rprogrammer.net/static/software/creatures/compress.creatures.jar

http://rprogrammer.net/static/software/creatures/uncompress.creatures.jar

--RProgrammer 14:03, May 13, 2010 (UTC)


Format

File begins with "Creatures Evolution Engine - Archived information file. zLib 1.13 compressed" (ascii), followed by three unprintable bytes: 2E 1A 04.

After that is a standard zlib-wrapped (not gzip-wrapped or pkzip-wrapped) DEFLATE-compressed file.

The compression level used is:

Worlds - 5

glist - 6

caos.syntax - 6


--As of 2010-5-13, I have not been able to reproduce a file that matches the glists (I have however, decompressed and recompressed replicas of caos.syntax and SpaceAndAllThatIsOutThere), though both the original and recompressed produce identical uncompressed versions so I'm not too worried; perhaps it's due to the version difference in zLib..

--RProgrammer 14:03, May 13, 2010 (UTC)