Sonic 3 & Knuckles "Score" Question

Discussion in 'Discussion and Q&A Archive' started by VegaLTE, Feb 20, 2013.

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

    VegaLTE Newcomer Trialist

    Joined:
    Feb 11, 2013
    Messages:
    9
    [​IMG]

    I use S3K disassembly, I can't change "E" font. Please help me ~
     
  2. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,902
    Location:
    italy
    For the record, this is the image he tried to post:

    [​IMG]
     
  3. OrdosAlpha

    OrdosAlpha RIGHT! Naebody move! Root Admin

    Joined:
    Aug 5, 2007
    Messages:
    1,793
    Location:
    Glasgow, Scotland
    This is basic hacking 101 stuff. And as such didn't deserve a thread of it's own. If you can't work out something as simple as this, then you're in the wrong game.
     
  4. DanielHall

    DanielHall Well-Known Member Member

    Joined:
    Jan 18, 2010
    Messages:
    860
    Location:
    North Wales
    The 'E' is an uncompressed file located elsewhere to the 'SCOR', which is compressed. In the older games, the 'E' is found with the HUD numbers, whereas the HUD art had it's own Nemesis-compressed file, so I suggest you look there.
     
  5. SpirituInsanum

    SpirituInsanum Well-Known Member Member

    Joined:
    Feb 11, 2010
    Messages:
    642
    For the sake of discussion, and to tell once again a problem can have several solutions, I think it's possible to reorganize the art in the vram to save the extra E (and therefore you don't need the uncompressed one). I never tried it myself because it only saves 2 tiles where I don't need them, but anyway...

    In the vram, there are the "TIME" text graphics, and right after that the E for SCORE followed by the empty tiles for the score, resulting in something like "T I M E E _ _ _ _ _ _ _" (with each character requiring two tiles), so it should be easy to remove the second E and make the score's tiles begin two tiles earlier.

    You'd need to make sure the part loading the E in the first cells doesn't overwrite it (or clear it) and change the vram addresses for the score numbers, but it should work.
     
  6. nineko

    nineko I am the Holy Cat Member

    Joined:
    Mar 24, 2008
    Messages:
    1,902
    Location:
    italy
    I'm not sure if using the same VRAM for the second E would be a good idea, remember that the debug mode overwrites that E along with the rest of the score, so that's one more thing that should be taken care of.
     
    Last edited by a moderator: Feb 21, 2013
  7. SpirituInsanum

    SpirituInsanum Well-Known Member Member

    Joined:
    Feb 11, 2010
    Messages:
    642
    That's right, but in my opinion debug mode is not the game. 

    Also, if the debug vram address isn't modified, the E will still be visible, but the last two numbers will be missing.

    And it already makes the hud ugly, so if you change it, it'll just make it a little uglier. 

    One could also add one more piece at the end to add one digit to the score, increasing the max score to 9999999. :eek:
     
    Last edited by a moderator: Feb 21, 2013
  8. VegaLTE

    VegaLTE Newcomer Trialist

    Joined:
    Feb 11, 2013
    Messages:
    9
    Thank you ! It's works !
     
Thread Status:
Not open for further replies.