Offset | Type | Description |
---|---|---|
0x00 | char[4] | String "BRES" in ASCII (42 52 45 53) |
0x04 | u16 | Byte order mark (BOM) apparently. 0xFE,0xFF for little endian |
0x06 | u16 | Padding //(usually 0x0000)? |
0x08 | u32 | 3C 00 00 00 |
0x0c | u16 | Length of file in bytes. |
0x0e | ? | ? |
Beginning with 0x0e there are alternating 2 bytes 0x0000 and some kind of u16 value which is mostly just incrementation... |
Until there is the content 0,0,0,764
in ASCII, which is also contained in the file version.nfo
in the original .bdae (=zip) file.
Then begins a listing of different files? or textures? or animations? in ASCII.
Then it ends somewhere and then mostly 0x00 and random stuff comes.
Apparently this BRES/BDAE format(-header) is loosely based on the Nintendo BRRES format (maybe Gameloft got the format specs from Nintendo while developing for one of their platforms and kept it), see http://wiki.tockdom.com/wiki/BRRES_(File_Format)