Namco All-Stars PAK: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "{{GRAFPageHeader}} == PAK == * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> * ''' Signature '''...")
 
imported>Ikskoks
 
(12 intermediate revisions by the same user not shown)
Line 32: Line 32:
{
{
   48 bytes (char) - filename + null + padding
   48 bytes (char) - filename + null + padding
   4 bytes (uint32) - file size
   4 bytes (uint32) - file data size
   4 bytes (uint32) - file data offset
   4 bytes (uint32) - file data offset
   4 bytes (uint32) - unknown
   4 bytes (uint32) - unknown
Line 51: Line 51:


* This file format occurs in games from '''Namco All-Stars''' series.
* 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 ===  
=== Games ===  
List of games using this file format:
List of games using this file format:
* Namco All-Stars Dig Dug
* Namco All-Stars Dig Dug (*.PAK) (PC)
* Namco All-Stars Pac-Man
* Namco All-Stars Pac-Man (*.PAK) (PC)
* Namco All-Stars Star Trigon
* Namco All-Stars Star Trigon (*.PAK) (PC)


=== QuickBMS Script ===  
=== QuickBMS Script ===  
Line 70: Line 71:
[[Category:Complete Almost Done|Namco All-Stars PAK]]
[[Category:Complete Almost Done|Namco All-Stars PAK]]
[[Category:Platform PC|Namco All-Stars PAK]]
[[Category:Platform PC|Namco All-Stars PAK]]
[[Category:CE None|Namco All-Stars PAK]]
[[Category:CE Encrypted|Namco All-Stars PAK]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_pak | Extension: pak]]
[[Category:Extension_pak | Extension: pak]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 21:37, 1 January 2023

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