Donkey Kong Land 2 & 3 Map Dumper
Posted: January 5th, 2013, 7:21 am
Hello everybody, I have created a program that rips level maps from Donkey Kong Land 2 and 3. Yes, it works for two games at the same time, since DKL3 was heavily built off DKL2 (not too surprising, it has the same physics, similar graphics and sound effects, etc.) It works for all versions of these two games, so you can use this on the Japanese and English versions, the DKL3 prototype, various ROM hacks, etc. Here is a list of various features it has:
- Ability to rip level maps
- Color palettes for Super Game Boy and Game Boy Color, as well as a monochrome palette for Game Boy
- Accurate water shading
- Ability to rip 8x8 tiles in each level type (harder than it sounds, since decompression is required)
- Ability to rip 32x32 tiles in each level type (made up of 8x8 tiles)
- Logs for map decompression routine
- Raw, decompressed map data in hexadecimal
Unfortunately, it doesn't support sprites yet. I'd like to add that in some future release, though, because it would be very helpful. It also doesn't rip bonus stages yet, though I'm thinking of adding that in too. But this is the first release, so you can't expect everything yet.
Now, here is how to run it:
- You need Python 2.7.3 (NOT 3!). Download it here, then install it: http://python.org/download/releases/2.7.3/
- Decompress the ZIP folder that's attached, then double-click on map_dump.py. Don't touch any of the other .py files (with the optional exception of settings.py, more on this below).
- A command line window will open up.
- You'll first be prompted to enter a file name of the ROM (you can just drag the file into the window).
- You'll then be prompted to enter the level you want to dump.
- You'll next be prompted to choose between SGB or GB palettes (for DKL2 and English DKL3), or GBC or GB palettes (for Japanese DKL3).
- That's it! Once it's done, go to the Maps folder (under the folder of the game you used) and you will see it there!
You can also change various settings by editing settings.py. In Windows, don't double-click it; instead right-click it and click Edit with IDLE. (Alternately, you can open it in Notepad like you would open a .txt file.) In Ubuntu, you can double-click it, then click Display on the window that appears.
These are what the various settings do:
This program has been tested on Windows and Ubuntu, but I've been unable to test this on Mac since I don't have access to a Mac computer. Hopefully it will work there somehow, though. If you're stuck on how to use this program, look at the README file or ask here. Also, feel free to report any issues here.
(I'm also painfully aware that the source code is messy, by the way! I don't need to hear that.)
Download:
http://www.mediafire.com/?h53pej7ey7tvv7s
- Ability to rip level maps
- Color palettes for Super Game Boy and Game Boy Color, as well as a monochrome palette for Game Boy
- Accurate water shading
- Ability to rip 8x8 tiles in each level type (harder than it sounds, since decompression is required)
- Ability to rip 32x32 tiles in each level type (made up of 8x8 tiles)
- Logs for map decompression routine
- Raw, decompressed map data in hexadecimal
Unfortunately, it doesn't support sprites yet. I'd like to add that in some future release, though, because it would be very helpful. It also doesn't rip bonus stages yet, though I'm thinking of adding that in too. But this is the first release, so you can't expect everything yet.
Now, here is how to run it:
- You need Python 2.7.3 (NOT 3!). Download it here, then install it: http://python.org/download/releases/2.7.3/
- Decompress the ZIP folder that's attached, then double-click on map_dump.py. Don't touch any of the other .py files (with the optional exception of settings.py, more on this below).
- A command line window will open up.
- You'll first be prompted to enter a file name of the ROM (you can just drag the file into the window).
- You'll then be prompted to enter the level you want to dump.
- You'll next be prompted to choose between SGB or GB palettes (for DKL2 and English DKL3), or GBC or GB palettes (for Japanese DKL3).
- That's it! Once it's done, go to the Maps folder (under the folder of the game you used) and you will see it there!
You can also change various settings by editing settings.py. In Windows, don't double-click it; instead right-click it and click Edit with IDLE. (Alternately, you can open it in Notepad like you would open a .txt file.) In Ubuntu, you can double-click it, then click Display on the window that appears.
These are what the various settings do:
Spoiler!
(I'm also painfully aware that the source code is messy, by the way! I don't need to hear that.)
Download:
http://www.mediafire.com/?h53pej7ey7tvv7s