Deadly Premonition XPC: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(17 intermediate revisions by the same user not shown)
Line 16: Line 16:
2 bytes (uint16) - number of textures
2 bytes (uint16) - number of textures
2 bytes (uint16) - number of materials
2 bytes (uint16) - number of materials
4 bytes (uint32) - number of used textures
2 bytes (uint16) - number of used textures
 
18 bytes - nulls
 
4 bytes (uint32) - index start offset  // 64
4 bytes (uint32) - index start offset  // 64
4 bytes (uint32) - data offset
4 bytes (uint32) - data offset
Line 28: Line 27:
number of entries *
number of entries *
{
{
   16 bytes (char) - DDS filename  // e.g. "CNF0111.DDS"
   16 bytes (char) - original DDS filename  // e.g. "CNF0111.DDS"
   4 bytes (uint32) - file offset
   4 bytes (uint32) - file offset
   4 bytes (uint32) - file size
   4 bytes (uint32) - file compressed size
   2 bytes (uint16) - unknown  // 3
   4 bytes (uint32) - file type
  2 bytes (uint16) - unknown  // 1
   4 bytes (uint32) - file uncompressed size?
   4 bytes (uint32) - unknown
}
}


// data
number_of_entries *
number_of_entries *
{
{
Line 45: Line 46:
=== Notes and Comments ===  
=== Notes and Comments ===  


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


Line 53: Line 55:
=== QuickBMS Script ===  
=== QuickBMS Script ===  


Not written yet.
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Deadly%20Premonition/Deadly_Premonition_XPC_script.bms Deadly_Premonition_XPC_script.bms]


=== Compatible Programs ===  
=== Compatible Programs ===  
Line 61: Line 63:




[[Category:Complete WIP|Deadly Premonition XPC]]
[[Category:Complete Almost Done|Deadly Premonition XPC]]
[[Category:Platform X360|Deadly Premonition XPC]]
[[Category:Platform X360|Deadly Premonition XPC]]
[[Category:CE Compressed|Deadly Premonition XPC]]
[[Category:CE Compressed|Deadly Premonition XPC]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_xpc | Extension: xpc]]
[[Category:Extension_xpc | Extension: xpc]]
[[Category:BMS_None | BMS: None]]
[[Category:ZLIB compression]]
[[Category:ZLIB compression]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 22:10, 13 September 2022

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.