Master LBX

From XentaxWiki
Revision as of 05:35, 12 December 2005 by WATTO (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

LBX


Format Specifications

uint16 {2}   - Number Of Files [-1]
uint32 {4}   - Unknown (65197)
uint16 {2}   - null
uint32 {4}   - Offset To Filename Directory (2048)?

// for each file

uint32 {4}   - Offset


uint32 {4}   - Archive Size
byte {X}     - Unknown to offset 2048

// for each file

char {20}    - Filename (null)


byte {X}     - null Padding to First File Offset (32768)
byte {X}     - File Data

MultiEx BMS Script

Get FILECNTL Int 0 ;
Get DUMMYI Int 0 ;
Get DUMMYL Long 0 ;
SavePos TAILOFF 0 ;
Do ;
GoTo TAILOFF 0 ;
Get FILEOFF Long 0 ;
SavePos TAILOFF 0 ;
Get FILESIZE Long 0 ;
Math FILESIZE -= FILEOFF ;
Log FILENAME FILEOFF FILESIZE 0 0 ;
Math EXTRCNT += 1 ;
While EXTRCNT <> FILECNTL ;

Compatible Programs

Other Games

These games also use this file format

  • Master Of Magic *.lbx
  • Master Of Orion *.lbx
  • Master Of Orion 2 *.lbx