Mission Kelloggs

From XentaxWiki
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
byte {1}     - null Filename Terminator


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 ;

Compatible Programs