Rayman Hoodlums' Revenge (GBA) compression

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Droolie
Posts: 7
Joined: Wed Feb 25, 2015 3:28 pm

Rayman Hoodlums' Revenge (GBA) compression

Post by Droolie »

Hey,

I'm looking into some compressed data in Rayman Hoodlums' Revenge for GBA. Attached to this post are 2 localization tables, with offsets of the strings (in the uncompressed file) for each:
rhr_samples.zip

Note that the first string seems to be at offset 1 instead of 0.

The files seem to follow this format:

Code: Select all

0x4 - total uncompressed size
0x2 - number of blocks
0x2 - ???
for(number of blocks) {
    (align position to multiple of 0x4)
    0x2 - always 0x84?
    0x1 - ???
    0x1 - same as last
    0x4 - blocksize
    blocksize - compressed data block
}

I only haven't found out which compression algorithm this uses. Didn't find it with comtype scan either... Any help would be greatly appreciated! :)