Moero Downhill Night PKD: Difference between revisions
Jump to navigation
Jump to search
imported>Zardas (Format added) |
imported>Dinoguy1000 (fix header) |
||
| Line 1: | Line 1: | ||
{{GRAFPageHeader}} | {{GRAFPageHeader}} | ||
== | == PKD == | ||
{{GRAFPageMisc| | {{GRAFPageMisc| | ||
date_posted=05:41, 14 April 2011 (CDT)}} | date_posted=05:41, 14 April 2011 (CDT)}} | ||
Revision as of 16:33, 14 April 2011
Back to index | Edit this page
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