News
Welcome to NeoRHDN! This place is still a work-in-progress, so pardon the construction...

Chat on Discord
Views: 754,105
Sections: Documents | Utilities | ROM Hacks | Games | Translations | Homebrew | Fonts | Community
Site: Main | Rules/FAQ | Discord | Memberlist | Latest posts | Stats | Ranks | Online users
11-22-24 12:56 AM
Guest: Register | Login

NeoRHDN - Utilities - Utility Information

GraveyardDuck
Miscellaneous Graphics Tools
Description
GraveyardDuck is a Python program which will decompress and extract, and compress and insert graphics from several 8-bit Konami games. All you need to do to use it is find where the compression starts. It has been confirmed to work on the RLE in Castlevania 2 FDS, Rampart, and Ai Senshi Nicol.

This is a python script executed by command line:
graveduck.py -c [FILENAME] [OFFSET] [BINARY]
graveduck.py -d [FILENAME] [OFFSET] [BINARY]

-c compresses BINARY and sticks it into FILENAME at OFFSET. Don't blame me if it overwrites stuff because the new compressed data is larger — that is your own fault. My compression is 1-to-1 identical to Konami's and compresses data to exactly match Konami's version.

-d opens FILENAME, goes to OFFSET, decompressed everything and saves it to BINARY.

The RLE in question is incredibly simple:
Value less than 0×80: write the following byte n times
Value greater than 0×80: write the following (n - 0×80) bytes
(note by KingMike: analysis of the original code suggests value = 0×80 = writing the following 256 bytes. I haven't checked what this program does.)
Value == 0xff: end compressed block
TitleGraveyardDuck
AuthorD
CategoryMiscellaneous Graphics Tools
PlatformN/A
GameN/A
OSOS Independent
LicenseN/A
Source CodeNo
LevelBeginner
Version1.3
Release Date2013-12-17
Downloads421
Last Modified2015-12-10 20:47:27


Affiliates:


Acmlmboard v2.5.6+neo (2024-08-13)
© 2005-2024 Acmlm, Emuz, NinCollin, et al.

Page rendered in 0.029 seconds. (642KB of memory used)
MySQL - queries: 24, rows: 323/329, time: 0.024 seconds.