Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,484,947
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-26-24 03:31 AM
Guest: Register | Login

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

Main - ROM Hacking - Super Mario Bros. 2 (USA) MMC5 Patch Released - Updated to Version 1.1 New thread | New reply


RetroRain
Posted on 09-26-15 06:36 AM (rev. 3 of 02-23-16 07:21 AM) Link | Quote | ID: 161223


Fuzz Ball
Level: 66

Posts: 903/994
EXP: 2438126
Next: 23725

Since: 09-30-07

Last post: 1934 days
Last view: 957 days
I want to say a special thank you to Disch for all of the help he has provided lately. He just has that expertise, knowledge, and kindness that really helps you out of jam. Thank you Disch!

I finished converting Super Mario Bros. 2 (USA) to MMC5.

I wanted to convert this game for quite a while, and before going back to my SMB2 Special Edition hack.



SMB2 USA already uses CHR-ROM, so if you want more PRG and CHR-ROM space, all you have to do is expand the ROM for those two areas.

If you encounter any problems while playing this, please let me know. It would most likely be in the form of mirroring errors, which was a big part of the CHR problem I was having. I don't expect there to be any errors, but if there is, please let me know.

Thank you, and here's the patch!

Link has been updated as of 02/23/16 with Version 1.1.
Download

____________________
My YouTube Channel

Hamtaro126
Posted on 09-26-15 09:53 PM Link | Quote | ID: 161231


Cheep-cheep
Level: 33

Posts: 181/194
EXP: 212832
Next: 16347

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

Last post: 2472 days
Last view: 2315 days
I see two problems:

Mirroring is, you guessed it: wrong

Like the SMB3 MMC5 patch and Mario AllStars NES hacks by Infidelity, There's leftover regs from the original game's mapper in the code**

