Namco All-Stars PAK

From XentaxWiki
Revision as of 23:37, 1 January 2023 by Ikskoks (talk | contribs) (Notes and Comments)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to index | Edit this page

PAK

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : RWPACK


Format Specifications

// Namco All-Stars Dig Dug
// PAK file format

// little endian


// header (36 bytes)
6 bytes (char) - signature  // "RWPACK"
6 bytes (char) - signature_2
4 bytes (uint32) - number of entries in directory
4 bytes (uint32) - encryption flag   // 0 - not encrypted
                                     // 1 - encrypted
1 byte (uint8) - encryption key  // e.g. 0x84 for "launcher_dd.pak" file
15 bytes - unknown



// index (60 bytes per entry)
number_of_entries *
{
   48 bytes (char) - filename + null + padding
   4 bytes (uint32) - file data size
   4 bytes (uint32) - file data offset
   4 bytes (uint32) - unknown
}

1 byte (uint8) - null / separator


// data
number_of_entries *
{
   x bytes - data
}

Notes and Comments

  • This file format occurs in games from Namco All-Stars series.
  • This file format uses simple Subtract Encryption with 1-byte key stored in the header.

Games

List of games using this file format:

  • Namco All-Stars Dig Dug (*.PAK) (PC)
  • Namco All-Stars Pac-Man (*.PAK) (PC)
  • Namco All-Stars Star Trigon (*.PAK) (PC)

QuickBMS Script

Not written yet.

Compatible Programs