Star Wars Battlefront LVL 1

From XentaxWiki
Revision as of 03:47, 12 December 2010 by Dinoguy1000 (talk | contribs) (take it all the way back to the original version by WATTO)

Jump to: navigation, search


Format Specifications

char {4}     - Header (ucfb)
uint32 {4}   - Archive Size [+8]
uint32 {4}   - File Extension (lvl_)
uint32 {4}   - Archive Size [+16]
uint32 {4}   - Unknown
uint32 {4}   - Archive Size [+24]

// for each file

char {4}     - File Type Code/Extension ("coll","entc","gmod","modl","tex_","skel","wpnc","zaa_","zaf_" etc.)
uint32 {4}   - File Size (not including this and the previous field)
char {4}     - Filename Header (NAME)
uint32 {4}   - Filename Length (including 1 null)
char {X}     - Filename (not including extension)
byte {1}     - null Filename Terminator
byte {0-3}   - null Padding to a multiple of 4 bytes

byte {X}     - File Data {

// for each group
uint32 {4}   - Group Name
uint32 {4}   - Group Length
byte {X}     - Group Data


MultiEx BMS

Not written yet

Notes and Comments

  • It appears as though the Filename Header field and the Information Header field may not be read by the game because they are sometimes the Filename header says INFO and the Information Header says NAME. However, the fields following the Filename Header is the filename regardless of the actual value of Filename Header. (ie sometimes the Filename Header has the wrong value, but the filename still follows as in the spec)
  • Also, the files all seem to have their own archive-like structure

Supported Programs