don't click here

How can I edit the text ZONE in Sonic 2?

Discussion in 'Engineering & Reverse Engineering' started by SGR, Jun 22, 2004.

Thread Status:
Not open for further replies.
  1. SGR

    SGR

    Give me the gams. Member
    I'm wondering if it's possible to edit the letters Z O N E. If it is, can any of you tell me how it's possible? Thanx
     
  2. Mystical Ninja

    Mystical Ninja

    For old time's sake. Oldbie
    3,342
    5
    18
    New Castle, Delaware
    Nothing that concerns this place in the least.
  3. SGR

    SGR

    Give me the gams. Member
    0_o Even the new version won't let me.
     
  4. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    The word "ZONE" is located at $CB0F-$CB24 in Sonic 1. The format works like this:

    0004F805<font color=#008800>004E</font>E0

    Header - tells you how many letters there are in this grouping.
    Vertical positional byte - don't change this.
    Letter reference in mapping format - the first byte is usually 05, although for the letter I it's 01, and 00 for a blank space.
    Horizontal positioning byte - this may need fiddling for aesthetics.

    The letter shown above is the Z in ZONE.

    Now you need a letter guide for the second section of the green area. The good news is that the first byte is always 00. The second byte changes thusly...

    00 = A
    04 = B
    09 = C
    0C = D
    10 = E
    14 = F
    18 = G
    1C = H
    20 = I
    22 = K
    26 = L
    2A = M
    2E = N
    32 = O
    36 = P
    3A = R
    3E = S
    42 = T
    46 = U
    4A = Y
    4E = Z
    56 = ( blank )

    (All information from Esrael's guides.)
     
  5. SGR

    SGR

    Give me the gams. Member
    Umm....No offense but read the title. I'm looking for the Sonic 2 location
     
  6. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    I noticed that after I posted and fell asleep before I could edit. Sonic 2 is easier.

    Location: $878D-$8790

    Character set:
    00 - Space
    10 - 0
    11 - 1
    12 - 2
    13 - 3
    14 - 4
    15 - 5
    16 - 6
    17 - 7
    18 - 8
    19 - 9
    1A - *
    1B - ?
    1C - :
    1D - .
    1E - A
    1F - B
    20 - C
    21 - D
    22 - E
    23 - F
    24 - G
    25 - H
    26 - I
    27 - J
    28 - K
    29 - L
    2A - M
    2B - N
    2C - O
    2D - P
    2E - Q
    2F - R
    30 - S
    31 - T
    32 - U
    33 - V
    34 - W
    35 - X
    36 - Y
    37 - Z
    0E - Start a new text line
    10 - Start a new selection box

    (From Saxman's guide.)
     
  7. SGR

    SGR

    Give me the gams. Member
    That's in hex right? (If it is, the key for the letters doesn't match right, (For example, 00 is there instead of 37) or something in that key of hex numbers you gave me, or the location you have given me is wrong.)
     
  8. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    All data is correct and verified, I checked myself in my own hex editor.
     
  9. SGR

    SGR

    Give me the gams. Member
    Pic plz...I might be doing something wrong...
     
  10. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    Here.
     
  11. SGR

    SGR

    Give me the gams. Member
    Sorry, thanx. I don't use Hex Workshop. I should get it again and get a crack. =P

    EDIT: I think the hex editor I'm using is the problem possibly.
     
  12. SGR

    SGR

    Give me the gams. Member
    I know what you guys think I'm saying! I need the title screen ZONE letters. Not anything else.
     
  13. Trigahd

    Trigahd

    I am your gahd!! Member
    1,523
    0
    0
    Somewhere in the skies
    Nothing worth mentioning
    Are you talking about this?
     

    Attached Files:

  14. Sonic Hachelle-Bee

    Sonic Hachelle-Bee

    Taking a Sand Shower Tech Member
    808
    200
    43
    Lyon, France
    Sonic 2 Long Version
    :lol:

    At $147BA, there is an offset index for all level names in the game (2 bytes for a level).
    The text ZONE come after the last level name.

    $14BC8-14BEA
    ZONE string.
    The first 00 04 is a 2 byte header, that's the number of characters the string has.
     
  15. Quickman

    Quickman

    be attitude for gains Tech Member
    5,595
    18
    18
    :x
    omg porjcet
    Butbutbutbutbutbutbutbutbut... I got the above info from Saxman's guides! D:
     
  16. Sonic Hachelle-Bee

    Sonic Hachelle-Bee

    Taking a Sand Shower Tech Member
    808
    200
    43
    Lyon, France
    Sonic 2 Long Version
    Hum... <_<
    Saxman guide of June 11 2004:

    Level Splash Startup

    (...)(To make the post smaller)

    FORMAT:
    #1 #2 #3 #4 #5 #6 #7 #8

    1 - Y position of the character every pixel
    2 - Length (going by the character size bytes gives a corrected length)
    3 - Graphics every 256 8x8 sprites
    4 - Graphics every 8x8 sprite
    5 - ???
    6 - ???
    7 - ???
    8 - X position of the character every pixel
    (...)

    0147BA - 2 bytes for location after this location for each level

    Here is how each string is listed.

    Level 00
    (...)
    Level 10
    "Zone"
    1
    2
    3
    "Sonic The Hedgehog"
    Red splash screen panel edges

    Now, you need to know what value to give each character. Here are the values.

    80 - E
    84 - N
    88 - O
    8C - Z
    DE - Character list (see "Level Splash Startup" above)

    For quick referencing, here are some of the string locations.

    Emerald Hill
    0147EA - E
    (...)
    01483A - L
    (...)

    Splash Screen Panel
    014C32
     
  17. SGR

    SGR

    Give me the gams. Member
    You're right Trigahd, that's what I want, thanx for all the info everyone.
     
Thread Status:
Not open for further replies.