Points of Required Attention™
Friendly reminder: Please don't respond to spammers! Their posts inevitably get memory-holed when staff get around to, leaving behind an inexplicable tableau of you shouting at nothing and (if they otherwise would have been alone in a thread) dangling posts and wrong postcounts.
Views: 46,681,157
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 02-21-18 01:50 PM
Guest: Register | Login

0 users currently in ROM Hacking | 2 guests | 1 bot

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: 21

Posts: 12/99
EXP: 43009
Next: 6934

Since: 12-03-12

Last post: 352 days
Last view: 302 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


Boo
Level: 61

Posts: 313/943
EXP: 1814570
Next: 62026

Since: 05-24-07

Last post: 87 days
Last view: 3 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: 21

Posts: 15/99
EXP: 43009
Next: 6934

Since: 12-03-12

Last post: 352 days
Last view: 302 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: 31

Posts: 164/194
EXP: 169792
Next: 15571

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

Last post: 217 days
Last view: 60 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: 43

Posts: 402/417
EXP: 539732
Next: 25314

Since: 02-22-07

Last post: 1230 days
Last view: 1151 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: 4

Posts: 3/3
EXP: 225
Next: 54

Since: 12-30-12

Last post: 1879 days
Last view: 1879 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: 6

Posts: 6/6
EXP: 793
Next: 114

Since: 02-26-10

Last post: 1862 days
Last view: 1858 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: 21

Posts: 29/99
EXP: 43009
Next: 6934

Since: 12-03-12

Last post: 352 days
Last view: 302 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: 31

Posts: 161/285
EXP: 184141
Next: 1222

Since: 02-17-14

Last post: 881 days
Last view: 397 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+3δ (2016-01-08)
© 2005-2016 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.087 seconds. (343KB of memory used)
MySQL - queries: 76, rows: 106/0, time: 0.058 seconds.