Language…
16 users online: 1UPdudes, 3lectro,  AmperSam, deported, hh0962430, Joker13579, LeonardoGamerTrainz, mr_cool, signature_steve, Sokobansolver, Solivan1889,  Tahixham, ThirdWall, Thurito01, Tulip Time Scholarship Games, Zaubut - Guests: 182 - Bots: 136
Users: 64,263 (2,422 active)
Latest user: 12Gauge

I've only patched ROMs from Rom Hacking.net ... On SMWCentral I'm not sure what ROM I'm supposed to apply patches to

So pretty much what the title says. I've done some rom hacking in the past but I've always used Romhacking.net. And the nice thing about that is that it always list what version of the ROM a patch is supposed to be applied to. But for several of the Super Mario World hacks that I've found on here don't list a certain ROM that the patch I'm downloading is supposed to be applied to. How can I figure out which version of the ROM I need for the patches if they aren't listed?

Any help or insight would be greatly appreciated. Thanks to everybody in advance!
All SMW hack patches on the site are meant to be applied to a ROM of the US version of the game with a header.

On RHDN's ROM hasher, the SMW ROM should have the following hashes when scanning it:
Code
Database match: Super Mario World (USA)
Database: No-Intro: Super Nintendo Entertainment System (v. 20210222-050638)
File SHA-1: E7C9D2954AED2814FBB43F259AEFC25404DA8463
File CRC32: B9B52E0F
ROM SHA-1: 6B47BB75D16514B6A476AA0C73A683A2A4C18765
ROM CRC32: B19ED489

Or you can use ROMclean to verify your SMW ROM is a headered US ROM.



Ok perfect thank you so much! I kind of figured there might be a universal ROM that the modding community uses but I'm new to Mario modding so I didn't know
So I'm still not quite sure what I'm doing wrong. I have a SMW USA Rom with a header and I get the correct ROM CCRC 32, but the File CRC32 is wrong. The ROM SHA1 appears to be correct, but the File SHA1 is also wrong. I' m not sure what to try next. Any advice?
Could it be because the copier header (the first 200 bytes of the file) is not empty. You can check it with a hex editor like HxD.

If you see anything that's not a 00 on the header, just replace them with 00s.



Ok I think that might be it. When I loaded the Rom into the program it had a 40 in the first row/first column. That's the only one that wasn't a 00 so changing that to a 00 could fix it?

Looks like that didn't fix it. When I run it through hasher the things that were correct are still correct but the 2 categories that were wrong are now just wrong in a different way :/
Your information is wrong, Green Jerry.
All SMW hacks hosted on SMWC in .bps format use a non headered US ROM (No-Intro).
If the hack is in a .ips format, you add the 200 byte header.
Originally posted by Ice Man
Your information is wrong, Green Jerry.
All SMW hacks hosted on SMWC in .bps format use a non headered US ROM (No-Intro).
If the hack is in a .ips format, you add the 200 byte header.


Assuming you're using Floating Ips/Flips then that is also wrong though. The header doesn't matter at all then. The program will simply remove it and add it back afterwards so if you provide an unheadered ROM it will output an unheadered one and vice versa.
That goes for all patches applied using that program. ips or bps.

Because of that, the contents of the copier header also don't matter so the file SHA-1 doesn't really matter either. The ROM I always use doesn't have either of those SHA-1s and works perfectly fine, what matters is that the ROM CRC is the same, but with bps patches Flips will tell you if it isn't.

As Green Jerry said, ROM Clean will tell you if you can use your ROM for patches on the site. There is also an online version of the tool you can use if you don't want to download and run the program on your PC. If the CRC matches as you said, I would recommend just trying out Flips and seeing if it complains about anything first.
I'm using FLIPS and it never removed a header for me when using .bps files on a headered ROM.
Instead it throws an error that the checksum doesn't match. Always.
Originally posted by Ice Man
Your information is wrong, Green Jerry.
All SMW hacks hosted on SMWC in .bps format use a non headered US ROM (No-Intro).
If the hack is in a .ips format, you add the 200 byte header.

So I was lying, BPS patches require a non-headered ROM, instead of a headered one? The more you know! If this is true, then ROMclean should get an update, so that headers don't matter.

But from my experience, attempring to patch a BPS to an unheadered ROM would give the "This patch is not intended for this ROM" error, and would only work with the headered ROM.

And LM requires a headered ROM to use it, otherwise it adds a header if it's unheadered, so do people remove the header when creating the patches?



I still think LM should leave the header untouched/off. I don't know why it is neccessary to have a header (besides locking a hack, but that's just 1 byte change in the header).

But yeah, I think people remove the header before creating a patch unless creating a .bps with FLIPS already does that.
Haven't tested it, so I don't know about it.

EDIT: Just downloaded a random hack in .bps format and applied to the .sfc No-Intro version of SMW and a .sfc No-Intro with a header manually added. Both worked for me. FLIPS added the header manually to the latter.

So TheBiob seems to be correct here.
So if I run the ROM in Romclean, and it says "your rom is now clean" I should be good to go with using that ROM as the base ROM that I apply the patches to?