RAYKIT DAT extractor v0.1
RAYKIT DAT packer v0.1

This can extract and pack all DAT files in Rayman Designer.

Except for ALLFIX.DAT and BIGRAY.DAT, these two use a totally different format.

All files in SNDSMP.DAT are mono 8-bit 11025hz.

Inside the directory will be another directory named after the two 5 byte strings separated with an comma.

DAT format:
-Main header-
5 bytes string (always KIT)
5 bytes string (either KIT or language code)
1 byte 0x00
1 byte 0x01
-File entry-
1 byte XOR value
1 byte checksum (before XOR)
4 bytes 32-bit pointer (absolute)
4 bytes 32-bit size
9 bytes XORed string filename with up to 8 chars
Next file or terminator entry

The terminator entry must be all zeros with the filename being set to "ENDFILE".
The data for the files starts after terminator.



T. Sosnow. <t-sosnow@posteo.com>
Visit QWERTZ-tek at http://qwertz.w10.site/ for my other stuff
August 19, 2025