** = (there's one MMC3 reg, $A001, and there is a leftover from Doki Doki Panic (FDS reg $4080) that I see that's also unused but seen in SMB2USA's code, which I will submit to TCRF soon!)

If you want, I'll make a fix and a clean-up for you, just say it.

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

I wonder what's for dinner?

RetroRain
Posted on 09-27-15 06:02 AM Link | Quote | ID: 161236


Fuzz Ball
Level: 66

Posts: 904/994
EXP: 2438126
Next: 23725

Since: 09-30-07

Last post: 1934 days
Last view: 957 days
MMC3's $A001 register should have no affect on my hack, since MMC5 has no $A001 register. $A001 is MMC3's SRAM address. SMB2 USA doesn't use SRAM, but it still has to write to it as part of the mapper prep. So, that $A001 would not cause a problem.

The same thing with the Doki Doki Panic thing you mentioned. Should have no bearing on my hack.

Could you just tell me where the mirroring issues occur? On what levels?

Thanks.

____________________
My YouTube Channel

grimlock
Posted on 09-27-15 07:45 AM Link | Quote | ID: 161237


Octorok
Level: 13

Posts: 22/29
EXP: 9429
Next: 838

Since: 05-03-14

Last post: 2883 days
Last view: 2658 days
RetroRain, you should consider including some documentation with your mapper hacks. I noticed your recent releases don't include any notes, it seems like it would be extremely helpful for anyone lesser experienced attempting to make use of of them.

Hamtaro126
Posted on 09-27-15 03:54 PM Link | Quote | ID: 161245


Cheep-cheep
Level: 33

Posts: 182/194
EXP: 212832
Next: 16347

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

Last post: 2472 days
Last view: 2315 days
$01 in mmc3 is $50 in mmc5 (H Mirror)
$00 in mmc3 is $44 in mmc5 (V Mirror)

It's PRG code, Not game data, that is the cause of the glitch, because of errors during outputing in a hex editor, for a new person, this is a common error,

Keep the rom hack for PRG/CHR, but revert the mirroring to the original
Replace the "A9 00 20 A0 FF" with "A9 44 20 A0 FF"
Replace the "A9 01 20 A0 FF" with "A9 50 20 A0 FF"
If it isn't looking correct, try some other hex editor, I'd suggest XVI32

DDP leftover: ROM 0x0001E96B (NES $E95B): STA $4080 (FDS Volume envelope)

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

I wonder what's for dinner?

RetroRain
Posted on 09-27-15 05:29 PM Link | Quote | ID: 161246


Fuzz Ball
Level: 66

Posts: 905/994
EXP: 2438126
Next: 23725

Since: 09-30-07

Last post: 1934 days
Last view: 957 days
Posted by Hamtaro126
$01 in mmc3 is $50 in mmc5 (H Mirror)
$00 in mmc3 is $44 in mmc5 (V Mirror)
*sigh* I know this already.

Posted by Hamtaro126
It's PRG code, Not game data, that is the cause of the glitch, because of errors during outputing in a hex editor, for a new person, this is a common error,

Keep the rom hack for PRG/CHR, but revert the mirroring to the original
Replace the "A9 00 20 A0 FF" with "A9 44 20 A0 FF"
Replace the "A9 01 20 A0 FF" with "A9 50 20 A0 FF"
If it isn't looking correct, try some other hex editor, I'd suggest XVI32

DDP leftover: ROM 0x0001E96B (NES $E95B): STA $4080 (FDS Volume envelope)
All of the values were changed. If you do a search in a hex editor for 20 A0 FF, you'll see that all of the preceding values are either A9 44 or A9 50.

So again, I ask, where in the game are you experiencing mirroring errors?

Posted by grimlock
RetroRain, you should consider including some documentation with your mapper hacks. I noticed your recent releases don't include any notes, it seems like it would be extremely helpful for anyone lesser experienced attempting to make use of of them.
Alright.

____________________
My YouTube Channel

Hamtaro126
Posted on 09-28-15 04:15 PM (rev. 4 of 09-28-15 04:28 PM) Link | Quote | ID: 161257


Cheep-cheep
Level: 33

Posts: 183/194
EXP: 212832
Next: 16347

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

Last post: 2472 days
Last view: 2315 days
Posted by RetroRain
So again, I ask, where in the game are you experiencing mirroring errors?


As I said, the PRG I had has some incorrect mirroring, so I made some additional modifications, and made a patch for you.

Download for RetroRain

Unless mirroring is already fixed, in that case, Apologies for the mess!

EDIT: Another answer: Mirroring is messy everywhere in the original patch, like pausing in 1-1 for example, this is why you use two hex editor windows or a Binary Comparsion tool like VBinDiff, Things are hard to visually track because they are (semi-boring) numbers!

TIP: There is both Xkas-Plus (v1.4) and SchASM (Disch's assembler), You can check them out as they are patchers for systems like NES!

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

I wonder what's for dinner?

RetroRain
Posted on 02-23-16 07:30 AM Link | Quote | ID: 162846


Fuzz Ball
Level: 66

Posts: 913/994
EXP: 2438126
Next: 23725

Since: 09-30-07

Last post: 1934 days
Last view: 957 days
Back in October, a member at RHDN sent me a message letting me know that there was a problem with the ending of the game. I told him that I would eventually fix it. I haven't ROM hacked in a while because I've been so busy. Today, I finally took a look at it. It was definitely a mirroring issue. On top of that, I found another mirroring issue in one of the levels where you have to dig through the sand.

When I have some more time, I'm going to play through the whole game a little more thoroughly just to make sure that I didn't miss anymore mirroring issues. But I fixed the ones I found. It really is highly unlikely that there are anymore, but I will play through the game soon just to be sure.

In the meantime, ditch the MMC5 patch you currently have. Version 1.1 has been released.

Here is the download link.

Download

And I have updated the link in the first post.

____________________
My YouTube Channel

Quick Curly
Posted on 02-24-16 08:20 PM Link | Quote | ID: 162848


Giant Red Paratroopa
Level: 77

Posts: 1351/1443
EXP: 4172242
Next: 18887

Since: 06-15-08
From: Earth

Last post: 21 days
Last view: 21 days
Amazing work, RetroRain! I was thrilled as soon as I saw a new post from you! I'm happy to still see you around. It's been too long! Thank you for the update. Hope you're well.

I'm interested in giving this a full run now as well.

Termingamer2-JD
Posted on 02-24-16 09:34 PM Link | Quote | ID: 162850


Ropa
Banned: repeat sockpuppeting
Level: 53

Posts: 377/739
EXP: 1133817
Next: 23302

Since: 08-06-15
From: England

Last post: 2675 days
Last view: 681 days
What help this does hack do? I'm not sure what's to making it better MMC5.

____________________
Jamie Dignam

RetroRain
Posted on 02-26-16 06:22 AM Link | Quote | ID: 162853


Fuzz Ball
Level: 66

Posts: 914/994
EXP: 2438126
Next: 23725

Since: 09-30-07

Last post: 1934 days
Last view: 957 days
Posted by Quick Curly
Amazing work, RetroRain! I was thrilled as soon as I saw a new post from you! I'm happy to still see you around. It's been too long! Thank you for the update. Hope you're well.

I'm interested in giving this a full run now as well.
Thank you Quick Curly! It's good to see you too!

Posted by Termingamer2-JD
What help this does hack do? I'm not sure what's to making it better MMC5.
It's mainly for hacking purposes. It gives you a better base ROM to work with.

I'm actually refraining from doing anymore mapper hacks, since I would rather produce actual hacks of games. However, for my next hack, which shouldn't take me more than 8 days, from start to finish (I planned it out), I actually have to convert the game to MMC5, because the game lacks free space, and there are a couple of other things that the mapper will allow me to do. I plan on releasing that mapper conversion AFTER I finish and release my hack of that game.

I will be getting back to my SMB2 hack soon, but I want to do this hack first. First, I'm going to thoroughly play through SMB2 to make sure there are no more problems with my mapper hack, and then I'm going to do this new hack.

I'll give you a hint -- It's another SaveRAM hack, for a game that desperately needs it.

____________________
My YouTube Channel

Termingamer2-JD
Posted on 02-26-16 09:24 PM Link | Quote | ID: 162856


Ropa
Banned: repeat sockpuppeting
Level: 53

Posts: 379/739
EXP: 1133817
Next: 23302

Since: 08-06-15
From: England

Last post: 2675 days
Last view: 681 days
Sounds cool, also thanks, I'm kind of the noob to ROM hacking so didn't know, but it seems a nice enough idea.
I'll give a playthrough of your hack if possible soon.

____________________
Jamie Dignam

RetroRain
Posted on 02-27-16 02:41 AM (rev. 2 of 02-27-16 04:00 AM) Link | Quote | ID: 162857


Fuzz Ball
Level: 66

Posts: 915/994
EXP: 2438126
Next: 23725

Since: 09-30-07

Last post: 1934 days
Last view: 957 days
I tested SMB2 MMC5 thoroughly. There are no more bugs. Version 1.1 is the final version.

____________________
My YouTube Channel

Googie
Posted on 03-13-16 05:05 AM Link | Quote | ID: 162908


Giant Red Paratroopa
Level: 77

Posts: 1185/1407
EXP: 4180995
Next: 10134

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

Last post: 8 days
Last view: 8 days
If I were to patch this over my hack after I'm done with my SMB2 hack, will I run into any problems? I'm just curious.

____________________
My Linktree

RetroRain
Posted on 03-15-16 12:16 AM Link | Quote | ID: 162925


Fuzz Ball
Level: 66

Posts: 916/994
EXP: 2438126
Next: 23725

Since: 09-30-07

Last post: 1934 days
Last view: 957 days
Assuming the game hasn't been ASM hacked in anyway, there shouldn't be a problem. But you don't really need the patch if you're not going to ASM hack or use MMC5's capabilities.

But if you're going to patch it to your hack, I would advise creating a backup first.

____________________
My YouTube Channel

Main - ROM Hacking - Super Mario Bros. 2 (USA) MMC5 Patch Released - Updated to Version 1.1 New thread | New reply

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

Page rendered in 0.125 seconds. (339KB of memory used)
MySQL - queries: 108, rows: 143/144, time: 0.118 seconds.