(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-19-24 01:19 AM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Removing swimming from water levels? - SMB
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
insectduel
Posts: 579/768
Yeah, just keep it up. Eventually I'll keep learning.
Shadic
Posts: 173/528
I'm definately putting that in my SMB notes, but the weird thing in my notes is that 074e didn't read 00 in my rom in the first place... Oh well.

Changing the points did create the effects that you mentioned though, I love it! Hell, I wouldn't mind just turning on block-hitting, stomping of enemies, and running underwater just for the hell of it IN actual water levels. Good work, and thanks for the notes!
Captain Boh
Posts: 4/26
Here is what I have done. I'm not sure if this causes any problems, but I haven't run into any yet.


The following originally read from 074e, 00 at that location produces the underwater effects
Changed where 1a61-1a62 read from: this disabled changing blocks into Seaweed
changed where 3100-3101 read from: this allowed you to jump off the top of the screen
changed where 353f-3540 read from: this allowed running
changed where 367f-3680 read from: this turned off bubble generation
changed where 37c9-37ca read from: this turned off the gravity effect of pits
changed where 58cc-58cd read from: this allowed jumping on enemies
changed where 5a49-5a50 read from: this allowed shells to kill enemies
changed where 5ceb-5cec read from: this allowed blocks to be hit

Then, I changed where 1164, 1165 pointed to disable the various modifications to jumping that change it to swimming. This originally pointed to 0704 and only seems to function to as I mentioned, modify jumping. I have not yet issolated how the changes themselves acctually function because bypasses them anyway.
This was acctually the first thing I did, before I sort of worked out what I was doing, in retrospect, I'd now disable the whole thing here rather than repointing it.
Stifu
Posts: 229/647
Originally posted by insectduel
How come I can't do that? I thought I knew everything

Hahaha... *writes that one down*
insectduel
Posts: 574/768
How come I can't do that? I thought I knew everything but I guess someone found the attribute breakdown in Hex.
Shadic
Posts: 165/528
Originally posted by legoman
but in my hack, I delete water level (mario not swim in water) and other level's isin't not freeze up ( in my smb extra hard levels!!!)


You're not getting it.

He wants the water and the palette, but not the other swimming attributes, (Not being able to run, jump on enemies, and the producing of bubbles.)

It's not hard to just make a water level.. Not a water level.
Deleted User
Posts: 202/-7750
but in my hack, I delete water level (mario not swim in water) and other level's isin't not freeze up ( in my smb extra hard levels!!!)
Captain Boh
Posts: 3/26
PUUSSAYE seems to allow you to swim down on top of enemies to kill them in the water, at least in the emulator I'm running.

An interesting point is that when you kill the Cheep-Cheeps in this manner, they turn into Koopa Troopas, but when you kill them, their shells don't hit other enemies.
Dwedit
Posts: 50/116
Does this mean you can make it so you can jump on enemies on a regular water level? Cool! I'd love to see a game genie code for that.
Captain Boh
Posts: 2/26
Worked it out. Checked things that Read 074e, worked out which ones controlled bubbles, running, pit gravity and weather or not I can jump on the enemies and pointed them elsewhere.


Now my only problem seem to be that I've pointed them to a location that still can be set to 00, so I just need to find something that isn't ever set to 00 in levels.
insectduel
Posts: 570/768
You can't remove swimming or water levels otherwise all other attributes gets screwed up. They each has it's own Room hex value and it must not be removed in anyway.
Captain Boh
Posts: 1/26
First off, I'd like to make it clear, I'm rather new to modern rom hacking. I've been interested in the subject for a long time, but I haven't really been able to follow it closely since the late 90's. Anything I know beyond changing graphics or some text editing is something I've picked up only in the last week or so, and probably not very well either.

Anyway, what I'm trying to do at the moment is alter water levels in Super Mario Bros. so that you don't swim in them anymore, but still retain their other attributes (music, pallets, etc) so that I'll still have a fourth type of level, but it just isn't one you swim in anymore.

I've already half succeeded, but after removing swimming itself, I've found that Mario still produces air bubbles and can't run when he's "under water" due to the fact that the block pallet is set to 0.



I tried to alter how that attribute is set, but that seems to screw up how levels are loaded, causing for example, 1-1 to become an underwater 4-1 with Koopa Troopas falling from the sky.


I'm not really sure what to try next. My knowledge of how this kind of stuff works is limited to what I've pieced together form a few tutorials and I'm only really understanding a very small portion of what I'm seeing in the debugger, so what I have tried is probably going off in the wrong direction already. I'm hoping that someone here can point me in the right direction though.
Acmlm's Board - I3 Archive - ROM Hacking - Removing swimming from water levels? - SMB


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.003 seconds; used 358.23 kB (max 414.53 kB)