GRAF:Halo MAP: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Matsy
imported>Matsy
Line 24: Line 24:


=== MultiEx BMS Script ===
=== MultiEx BMS Script ===
 
<bms ext="MAP" games="'Halo'" platforms="'PC'" author="Matsy" version="1.0" silence="no" verbose="no">
Imptype Standard;<br>
Imptype Standard;  
Get Version Long 0;<br>
Get Version Long 0;  
Get FDO Long 0;<br>
Get FDO Long 0;  
Get DO Long 0;<br>
Get DO Long 0;  
Get FC Long 0;<br>
Get FC Long 0;  
For T = 1 to FC;<br>
For T = 1 to FC;  
Goto FDO 0;<br>
Goto FDO 0;  
Get FN String 0;<br>
Get FN String 0;  
SavePos FDO 0;<br>
SavePos FDO 0;  
Goto DO 0;<br>
Goto DO 0;  
Get UK Long 0;<br>
Get UK Long 0;  
SavePos FSO 0;<br>
SavePos FSO 0;  
Get FS Long 0;<br>
Get FS Long 0;  
SavePos FOO 0;<br>
SavePos FOO 0;  
Get FP Long 0;<br>
Get FP Long 0;  
SavePos DO 0;<br>
SavePos DO 0;  
Log FN FP FS FOO FSO;<br>
Log FN FP FS FOO FSO;  
Next T;<br>
Next T;  
</bms>


=== Compatible Programs ===  
=== Compatible Programs ===  


* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>

Revision as of 16:17, 6 February 2007

MAP (VERSION 1 AND 2)


Format Specifications

uint32 {4}   - Version (1) or (2)
uint32 {4}   - Filename Directory Offset (filenames are null terminated)
uint32 {4}   - Directory Offset
uint32 {4}   - Number Of Files

byte {X}     - File Data

// Directory

// for each file
uint32 {4}   - ID?
uint32 {4}   - Size
uint32 {4}   - Offset


MultiEx BMS Script

<bms ext="MAP" games="'Halo'" platforms="'PC'" author="Matsy" version="1.0" silence="no" verbose="no"> Imptype Standard; Get Version Long 0; Get FDO Long 0; Get DO Long 0; Get FC Long 0; For T = 1 to FC; Goto FDO 0; Get FN String 0; SavePos FDO 0; Goto DO 0; Get UK Long 0; SavePos FSO 0; Get FS Long 0; SavePos FOO 0; Get FP Long 0; SavePos DO 0; Log FN FP FS FOO FSO; Next T; </bms>

Compatible Programs