GRAF:Halo MAP: Difference between revisions
imported>Dinoguy1000 m (Halo MAP 1 moved to GRAF:Halo MAP: per naming conventions) |
imported>Matsy |
||
| Line 48: | Line 48: | ||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
[Category:Platform PC|== MAP (VERSION 1 AND 2) == | |||
* ''' Format Type ''': Archive <br> | |||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | |||
=== Format Specifications === | |||
<tt><b> | |||
uint32 {4} - Version <font color="purple">(1)</font> or <font color="purple">(2)</font> <br> | |||
uint32 {4} - Filename Directory Offset <font color="purple">(filenames are null terminated)</font> <br> | |||
uint32 {4} - Directory Offset <br> | |||
uint32 {4} - Number Of Files <br> | |||
<br> | |||
byte {X} - File Data <br> | |||
<br> | |||
<font color="blue"> ''' // Directory ''' </font> <br> | |||
: <font color="blue"> ''' // for each file ''' </font> <br> | |||
:: uint32 {4} - <font color="red"> '' ID? '' </font> <br> | |||
:: uint32 {4} - Size <br> | |||
:: uint32 {4} - Offset <br> | |||
<br> | |||
</b></tt> | |||
=== 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 === | |||
* [[Game Extractor|Game Extractor]]<br>]] | |||
Revision as of 17:57, 6 February 2007
MAP (VERSION 1 AND 2)
- Format Type : Archive
- Endian Order : Little Endian
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
- uint32 {4} - ID?
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
[Category:Platform PC|== MAP (VERSION 1 AND 2) ==
- Format Type : Archive
- Endian Order : Little Endian
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
- uint32 {4} - ID?
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>