Moero Downhill Night PKD: Difference between revisions
Jump to navigation
Jump to search
imported>Dinoguy1000 (GRAFPageMisc cleanup) |
imported>Ikskoks (→Games) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 42: | Line 42: | ||
* [[Moero Downhill Night 2]] | * [[Moero Downhill Night 2]] | ||
* [[Moero Downhill Night Blaze]] | * [[Moero Downhill Night Blaze]] | ||
<br><br> | |||
[[Category:XOR encryption]] | |||
[[Category:File Format]] | |||
Latest revision as of 14:26, 4 April 2021
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
Games