Newest Translations

Donkey Kong Country 3: Dixie Kong's Double Trouble Kagero: Deception II Mitsume ga Tooru Donkey Kong Jr.

Newest Utilities

Goof Troop Editor PSX/2 CNF Creator FFA Expander Ganesha Dx

Newest Documents

Documents

Newest Reviews

Git Up, Git Out, Git Gud Alleyway DX Kirby's Pinball Land DX Quest for Sarah

Newest Homebrew

ROOMS For the Birds VI Game Boy Advance RGB Colour Test (GBA) Plummet Challenge Game

Featured Hack Images

Mega Man 3 - Ridley X Hack 1 Super Mario Bros. -  Yoshi's Quest SMK Universe 2 Super Mario 2D Land

Featured Translation Images

Final Fantasy The Legend of Zelda Romancia Wreckless: The Yakuza Missions

Recent Updates

  • Credits
    Wanted to clarify that Xenesis documented the original rom, not my rom. Hopefully that doesn't go over the text-limit. With that, I should be done with updates for now. Thank you! :)
  • Credits
    If "help and advice" isn't acceptable contributions, I suppose cut the two last ones, but then I'd claim the top three edits should be made at least. It looks weird with cut text right now.
  • Hacks
    To add a link to the new trailer for the hack.
  • Hacks
    fixed grammer mistake

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

Links:

User Review Information
No User Reviews!