Difference between revisions of "BRRES (File Format)"

From Custom Mario Kart
Jump to navigation Jump to search
Line 64: Line 64:
 
=Included Files=
 
=Included Files=
 
BRRES Files contain only a few file formats, they are:
 
BRRES Files contain only a few file formats, they are:
* MDL0 - Model Files
+
* MDL0 - Model Files
* TEX0 - Texture Files
+
* TEX0 - Texture Files
* SRT0 - Animation Files
+
* SRT0 - Animation Files
  
 
[[Category: File Format]]
 
[[Category: File Format]]

Revision as of 14:38, 16 March 2011

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