Can someone explain Zelda(NES) Treasures screen format

Started by SleepyFist, March 23, 2016, 03:34:44 PM

Previous topic - Next topic


So far ive more or less learned the formats for most of the other text in the game, but then this


240A 1515 2418 0F24 1D1B 0E0A 1C1E 1B0E
1C24 E6E4 E5E4 E5E4 E5FF 0711 0E0A 1B1D
2424 2424 240C 1817 1D0A 1217 0E1B FF14
110E 0A1B 1DFF 070F 0A12 1B22 2424 2424
2424 2424 0C15 180C 14FF 071B 1E19 2224
2424 2424 2424 0524 1B1E 1912 0E1C FF

Its format matches nothing else I've edited so far and I have no idea how to move anything without getting random cutoffs and other bugs.

dougeff -- blog/tutorial on programming for the NES


Quote from: dougeff on March 23, 2016, 03:44:23 PM
I bet Dr. Floppy would know.


Prolly :P

March 23, 2016, 04:46:12 PM - (Auto Merged - Double Posts are not allowed before 7 days.)

Well, Ive figured out the graphics at least, In TLP I forgot to tune the graphics to the right position. ::)


As a general comment, another avenue to investigate when trying to figure out what's going on with something that's stumping you is to take a look at what other people have already done. For a text-related issue like this, you might want to take a look at some translation patches, and as it happens there are one or two on this site that even have screenshots showing modifications to the treasures screen.

As for the actual text, I think you'll find that the format is pretty simple: for each string, there's 1 byte to specify the screen X co-ordinate to start writing text to, then the text to write, terminated by $FF. If you make the text longer, you'll want to start writing at an earlier tile (smaller X co-ordinate) or use up some of the spaces between columns. As usual, if you change the lengths of any of the strings, you'll also have to update their pointer table, which you can find starting at $94AD.


Thanks for the advice, I'll have a look at those.
EDIT: Those guys didn't actually do anything in the way of editing the treasures format.

Ive just got up and my internet speed has renewed so I'm going to have a look at Zelda Outlands and see if there's anything there I can learn.