Ready 2 Rumble BOXING.RAT
Posted: Mon Nov 23, 2009 5:44 pm
The contents of this post was deleted because of possible forum rules violation.
Code: Select all
struct RATHeader
{
char magic[4]; // "RAT\0"
char version[4]; // "1.0A"
uint32_t unk1, unk2, unk3, unk4;
uint32_t nFiles;
uint32_t unk5;
}
struct RATFileEntry
{
char name[16]; // Not sure how it works exactly
uint32_t size;
uint32_t unk1, unk2;
uint32_t offset;
}
Code: Select all
idstring "RAT\0"
goto 24
get FILES long
get DUMMY long
for i = 0 < FILES
getdstring NAME 16
get SIZE long
get DUMMY long
get DUMMY long
get OFFSET long
log NAME OFFSET SIZE
next i