GRAF:Age of Mythology: Difference between revisions
Jump to navigation
Jump to search
imported>Mr.Mouse |
imported>Ikskoks No edit summary |
||
| (10 intermediate revisions by 3 users not shown) | |||
| Line 61: | Line 61: | ||
Next TE ; | Next TE ; | ||
</pre> | </pre> | ||
Requires [[MultiEx_Commander|MexCom]] 4.0 | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [[MultiEx_Commander|MultiEx Commander]] | |||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
* [[Dragon_Unpacker|Dragon UnPACKer]]<br/> | |||
[[Category:File Format]] | |||
Latest revision as of 00:52, 3 January 2021
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