Mace Griffin: Bounty Hunter WAD: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "{{GRAFPageHeader}} == WAD == * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> * ''' Signature '''...")
imported>Ikskoks
 
(One intermediate revision by the same user not shown)
Line 31: Line 31:
       4 bytes (uint32) - relative file offset
       4 bytes (uint32) - relative file offset
       4 bytes (uint32) - file size
       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
       4 bytes (uint32) - unknown
   }
   }

Latest revision as of 10:39, 25 June 2023

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.