Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - Help with editting the status bar
  
User name:
Password:
Reply:
 

UserPost
HyperLamer
Posts: 651/8210
Mind enlightening us all on how to kill the scrolling, and perhaps a suitable address to hook for ASM that will run in every level?

I imagine the ASM that writes the scorebar's variables would be a simple matter of something like this...

LDX #$somenumber
LDA $someaddress
STA $firsttileaddress,X

repeated a lot. (Ignoring the need to translate the numbers to tiles.)
Smallhacker
Posts: 158/2273
Originally posted by BMF54123
My "solution" to that problem was to disable scrolling with L and R entirely. The feature caused problems in a few areas, and I needed the buttons anyway.


Ehm... For what? A super awesome thing, like an inventory screen?

Accually... That wouldn't be a bad idea... The game pauses and a window pops up showing sereval items. You choose one and it will appear in the item drop box, pretty much like the SMB3 inventory. Those items could be awards in minigames or maybe be buyable? *hint hint*

/offtopic>
BMF98567
Posts: 179/1261
Originally posted by Kyouji "Kagami" Craw
I'd like it to be that the item box moves when you scroll the screen left and right so the item always pops out above Mario.
My "solution" to that problem was to disable scrolling with L and R entirely. The feature caused problems in a few areas, and I needed the buttons anyway.
Alastor the Stylish
Posts: 710/7620
I'd like it to be that the item box moves when you scroll the screen left and right so the item always pops out above Mario.
Juggling Joker
Posts: 145/1033
Does it? I wouldn't suppose it would be very difficult ASM if it does, or at least I hope. Well, whenever you do remember, please let me know. I'm sure I'm not the only one who would want to change the status bar around some.
BMF98567
Posts: 174/1261
Ew...that's a bit trickier. It involves ASM hacking.

I can't even remember exactly where that code is located. Hrm...
Juggling Joker
Posts: 137/1033
Super! Thanks a bundle.

Though, it doesn't appear I change where non-static things appear, such as the score. How would I go about changing that?
BMF98567
Posts: 173/1261
The status bar starts at $E81. The large numbers (used in the bonus star display) are right before that, at $E59.

Smallhacker's info is mostly right, except the X and Y flip bits are swapped, and the "unknown" bits are the upper two bits of the tile number (you need these if you want to access the second page of 2bpp tiles).
Smallhacker
Posts: 156/2273
I was messing around a lot with the score bar earlier. I have the address (thanks to BMF), but it's on my old computer, which stands in pieces in my bro's room.

At least this might be to some help:

The status bar format:

Remember: The byte number is backwards, like this:

01001011 76543210
First, it's one byte containing the tile number, then there's a "settings byte":

Byte 7: X flipping
Byte 6: Y flipping
Byte 5: Priority
Byte 4: Palette (3 bytes)
Byte 3: Palette (3 bytes)
Byte 2: Palette (3 bytes)
Byte 1: Unknown
Byte 0: Unknown
Juggling Joker
Posts: 135/1033
I know that BMF knows where the data is, because he has editted it for his hack. I think he might have even posted it on the boards before the crash, but I'm not certain about that.
HyperLamer
Posts: 620/8210
That's what I thought. I'd like to know how this works as well. I do know the MARIO/LUIGI text at the top is tiles 0x30-0x34 (the graphics get switched in).
Juggling Joker
Posts: 134/1033
Actually, damn it, I meant to type status bar. I even screwed it up the first time I typed it and though I was fixing it...

Or, as you said, score bar. They're the same thing.
Ailure
Posts: 1640/11162
He maybe is talking about the "scrolling data" (how the scrolling in the game works, and how you hack it), or he his asking about how to hack Lunar magic scroll bars.
HyperLamer
Posts: 615/8210
And just what scroll bar would that be? Did you mean score bar? (I'd like to know how to rearrange that as well.)
Juggling Joker
Posts: 133/1033
If someone who has the information regarding the offsets of where the status bar data is and some useful knowhow in editting it, I would greatly appreciate it.

EDIT: Fixed what I meant. Can mods edit thread titles? If so, please change scroll to status.
Acmlm's Board - I2 Archive - Super Mario World hacking - Help with editting the status bar


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.003 seconds.