Mission Kelloggs FF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>PXR
No edit summary
imported>PXR
Line 44: Line 44:
</pre>
</pre>


=== Compatable Programs ===  
=== Compatible Programs ===  


* [[MultiEx Commander|MultiEx Commander]]<br>
* [[MultiEx Commander|MultiEx Commander]]<br>

Revision as of 23:49, 1 December 2005

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 ;

Compatible Programs