BRRES (File Format)

From Custom Mario Kart
Revision as of 14:38, 16 March 2011 by 82.170.21.49 (talk)
Jump to navigation Jump to search

BRRES Files are used to make objects. They contain models, textures and animations

Known editors:

Format

BRRES Files are similar to SZS Files. They contain multiple files, here is the format described.

Header

The header is a 0x10 structure. It is as follows:

Offset Type Description
0x00 char[4] 'BRES' in ASCII; File identifier
0x04 int Unknown
0x08 int Length of the file in bytes.
0x0C short Start of the beginning of the rootdata (0x0010)
0x0E short Amount of files (+1?)

Root

The root of the brres file contains all pointers to files and filenames The header of the root is 0x10 in length

Offset Type Description
0x00 char[4] 'root' in ASCII
0x04 int Length of rootdata
0x08 int Unknown
0x0C int Amount of folders

Included Files

BRRES Files contain only a few file formats, they are:

  • MDL0 - Model Files
  • TEX0 - Texture Files
  • SRT0 - Animation Files