Mission Kelloggs FF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>PXR
No edit summary
 
imported>Ikskoks
m (Ikskoks moved page Mission Kelloggs to Mission Kelloggs FF)
 
(10 intermediate revisions by 3 users not shown)
Line 8: Line 8:


<tt><b>
<tt><b>
uint32 {4}&nbsp;&nbsp; - Number Of Files <font color="green">[-1]</font><br>  
uint32 {4}&nbsp;&nbsp; - Number Of Files <font color="darkgreen">[-1]</font> <br>  
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ''' </font> <br>  
: uint32 {4}&nbsp;&nbsp; - File Offset <br>  
: uint32 {4}&nbsp;&nbsp; - File Offset <br>  
: uint32 {4}&nbsp;&nbsp; - Filename Offset <br><br>
: uint32 {4}&nbsp;&nbsp; - Filename Offset <br>  
<br>
uint32 {4}&nbsp;&nbsp; - Archive Length <br>  
uint32 {4}&nbsp;&nbsp; - Archive Length <br>  
uint32 {4}&nbsp;&nbsp; - null <br>  
uint32 {4}&nbsp;&nbsp; - null <br>  
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ''' </font> <br>  
: char {x}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null-terminated)</font> <br><br>
: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <br>  
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null Filename Terminator <br>  
<br>
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
</b></tt>
</b></tt>
<br>


=== MultiEx BMS Script ===  
=== MultiEx BMS Script ===  
Line 44: Line 46:
</pre>
</pre>


=== Compatable Programs ===  
=== Compatible Programs ===  
* [[Game Extractor|Game Extractor]]<br>
* [[MultiEx Commander|MultiEx Commander]]<br>
 


* [[MultiEx Commander|MultiEx Commander]]<br>
[[Category:File Format]]

Latest revision as of 16:54, 16 January 2021

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