Name: | Easy Mode 7 Patch 1.1 |
Authors: | ExE Boss, HuFlungDu, mathie |
Added: | |
Version History: | View |
Tool: | Asar |
Requires Free Space: | Yes |
Bug Fix: | No |
Featured: | No |
Description: | When you try to use Mode 7 in the original SMW, you can’t properly use its registers unless you store $C1 to $7E:0D9B to activate Bowser’s battle mode. The problem, in this case, is that part of the Mode 7 tilemap is reserved to Bowser and thus is always filled with undesired tiles which are impossible to get rid of. The earlier version of this patch, entirely made by HuFlungDu, corrected this aspect but caused the Mode 7 image to act like Iggy/Larry’s platform and some sprite tiles to appear. The version you can download here has been corrected with SA-1 compatibility and 2 tweaks to disable 1) Iggy/Larry’s platform rotation 2) Iggy/Larry’s animated lava sprite tiles. ExE Boss’s Changes ------------------ - Full compatibility with all of the original game’s Mode 7 bosses - Added a subroutine for uploading the Mode 7 GFX and tilemap to VRAM - The Layer 3 status bar can now enabled by setting the Layer 3 absolute priority bit of $3E, this then works the same way as in the Koopaling/Reznor battles by using IRQ to change the background mode at scanline $24 ($26 with Super Status Bar). Update by MarioFanGamer ------------------ - Removed shared subroutines - Added compatibility with SA-1 Pack v1.32+ - Fixed a bug where Mode 7 is still enabled on the time up and game over screen. ------------------ P.S.: I recommend watching IsoFrieze’s video explaining the Mode 7. Notice: You must first completely uninstall 1.0 before installing 1.1 (but you don’t need to uninstall the UberASM code). ------------------ Source code is available on my GitHub. |
Tags: | lorom mode 7 sa-1 tilemap |
Comments: | 14 (jump to comments) |
Download
89.13 KiB | 886 downloads
Comments (14)
Tested with:
- Asar 1.81
- SA-1 Pack 1.40
- Lunar Magic 3.30
- Bsnes v115
- Mesen-S 0.4.0
- Snes9x 1.60
PS. Very sorry for the long claim time, i was busy but now things are loosening a bit.
Alright, tested it and it works fine now! Thanks!
The patch is otherwise unchanged and doesn't need a version upgrade as a result.
The code that causes layer 1 to disappear:
Fixed
Status bar has layer 1 garbage though on it now. Not sure how to fix it.
Haven't tested on roms without it.
Edit : You can fix this issue by setting up HDMA which hides layer 1/2 for a few scanlines. If anyone is having the same issue as me, run this code in nmi/main of uberasm.
Once I have used the ExGFX bypass, the glitches disappear (alternatively, I could have extracted and inserted ExGFX for similar effect). Which happened on a different ROM containing the older version and I unknowingly have edited said ROM instead of the ROM with the 1.1 version of the patch.
Best moderation ever, lol.
Example code says place it in Main level code while it should be in init, otherwise image will not do whatever you wanted with it (Rotating for example)
Other than that it's actually pretty good patch
Sure. What the patch does is that it allows you to use the Mode 7 registers anytime the SNES draws in BG mode 7. It doesn't prevent you from using IRQs to change BG Mode mid-frame.
However, I don't know how to trigger one to be honest, nor how to make the BG Mode change occur during it, sorry.
But this is a really good question. I'll add your idea to this patch's future plans.
Extremely good job!