adventures in obscurity: zc-reader, a reader for ZeldaClassic quest files

Posted on Sunday 10 September 2006

some extracted zelda map tiles

ZeldaClassic is a PC-based emulator and editor for the NES 8-bit classic game The Legend of Zelda. I’ve been thinking for some time about a way to get my hands on the data that constitutes the Overworld map of this game for use in a couple of art projects (covered by fair use, I promise, Nintendo lawyer type folks), and I thought the ZeldaClassic project might be just the ticket. After all, they’ve done all the work of reverse engineering the original data format used in the original Zelda ROM and converting it into a sensible, easily-edited “quest” file. Unfortunately, Zelda Classic is a closed-source project for some reason, and without the source it was going to be pretty hard to figure out what’s going on in those quest files.

Enter Breaking Eggs and Making Omelettes, where Mike Melanson posted a great document detailing the format of the quest files in great detail.

Armed with that information, I banged out a Python “reader” for ZeldaClassic quest files (the unencoded kind - files ending in ‘.qsu’) that, given a quest file, can spit out the tiles that make up the map, and optionally an image of the full map of each level.

A Sourceforge project is hopefully on the way
Here’s the SourceForge page, but in the meantime here’s the initial version:

I’ve tested this on Python 2.4 on Mac OS X 10.4 and Windows XP SP2. See the README for some more information about requirements, installation, running, etc.

WordPress database error: [Table './wordpress/um_comments' is marked as crashed and should be repaired]
SELECT * FROM um_comments WHERE comment_post_ID = '59' AND comment_approved = '1' ORDER BY comment_date

Leave a Reply

Sorry, I'm getting annihiliated by comment spam. Please prove you're a human and I'll greatly appreciate it.
If you can't read the security code, just reload the page and a new one will be generated.