Points of Required Attention™
Smaghetti, a new Super Mario Advance 4 editor, is currently in development! Check out the thread HERE!

Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,318,755
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 03-29-24 11:44 AM
Guest: Register | Login

0 users currently in ROM Hacking | 4 guests

Main - ROM Hacking - Is there a SMB Life cap and Life counter fix patch? New thread | New reply


MathUser2929
Posted on 12-12-12 07:15 AM Link | Quote | ID: 153054


Rat
Level: 23

Posts: 12/99
EXP: 63336
Next: 4387

Since: 12-03-12

Last post: 2580 days
Last view: 2530 days
In SMB if you go over 128 lives the lives go to 0 and you get a game over if you die. Is there a patch to fix this so the lives stop going up at 128? Also, is there a patch to fix the lives counter to stop showing random tiles and actually show a number after you go over 9 lives? Two seperate patches will be fine.

infidelity
Posted on 12-13-12 04:44 PM Link | Quote | ID: 153066


Fuzz Ball
Level: 66

Posts: 313/968
EXP: 2362699
Next: 99152

Since: 05-24-07

Last post: 930 days
Last view: 786 days
I never knew about the 128 lives/game over thing! What your asking sounds like an easy fix. The different symbols for the lives, is due to the register(s) not having a set limit reading from the ppu, so it just keeps incrementing through the current ppu.

MathUser2929
Posted on 12-13-12 09:56 PM Link | Quote | ID: 153069


Rat
Level: 23

Posts: 15/99
EXP: 63336
Next: 4387

Since: 12-03-12

Last post: 2580 days
Last view: 2530 days
Well, I'd appreciate a patch for either issue. I thought I saw one for the life cap long ago or at least discussion of making one. But I don't have access to any patch anymore.

Hamtaro126
Posted on 12-15-12 06:38 PM Link | Quote | ID: 153081


Cheep-cheep
Level: 33

Posts: 164/194
EXP: 212358
Next: 16821

Since: 05-02-07
From: Shelton, WA

Last post: 2445 days
Last view: 2287 days
Posted by MathUser2929
Well, I'd appreciate a patch for either issue. I thought I saw one for the life cap long ago or at least discussion of making one. But I don't have access to any patch anymore.


If you want to fix it, You may want to use doppleganger's disassembly (SMBDIS)!


____________________
Mah boi, romhacking is what all true warriors strive for!

I wonder what's for dinner?

DahrkDaiz
Posted on 12-29-12 12:01 PM Link | Quote | ID: 153187


Nipper Plant
Sandwich Artist
Level: 46

Posts: 402/417
EXP: 672949
Next: 38825

Since: 02-22-07

Last post: 3458 days
Last view: 3379 days
You could patch it to not Game Over after 128 lives, but then you'd eventually reach 256 lives, which would wrap around to 0. Do you just want a fix for lives over 128?

HoluCallouse
Posted on 12-30-12 08:38 AM Link | Quote | ID: 153194

Newcomer
Spam account.
Level: 5

Posts: 3/3
EXP: 333
Next: 196

Since: 12-30-12

Last post: 4107 days
Last view: 4107 days
Nice Job...your info. is so helpful and useful.Thank you in advance!

Zowayix
Posted on 01-16-13 02:05 AM Link | Quote | ID: 153292

Newcomer
Level: 7

Posts: 6/6
EXP: 1054
Next: 394

Since: 02-26-10

Last post: 4090 days
Last view: 4086 days
Actually, the lives counter goes up to 127 and then wraps around to -128, not 0. The "game over" check sees if the lives counter is currently at or below zero.

To patch the error, you would need to make it impossible to gain lives if the player currently has 127 of them.

MathUser2929
Posted on 02-04-13 05:43 PM Link | Quote | ID: 153385


Rat
Level: 23

Posts: 29/99
EXP: 63336
Next: 4387

Since: 12-03-12

Last post: 2580 days
Last view: 2530 days
Well, one of the reasons it's known that the life max is 128 is cause that is the max lives you can get in the All Stars port. I guess they didn't wanna change the life max so they left it at 128.

ShaneM
Posted on 10-08-14 12:02 AM (rev. 7 of 10-08-14 06:27 PM) Link | Quote | ID: 158680


Snifit
Compromised account.
Please contact an admin to restore access.
Level: 36

Posts: 161/285
EXP: 292373
Next: 15737

Since: 02-17-14

Last post: 3109 days
Last view: 2625 days
Two ways to fix this (JSR anywhere that uses 'inc numberoflives' for these to work):

1) To stop lives at 127 do this:


fix:
inc $075a
bpl skipdec
dec $075a
skipdec:
rts



Option 2: To get it to stop at Crown 9 (as it was intended to be):


fix:
lda numberoflives
cmp #$12
bcs end
inc numberoflives
end:
rts


Here are the patches for hackers who don't know ASM (literally took 5 minutes to put together). Patch them to a clean SMB1 NES ROM:

127 lives cap: http://www.mediafire.com/download/g9byr092ndxgybl/127.ips

Crown 9: http://www.mediafire.com/download/k8546b6p84aywvo/Crown_19.ips
--ShaneM



____________________
At the end, when the day is over, the only one left to face is yourself. Have you been true to yourself and made the most of your day?

Main - ROM Hacking - Is there a SMB Life cap and Life counter fix patch? New thread | New reply

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

Page rendered in 0.022 seconds. (342KB of memory used)
MySQL - queries: 77, rows: 105/106, time: 0.017 seconds.