Moero Downhill Night PKD
From XentaxWiki
Back to index | Edit this page
Contents
PKD
- Format type: Archive
- Endianness: Little-endian
Format Specifications
char {4} - Header (PACK)
uint32 {4} - Number of files
// For each file
- char {128} - File name (null padded)
- uint32 {4} - File size in bytes
- uint32 {4} - File offset in bytes
Notes and Comments
The whole archive (except the first 4 bytes) is XOR encrypted with a value of 197 (0xC5). If your program doesn't support XOR, you'll have to decrypt the archive first with an external program. The script below assumes an already decrypted archive.
MultiEx BMS Script
<bms games="'Moero Downhill Night Type R', 'Moero Downhill Night 2', 'Moero Downhill Night Blaze'" platforms="'PC', 'PC', 'PC'" ext="pkd"> GoTo 4 0 ; Get FILECNTL Long 0 ; Math FILECNTL -= 1 ; Do ; GetDString FILENAME 128 0 ; Get FILESIZE Long 0 ; Get FILEOFF Long 0 ; SavePos FILESTART 0 ; Log FILENAME FILEOFF FILESIZE 0 0 ; Math EXTRCNT += 1 ; While EXTRCNT < FILECNTL ; </bms>
Supported by Programs
Unknown
Links
None