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

Author Topic: Using Hex Edits to Hack SMB1's Title Screen.  (Read 3409 times)

FlyingFire64

  • Jr. Member
  • **
  • Posts: 37
    • View Profile
Using Hex Edits to Hack SMB1's Title Screen.
« on: August 08, 2015, 07:18:53 pm »
I've tried making my own title screen with SMB Title Editer, but it just wouldn't save because it turns out nothing I make is under the limit for the title screen, so I clicked on that option that allows you to save the title screen data as it's own file, and copied all the code to a notepad, which I'd assume is hex, but judging by parts of it being 3 characters long instead of 2, I'm not entirely sure. If this is hex, then where would I locate the hex for the title screen?
« Last Edit: August 08, 2015, 10:12:44 pm by FlyingFire64 »

Zynk

  • Hero Member
  • *****
  • Posts: 935
  • WIP Roll-chan: The Wily Wars
    • View Profile
Re: Using Hex Edits to Hack SMB1's Title Screen.
« Reply #1 on: August 08, 2015, 11:00:10 pm »
Have you tried this utility? It easily edits the title logo.

FlyingFire64

  • Jr. Member
  • **
  • Posts: 37
    • View Profile
Re: Using Hex Edits to Hack SMB1's Title Screen.
« Reply #2 on: August 09, 2015, 07:59:36 am »
I downloaded the software and Microsoft Excel, and upon editing VESMTE, I saw nothing but rows of digits. Scrolling down past all the zeros, I saw around ten rows of different characters and digits. Just to be sure, is this where the data for the title screen is located? Also, why doesn't it look anything like the image preview on RHDN?

Chpexo

  • Hero Member
  • *****
  • Posts: 728
    • View Profile
.
« Reply #3 on: August 09, 2015, 08:32:09 am »
.
« Last Edit: January 01, 2016, 07:37:24 am by Chpexo »

FlyingFire64

  • Jr. Member
  • **
  • Posts: 37
    • View Profile
Re: Using Hex Edits to Hack SMB1's Title Screen.
« Reply #4 on: August 09, 2015, 08:38:24 am »
There's a program called SMBTitleEditor (STE). It's in Japanese but it allows you to edit each tile while showing them graphically and seems more sophisticated than the one Zynk Oxhyde linked.

The thing is that apparently, after making my title screen, it would appear as being "too big" for SMBTitleEditor to apply and save to the rom, so I checked various sites and boards, and multiple times I've heard "it's easier to use hex edits to change the title screen". The problem with that is I don't know how to locate the hex for the Super Mario Bros. title screen. Unless there's a way I can edit the title screen and actually apply my changes to the rom, or if there really is a simpler way to change the title screen, I just want to know where the hex for the title screen starts and ends.

I looked through the SMB Disassembly, and found "TitleScreenDataOffset = $1ec0"(which if I'm not mistaken, the 1EC0 part is the offset in the hex editor). I still have more questions, though, because the code given to you by SMBTitleEditor is much MUCH longer than a 12x1 row of letters and numbers.
Spoiler:
Example: 20 85 01 44 20 86 54 48 20 9a 01 49 20 a5 c9 46 20 a6 0a d0 d1 d8 d8 de d1 d0 da de d1 20 b0 4a 26 20 ba c9 4a 20 c6 0a d2 d3 db db db d9 db dc db df 20 d0 4a 26 20 e6 0a d4 d5 d4 d9 db e2 d4 da db e0 20 f0 4a 26 21 06 0a d6 d7 d6 d7 e1 26 d6 dd e1 e1 21 10 4a 26 21 26 15 d0 e8 d1 d0 d1 de d1 d8 d0 d1 26 de d1 de d1 d0 d1 d0 d1 26 14a 21 46 c4 db 21 47 42 42 21 49 c2 db 21 4a 11 42 db 42 db db 42 26 db 42 db 42 db 42 db 42 26 14a 21 67 45 db 21 6c 0f df db db db 26 db df db df db db e4 e5 26 14a 21 87 42 db 21 89 12 de 43 db e0 db db db 26 db e3 db e0 db db e6 e3 26 14a 21 a7 43 db 21 aa 11 42 db db db d4 d9 26 db d9 db db d4 d9 d4 d9 e7 14a 21 c5 01 5f 21 c6 48 95 21 ce 0d 97 98 78 95 96 95 95 97 98 97 98 95 7a 21 ed 0e cf 01 09 08 05 24 17 12 17 1d 0e 17 0d 18 22 4b 0d 01 24 19 15 0a 22 0e 1b 24 10 0a 16 0e 22 8b 0d 02 24 19 15 0a 22 0e 1b 24 10 0a 16 0e 22 ec 04 1d 18 19 28 22 f6 01 00 23 c9 56 55 23 e2 04 99 aa aa aa 23 ea 04 99 aa aa aa  <--- This came from attempting to save the title screen without making any changes to it whatsoever.
And even then, where does the title screen hex data end?
« Last Edit: August 09, 2015, 08:52:57 am by FlyingFire64 »

Zynk

  • Hero Member
  • *****
  • Posts: 935
  • WIP Roll-chan: The Wily Wars
    • View Profile
Re: Using Hex Edits to Hack SMB1's Title Screen.
« Reply #5 on: August 09, 2015, 10:41:20 am »
I downloaded the software and Microsoft Excel, and upon editing VESMTE, I saw nothing but rows of digits. Scrolling down past all the zeros, I saw around ten rows of different characters and digits. Just to be sure, is this where the data for the title screen is located? Also, why doesn't it look anything like the image preview on RHDN?
Didn't you wait a few seconds? The image will appear next. It will only edit the "MARIO BROS." part and the date below the logo. Like the utilities name says, it's very easy.

« Last Edit: August 09, 2015, 10:58:57 am by Zynk Oxhyde »

Chpexo

  • Hero Member
  • *****
  • Posts: 728
    • View Profile
.
« Reply #6 on: August 09, 2015, 10:47:14 am »
.
« Last Edit: January 01, 2016, 07:36:15 am by Chpexo »

FlyingFire64

  • Jr. Member
  • **
  • Posts: 37
    • View Profile
Re: Using Hex Edits to Hack SMB1's Title Screen.
« Reply #7 on: August 09, 2015, 10:51:08 am »
Didn't you wait a few seconds? The image will appear next. It will only edit the "MARIO BROS." part and the date below the logo. Like the utilities name says, it's very easy.

I don't know how long I'd have to wait, since I downloaded a more recent version of Excel as a free trial.

nesrocks

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • nesrocks.com
Re: Using Hex Edits to Hack SMB1's Title Screen.
« Reply #8 on: August 12, 2015, 02:44:02 pm »
Have you tried this utility? It easily edits the title logo.

Wow this works like a charm. What you see is what you get.
« Last Edit: August 12, 2015, 02:57:21 pm by nesrocks »

Dr. Floppy

  • Restricted Access
  • Hero Member
  • *
  • Posts: 970
  • Make America GREAT Again!
    • View Profile
    • BaddestHacks.net
Re: Using Hex Edits to Hack SMB1's Title Screen.
« Reply #9 on: August 12, 2015, 06:13:04 pm »
FWIW, SMB1 stores its Title Screen layout data in CHR-ROM (of all fucktarded things).