Metal Heart - Replicants Rampage PKG: Difference between revisions
Jump to navigation
Jump to search
imported>Rick |
imported>Rick |
(No difference)
| |
Revision as of 21:07, 9 August 2005
Choose archive extension:
PKG
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// Header
- char {4} - Header (ARCH)
- uint16 {2} - Version
- uint16 {2} - Unknown
- uint32 (4) - Unknown, possibly archive CRC/Timestamp
- uint32 (4) - Unknown, possibly archive CRC/Timestamp
- uint32 (4) - Size of archive including header
- uint32 (4) - Offset from end of archive file to file index
- uint32 (4) - Unknown
- uint16 (2) - Number of files in archive
- uint16 (2) - Unknown
// For each file
- byte {X} - File data, if file index entry compressed and uncompressed sizes are different, the data is compressed using zlib.
// For each index entry
- uint32 (4) - Unknown, possibly archive CRC/Timestamp
- uint32 (4) - Unknown, possibly archive CRC/Timestamp
- uint32 (4) - Compressed size of data
- uint32 (4) - Uncompressed size of data
- uint32 (4) - Absolute offset of file data in archive. If the offset is 0xFFFFFFFF, the file is actually a directory, and should have compressed and uncompressed sizes of 0.
- uint16 (2) - Length of multibyte string in uint16s.
- uint16 (2) - Unknown.
- uint16 (X) - Multibyte string of filename.
MultiEx BMS
Not written yet
Notes and Comments
The game provides a utility named pkg.exe which can be used to create new PKG archives in the game directory /data/scene. This utility however, does not have the ability to extract PKG archives.
Supported by Programs
None