GRAF:Age of Mythology: Difference between revisions
Jump to navigation
Jump to search
imported>Mr.Mouse |
imported>Mr.Mouse |
||
| Line 61: | Line 61: | ||
Next TE ; | Next TE ; | ||
</pre> | </pre> | ||
Requires [[MultiEx_Commander|MexCom]] 4.0 | |||
=== Compatible Programs === | === Compatible Programs === | ||
Revision as of 19:22, 16 May 2005
Choose archive extension:
BAR
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
byte {12} - Unknown
uint32 {4} - Number Of Files
uint32 {4} - Directory Length
uint32 {4} - Directory Offset
byte {X} - File Data
// Directory
- // for each file
- uint32 {4} - Next File Entry Offset?
- uint32 {4} - File Offset
- uint32 {4} - File Length
- byte {12} - Unknown
- char {X} - Filename
- byte {1} - null Filename Terminator
- uint32 {4} - Next File Entry Offset?
MultiEx BMS Script
ImpType StandardTail ; Set S Long 12 ; GoTo S 0 ; Get FC Long 0 ; Get FTSize Long 0 ; SavePos TailOffOff 0 ; Get TO Long 0 ; Set FJ Long 4 ; Math FJ *= FC ; GoTo TO 0 ; For TE = 1 To FC ; Get FE Long 0 ; Math FE += TO ; Math FE += FJ ; SavePos CB 0 ; GoTo FE 0 ; SavePos FOO 0 ; Get FO Long 0 ; SavePos FSO 0 ; Get FS Long 0 ; SavePos TP 0 ; Math TP += 12 ; GoTo TP 0 ; Get FN String 0 ; Log FN FO FS FOO FSO ; GoTo CB 0 ; Next TE ;
Requires MexCom 4.0