News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Can someone explain Zelda(NES) Treasures screen format  (Read 1248 times)

SleepyFist

  • Hero Member
  • *****
  • Posts: 842
    • View Profile
Can someone explain Zelda(NES) Treasures screen format
« on: March 23, 2016, 03:34:44 pm »
So far ive more or less learned the formats for most of the other text in the game, but then this

_ALL_OF_TREASURES_.......[]7HEART_____CONTAINER[]KHEART[]7FAIRY________CLOCK[]7RUPY_______5_RUPIES[]

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.

« Last Edit: March 23, 2016, 07:30:37 pm by SleepyFist »
Sleepy's tune of the week|| 2 Mello - after midnight: unaired broadcasts || https://youtu.be/FKqLCJ4mStI

dougeff

  • Sr. Member
  • ****
  • Posts: 359
    • View Profile
I bet Dr. Floppy would know.

;)
nesdoug.com -- blog/tutorial on programming for the NES

SleepyFist

  • Hero Member
  • *****
  • Posts: 842
    • View Profile
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. ::)
« Last Edit: March 23, 2016, 04:46:12 pm by SleepyFist »
Sleepy's tune of the week|| 2 Mello - after midnight: unaired broadcasts || https://youtu.be/FKqLCJ4mStI

abw

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
Re: Can someone explain Zelda(NES) Treasures screen format
« Reply #3 on: March 23, 2016, 08:52:14 pm »
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.

SleepyFist

  • Hero Member
  • *****
  • Posts: 842
    • View Profile
Re: Can someone explain Zelda(NES) Treasures screen format
« Reply #4 on: March 23, 2016, 08:58:27 pm »
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.
« Last Edit: March 25, 2016, 09:56:31 am by SleepyFist »
Sleepy's tune of the week|| 2 Mello - after midnight: unaired broadcasts || https://youtu.be/FKqLCJ4mStI