GRAF:PAK PACK

From XentaxWiki
Jump to: navigation, search

PAK


Format Specifications

char {4}     - Header (PACK)
uint32 {4}   - Directory Offset
uint32 {4}   - Directory Size

byte {X}     - File Data

// Directory

// for each file
char {56}    - Filename (null)
uint32 {4}   - Offset
uint32 {4}   - Size


MultiEx BMS Script

<bms author="Mr.Mouse" games="'7 Sins','Counterstrike','Gunman Chronicles','Half-Life','Heretic 2','Hexen 2','Kingpin','Quake','Quake 2','Sin','Soldier of Fortune','Trickstyle'" platforms="'PC','PC','PC','PC','PC','PC','PC','PC','PC','PC','PC','PC'" version="1.0" ext="PAK" verbose="no" silence="no"> IDString 0 PACK ; ImpType Standard ; SavePos TailOffOff 0 ; Get T Long 0 ; Get TS Long 0 ; SavePos F 0 ; GoTo T 0 ; Math TS /= 64 ; For i = 1 To TS ; SavePos T 0 ; Get FN String 0 ; Math T += 56 ; GoTo T 0 ; SavePos Foo 0 ; Get Fo Long 0 ; SavePos Fso 0 ; Get Fs Long 0 ; Log FN Fo Fs Foo Fso ; Next i ; </bms>

Compatible Programs

Other Games

These games use this file format

  • 7 Sins
  • Counterstrike
  • Gunman Chronicles
  • Half-Life
  • Heretic 2
  • Hexen 2
  • Kingpin
  • Quake
  • Quake 2
  • Sin
  • Soldier Of Fortune
  • Trickstyle