News:

11 March 2016 - Forum Rules

Main Menu

How do I change text to be longer in SMB1?

Started by JerryDX, March 27, 2023, 09:49:27 AM

Previous topic - Next topic

JerryDX

I tried to change it with nearly every SMB1 text editor and they all didn't let me make text longer, so if anybody know a program that can do that (Or maybe even a way I can do that in a hex editor) That would be greatly appreciated. :)
"I always come back!"
                                   — William Afton

Jorpho

As there is very little empty space in the ROM, you probably can't.

Why don't you say exactly what text you want to make longer?
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

JerryDX

I want to make the "TIME UP" text longer by three characters.
"I always come back!"
                                   — William Afton

JP32

use the disassembly instead, you'll need to free up three bytes somewhere though. Theres also "Super Mario Bros. Assembly MMC1" which should give you more space than the original game.

JerryDX

#4
Quote from: JP32 on March 28, 2023, 02:39:40 PMuse the disassembly instead, you'll need to free up three bytes somewhere though. Theres also "Super Mario Bros. Assembly MMC1" which should give you more space than the original game.
Well I'm not really experienced with romhacking, so I probably couldn't do that. (Also would I need to redo all the changes that were already made? Because if so that would make it not really that convenient.)

Edit: Now that i think about it, some of the text on the the title screen has been shaved off (And not just overwriting it with empty space, actually removing the letters), so could that let me make the text longer?
"I always come back!"
                                   — William Afton

Cyneprepou4uk

Basic idea is that you need to move longer text to a free space, and then tell the game to read text from there now.

You may also need to change text length value somewhere so that the game knows when to stop reading.

The disassembly can give you clues about these things.

https://gist.github.com/1wErt3r/4048722

SMB2J-2Q

#6
Quote from: JerryTMC on March 29, 2023, 09:08:11 AMWell I'm not really experienced with romhacking, so I probably couldn't do that. (Also would I need to redo all the changes that were already made? Because if so that would make it not really that convenient.)

Edit: Now that i think about it, some of the text on the the title screen has been shaved off (And not just overwriting it with empty space, actually removing the letters), so could that let me make the text longer?
Jerry,

TakuikaNinja's SMB1 disassembly might provide a pointer for you. In his build, the player's names and castle messages are moved out of VRAM. Go to 'GameText' there.
Link: https://github.com/TakuikaNinja/smb1-bugfix/blob/main/src/prg.asm

~Ben