Deadly Premonition XPC

From XentaxWiki
Jump to: navigation, search

Back to index | Edit this page

XPC

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


Format Specifications

// header (64 bytes)
4 bytes (char) - signature // "XPC2"
4 bytes (uint32) - total archive size
2 bytes (uint16) - number of textures
2 bytes (uint16) - number of materials
2 bytes (uint16) - number of used textures
18 bytes - nulls
4 bytes (uint32) - index start offset  // 64
4 bytes (uint32) - data offset
24 bytes - nulls



// file index (32 bytes per entry)
number of entries *
{
   16 bytes (char) - original DDS filename  // e.g. "CNF0111.DDS"
   4 bytes (uint32) - file offset
   4 bytes (uint32) - file compressed size
   4 bytes (uint32) - file type
   4 bytes (uint32) - file uncompressed size?
}



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

Notes and Comments

  • This archive type seems to be only used to store DDS files.
  • Files may be compressed with ZLIB.

Games

List of games using this file format:

  • Deadly Premonition (X360) (*.XPC)

QuickBMS Script

Compatible Programs

None.