Neocron

From XentaxWiki
Jump to: navigation, search

Choose archive extension:

PAK


Format Specifications

uint32 {4}   - Unknown
uint32 {4}   - Number of Files

// for each file

uint32 {4}   - File Entry Length (ie 20 + filename.length() + 1)
uint32 {4}   - File Offset
uint32 {4}   - Compressed File Length
uint32 {4}   - Decompressed File Length
uint32 {4}   - Filename Length (including null terminator)
char {X}     - Filename
byte {1}     - null Filename Terminator


byte {X}     - File Data

MultiEx BMS

ImpType Standard ;
ComType ZLib1 ;
Get DATE Long 0 ;
Get FileNum Long 0 ;
For T = 1 To FileNum ;
Get BlSize Long 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
SavePos UCSO 0 ;
Get UCS Long 0 ;
Get FNS Long 0 ;
GetDString FN FNS 0 ;
CLog FN FO FS FOO FSO UCS UCSO ;
Next T ;

Notes and Comments

Uses ZLib Compression?

Supported Programs