Mission Kelloggs

From XentaxWiki
Revision as of 01:43, 2 December 2005 by PXR (talk | contribs)

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

FF


Format Specifications

uint32 {4}   - Number Of Files [-1]

// for each file

uint32 {4}   - File Offset
uint32 {4}   - Filename Offset

uint32 {4}   - Archive Length
uint32 {4}   - null

// for each file

char {x}    - Filename (null-terminated)

byte {X}     - File Data

MultiEx BMS Script

ImpType SFileOffset ;
Get FILENUM Long 0 ;
Math FILENUM -= 1 ;
For X = 1 To FILENUM ;
SavePos FOFFSETX 0 ;
Get FOFFSET Long 0 ;
Get FNAMEOFF Long 0 ;
SavePos TEMP 0 ;
GoTo FNAMEOFF 0 ;
Get FNAME String 0 ;
GoTo TEMP 0 ;
Get NFOFFSET Long 0 ;
Set FSIZE Long NFOFFSET ;
Math FSIZE -= FOFFSET ;
Log FNAME FOFFSET FSIZE FOFFSETX 0 ;
GoTo TEMP 0 ;
Next X ;

Compatable Programs