I'm trying to figure out how the text is compressed in Super Robot Wars GC. Who knows, maybe I can actually make a patch for the game instead of a bazillion texture files to translate it.
Looking at the PAK files in hex, I've kinda figured out how some of the ones with textures work, and now I want to see if I can get to the text. The iso has a lot of rXXXX.pak files, these are the main suspects of having it.
A PAK file has this inside:
Bytes 0 - 3: Number of files inside the PAK (there's PAK files that have other 8 PAK files inside, for example). In the rXXXX.pak ones, it's always 1.
Bytes 4 - 7: Seems to indicate the type of file. All the rXXXX.pak files and the font.pak have it set to 9.
Bytes 8 - 15: Name of the file
Byte 16: What seems to be a delimiter. It's value is always 5f
Bytes 17 - 19: Size of the file minus 25 (written in reverse, for example 'da 4b 07' should be read as 0x74bda). Might indicate the header is 25 bytes long.
Bytes 20 - 23: Unknown. Some key to decompress the text, maybe?
Bytes 24 - 27: Always 0.
Bytes 28 onwards: what seems to be compressed text.
Here's a couple of example files:https://dl.dropboxusercontent.com/u/144016034/r001.pakhttps://dl.dropboxusercontent.com/u/144016034/r002.pak
As you may have guessed, I'm pretty cueless when it comes to compression (and a lot of other things, to be honest). Can anybody help me with this, please? It might not even be text after all, but it's worth a try.