Mace Griffin: Bounty Hunter WAD

From XentaxWiki
Jump to navigation Jump to search

Back to index | Edit this page

WAD

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


Format Specifications

// header
8 bytes (char) - signature   // "BHPS2WAD"
2 bytes - nulls
2 bytes - unknown  // 16256
4 bytes (uint32) - base offset


// index
number_of_entries *
{
   4 bytes (uint32) - number of files
   4 bytes (uint32) - number of subdirectories
   4 bytes (uint32) - unknown
   260 bytes (char) - base path + padding

   number_of_files *
   {
      32 bytes (char) - filename + padding
      4 bytes (uint32) - relative file offset
      4 bytes (uint32) - file size
      4 bytes (uint32) - unknown
   }

  number_of_subdirectories *
   {
      32 bytes (char) - filename + padding
      4 bytes (uint32) - directory offset
      4 bytes (uint32) - directory size
      4 bytes (uint32) - unknown
   }
}


// data
number_of_files *
{
   x bytes - file data
}

Notes and Comments

None.

Games

List of games using this file format:

  • Mace Griffin: Bounty Hunter (PS2) (*.WAD)

QuickBMS Script

Compatible Programs

None.