Deadly Premonition XPC: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (15 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 | ||
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 32: | Line 31: | ||
4 bytes (uint32) - file compressed size | 4 bytes (uint32) - file compressed size | ||
4 bytes (uint32) - file type | 4 bytes (uint32) - file type | ||
4 bytes (uint32) - | 4 bytes (uint32) - file uncompressed size? | ||
} | } | ||
// data | |||
number_of_entries * | number_of_entries * | ||
{ | { | ||
| Line 44: | 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 52: | Line 55: | ||
=== QuickBMS Script === | === QuickBMS Script === | ||
* [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 60: | Line 63: | ||
[[Category:Complete | [[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: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.