The patch was made based on a ZIP file containing a modified ROM, instead of a modified NES file.
----------
I've encountered a Mario Bros hack called "New New New New Mario Bros" https://www.romhacking.net/hacks/1840/
Original ROM has 16k PRG and 8k CHR. Hacked ROM (according to the header) is 32k PRG and 8k CHR. However, file size is still 25k after patching.
When you look inside it, it's neither iNES nor UNIF, it's PK!
Then comes some hack name info, and after that... IDK, I can't seem to find anything from Hex Editor in FCEUX at all, like interrupt vectors for example. Maybe data is compressed inside a file or something. Strange thing for me is that emulators can run this hack no problem.
This is the first time I've seen something like this. Can someone explain WTF is that about?
(Solved) A strange Mario Bros hack. How is it working?
Moderator: Moderators
- Cyneprepou4uk
- Posts: 24
- Joined: Fri Jun 21, 2019 12:20 am
- Location: Belarus
(Solved) A strange Mario Bros hack. How is it working?
Last edited by Cyneprepou4uk on Wed Mar 15, 2023 7:32 am, edited 2 times in total.
Re: A strange Mario Bros hack. How is it working?
Someone messed up when creating the IPS and accidentally created an IPS that will turn any file into a ZIP file containing the ROM.
Most emulators support loading ROMs from ZIP files, so it still plays.
Most emulators support loading ROMs from ZIP files, so it still plays.
- jeffythedragonslayer
- Posts: 344
- Joined: Thu Dec 09, 2021 12:29 pm
Re: A strange Mario Bros hack. How is it working?
Oh yeah, I forgot to mention: this means the IPS contains a full copy of the ROM, which is almost certainly against the rules at romhacking dot net. If you have an account there, you should report it.
- Cyneprepou4uk
- Posts: 24
- Joined: Fri Jun 21, 2019 12:20 am
- Location: Belarus
Re: A strange Mario Bros hack. How is it working?
Yes, it's really a ZIP file. Thanks for the tip.
- jeffythedragonslayer
- Posts: 344
- Joined: Thu Dec 09, 2021 12:29 pm
- TakuikaNinja
- Posts: 89
- Joined: Mon Jan 09, 2023 6:42 pm
- Location: New Zealand
- Contact:
Re: (Solved) A strange Mario Bros hack. How is it working?
Welp, I was going to make an unofficial correction for that hack but I managed to find a bug with Mesen2's ROM/IPS saving...
It should be resolved soon, lol.
BTW, the original game suffers from a reset bug caused by the random power-up state of $2002. I've made a patch to fix that: https://www.romhacking.net/hacks/7648/
It should be resolved soon, lol.
BTW, the original game suffers from a reset bug caused by the random power-up state of $2002. I've made a patch to fix that: https://www.romhacking.net/hacks/7648/
- TakuikaNinja
- Posts: 89
- Joined: Mon Jan 09, 2023 6:42 pm
- Location: New Zealand
- Contact:
Re: (Solved) A strange Mario Bros hack. How is it working?
As of this post, the hack has been corrected by yours truly to produce a ROM file instead of an archive file.