Galleon - Island Of Mystery (XBox) PKG
(Redirected from Galleon - Island Of Mystery (XBox))
Choose archive extension:
PKG
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {4} - Header (CRSR)
uint16 {2} - Unknown
uint16 {2} - Unknown
uint32 {4} - Archive Size [+12]
uint32 {4} - null
uint32 {4} - First File Offset [+4]
uint16 {2} - Directory Name Length (including null)
char {X} - Directory Name
byte {1} - null Filename Terminator
// for each file
- byte {1} - Reuse Filename Length
- char {X} - Filename Part
- byte {1} - Filename Part Terminator (byte 129)
- if (firstFileInDirectory){
- char {X} - File Extension
- byte {1} - File Extension Terminator (byte 243)
- }
- char {X} - File Extension
- uint32 {4} - File Offset
- uint32 {4} - File Length
byte {1} - End Of Directory Indicator (255)
uint32 {4} - null
byte {X} - File Data
MultiEx BMS
Not written yet
Notes and Comments
- The filenames are stored to minimise the repeating characters at the start of a name. To build the filename of a file, you copy all the characters of the previous filename except for the last ReuseFilenameLength characters, then append the FilenamePart to the end, followed by the file extension.
- It isn't known if the directory or extension can be changed in each archive