Restricted Area

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

PAK


Format Specifications

// for each file

uint32 {4}   - Decompressed File Length
uint32 {4}   - File Length (not including this 8-byte header)


// Compressed File Data
char {2}     - Compression Header (JC)
uint32 {4}   - Decompressed File Length
byte {X}     - Compressed File Data


MultiEx BMS

Set JC String .JC ;
SavePos ST 0 ;
GoTo EOF 0 ;
SavePos END 0 ;
GoTo ST 0 ;
Set Num Long 0 ;
Do ;
Get UCS Long 0 ;
SavePos CSO 0 ;
Get CS Long 0 ;
SavePos FO 0 ;
SavePos J 0 ;
GetDString ID 2 0 ;
SavePos UCSO 0 ;
Set FN String FILE ;
String FN += Num ;
String FN += JC ;
Log FN FO CS 0 CSO ;
Math Num += 1 ;
Math J += CS ;
GoTo J 0 ;
While J < END ; 

Notes and Comments

  • Unknown compression is used in this archive


Supported Programs