MX vs ATV Unleashed PAK: Difference between revisions
Jump to navigation
Jump to search
imported>PXR No edit summary |
imported>Ikskoks No edit summary |
||
| Line 39: | Line 39: | ||
* [[MultiEx Commander|MultiEx Commander]]<br> | * [[MultiEx Commander|MultiEx Commander]]<br> | ||
[[Category:File Format]] | |||
Revision as of 16:00, 10 January 2021
PAK
- Format Type : Archive
- Endian Order : Little Endian
- Date Posted : Feb. 3, 2006
Format Specifications
uint32 {4} - Number Of Files
// for each file
- char {100} - Filename (null terminated, filled with junk)
- uint32 {4} - File Offset (relative to the file data start)
- uint32 {4} - File Length
byte {X} - File Data
MultiEx BMS Script
ImpType SFileSize ; Get FILENUM Long 0 ; Set DATASTRT Long FILENUM ; Math DATASTRT *= 108 ; Math DATASTRT += 4 ; For F = 1 To FILENUM ; GetDString FILENAME 100 0 ; Get FOFFSET Long 0 ; Math FOFFSET += DATASTRT ; SavePos FSIZEX 0 ; Get FSIZE Long 0 ; Log FILENAME FOFFSET FSIZE 0 FSIZEX ; Next F ;