MX vs ATV Unleashed

From XentaxWiki
Jump to: navigation, search

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 ;

Compatible Programs