AlphaTwentyThree wrote:Hey folks,
I've just encountered some files with a strange header in Astro Boy: The Videogame for PSP. They seem to be compressed but I can't figure out how to process them. I've attached three examples.
Thanks for helping me out!
As you might guess, these are a pain! I assume these are from the .r4s archives that start with "BIGB" ? I've encountered a few variations of that format in various games on different platforms, like Bionicle, Catwoman ... The compression is one that QuickBMS doesn't do, although it is fairly simple RLE as BloodRaynare mentioned.
I wrote a decompression routine a while ago based on some code I found. I've attached my very crappy QuickBMS script with my crappy slow custom decompression routine. The extracted FILE2 is a table referring to FILE1, which refers to the data in FILE3. I notice in this game that some of the audio is Sony PS ADPCM and some are normal RIFF WAVE files. Each RIFF/WAVS segment in FILE1 contains actual filename, format info, and offset to the audio file in FILE3, although I haven't fully documented that yet.
So, still some work to do on it, but my script should decompress the data and give you something to work with.
bigb.zip