Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,414,890
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-16-24 12:09 PM
Guest: Register | Login

0 users currently in ROM Hacking | 1 guest | 2 bots

Main - ROM Hacking - Super mario brothers 2 New thread | New reply


Lunaria
Posted on 09-23-11 02:52 PM (rev. 2 of 09-23-11 03:34 PM) Link | Quote | ID: 147283


Deddorokku
Princess of the Night
Level: 47

Posts: 195/442
EXP: 735454
Next: 30749

Since: 02-21-07
From: Equestria

Last post: 3693 days
Last view: 2057 days
Generic title since this will be an generic topic.

SMB2 is not a widely hacked game, to say the least. Due to this there are several things that are not know. (Though I must admit that the data crystal page was fully packed with information!)

There for, I'd like to request some help in figuring things out! And in turn, I will of course try to help other people with what I know.


So, to get down to business: I got done with world 1 but from there on out I ran into a bit of an roadblock. Graphics loaded (sprites and layer 1) are handled in two bits per world. Changing what graphics an world uses is quite easy. However, world 2 (and 6(?)) uses quicksand ground.

For those of you who don't know, SMB2 loads ground data type in the level header, and afterwards uses objects to change what ground setting is used. Rather then using objects to render general ground like how games like SMW does it.

The problem I'm facing is that ground data seem to be pre-set for each world. (Shitty level data format GO!) So in world 2 sand ground would be ground type (I'm guessing these values.) 0000 where as quicksand would be 0001, bricks would be on 0100 or something. World 1, on the other hand, had grass under 0000 and sand under 0001 (and does not have quicksand at all.)

This is where the problem comes in, I don't know what in the world data determines this. (I'm quite sure it's not in the level data header, but I could be wrong.) This is a problem when you are in situations such as mine when you want world 2 to be grassland too, and not have sand in at all.


Edit: To clarify further: [Link]
This is an image of world 2 loading the same graphics/tile tables as world 1 and using ground type 0. Clearly it still renders sand ground, which means it's not an graphics/tile table issue.

____________________
The fun has been doubled!

Googie
Posted on 09-25-11 03:28 AM Link | Quote | ID: 147372


Giant Red Paratroopa
Level: 77

Posts: 759/1405
EXP: 4168877
Next: 22252

Since: 02-19-07
From: Brooklyn, NY

Last post: 114 days
Last view: 114 days
Dunno if I can be much help over here, but try using this editor. I tried using SMB2D & all it did was drive me nuts. I made a one level hack with SMB2trans, hope someone with more knowledge can help. ^^

____________________
My Linktree

Lunaria
Posted on 09-26-11 01:45 AM Link | Quote | ID: 147436


Deddorokku
Princess of the Night
Level: 47

Posts: 203/442
EXP: 735454
Next: 30749

Since: 02-21-07
From: Equestria

Last post: 3693 days
Last view: 2057 days
That's the one I am using!

And in the case of this problem it's the lack of documentation on the data that stands in my way. And I have never been good at tracing shit.

____________________
The fun has been doubled!

Main - ROM Hacking - Super mario brothers 2 New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.012 seconds. (339KB of memory used)
MySQL - queries: 47, rows: 70/70, time: 0.010 seconds.