Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

The Legend of Zelda/Tutorials: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
Line 1: Line 1:
==Storyboard Hacking==
==Editing the Storyboard==
===Original Text===
    MANY  YEARS  AGO  PRINCE
    DARKNESS  GANNON  STOLE
    ONE OF THE TRIFORCE WITH
    POWER.    PRINCESS ZELDA
    HAD  ONE OF THE TRIFORCE
    WITH WISDOM. SHE DIVIDED
    IT INTO  8 UNITS TO HIDE
    IT FROM  GANNON  BEFORE
    SHE WAS CAPTURED.     
      GO FIND THE  8 UNITS 
        LINK  TO SAVE HER. 


===Interpretation===
Each value generates four different colors and splits them among eight different letters. For example, the value B6 would result in this:


This tutorial will help you change the narrative which follows the title screen.
    <Red><Red> <Blu><Blu>
    <Grn><Grn> <Red><Red>


If this hex value was applied to the first two lines of the original prologue above, it would apply color in this way.


===Storyboard Text===
    <FONT COLOR="#cc0033">MA</FONT><FONT COLOR="#0066cc">NY</FONT>  YEARS  AGO  PRINCE
    <FONT COLOR="#006633">DA</FONT><FONT COLOR="#cc0033">RK</FONT>NESS  GANNON  STOLE




===Text Color Conventions===
===Color Code Chart===


[[Image:Z1_storyboard_colorcode.png|Copyright 2006, Dr. Floppy]]


===Color Codes===
==Editing in-game text==
===Special Characters===
The hex value 25 is a <BLANK> letter - if you start a message with a bunch of them, you won't hear the game typing out spaces, but you can still use them to center your message.


[[Image:Z1_storyboard_colorcode.png|Copyright 2006, Dr. Floppy]]
The hex value EC is interpreted as a period and tells the game to stop interpretation. Due to this, it is impossible to end messages with other punctuation marks.
 
===Interpretation===
The way the game interprets text is strange. There is a range of hex values for normal characters (00 to 2F), and there is a second range of hex values for the last letter of a multi-line message (80 to AF). This means that if you write a message that is two lines long, the last letter of the first line has to be written using the second set of letters so the game doesn't keep typing stuff offscreen.
 
If you programmed your table file to have capital letters be mapped to the first range and lowercase letters be mapped to the second range, the code from the RO< would read like this:
    (ROM Offset 418B)
    <BLANK><BLANK>BUY MEDICINE BEFORe<BLANK><BLANK>YOU GO.
 
Following this logic, there is probably a third set of hex values for three-line messages.

Revision as of 01:24, 23 October 2012

Editing the Storyboard

Original Text

    MANY  YEARS  AGO  PRINCE
    DARKNESS   GANNON  STOLE
    ONE OF THE TRIFORCE WITH
    POWER.    PRINCESS ZELDA
    HAD  ONE OF THE TRIFORCE
    WITH WISDOM. SHE DIVIDED
    IT INTO  8 UNITS TO HIDE
    IT FROM   GANNON  BEFORE
    SHE WAS CAPTURED.       
      GO FIND THE  8 UNITS  
        LINK  TO SAVE HER.  

Interpretation

Each value generates four different colors and splits them among eight different letters. For example, the value B6 would result in this:

    <Red><Red> <Blu><Blu>
    <Grn><Grn> <Red><Red>

If this hex value was applied to the first two lines of the original prologue above, it would apply color in this way.

    MANY  YEARS  AGO  PRINCE
    DARKNESS   GANNON  STOLE


Color Code Chart

Copyright 2006, Dr. Floppy

Editing in-game text

Special Characters

The hex value 25 is a <BLANK> letter - if you start a message with a bunch of them, you won't hear the game typing out spaces, but you can still use them to center your message.

The hex value EC is interpreted as a period and tells the game to stop interpretation. Due to this, it is impossible to end messages with other punctuation marks.

Interpretation

The way the game interprets text is strange. There is a range of hex values for normal characters (00 to 2F), and there is a second range of hex values for the last letter of a multi-line message (80 to AF). This means that if you write a message that is two lines long, the last letter of the first line has to be written using the second set of letters so the game doesn't keep typing stuff offscreen.

If you programmed your table file to have capital letters be mapped to the first range and lowercase letters be mapped to the second range, the code from the RO< would read like this:

    (ROM Offset 418B)
    <BLANK><BLANK>BUY MEDICINE BEFORe<BLANK><BLANK>YOU GO.

Following this logic, there is probably a third set of hex values for three-line messages.