(I hope Smalls won't chase me for this because it's his idea)
After much tracing $2116 in all.log and the debugger, and enjoying a lot of glitched graphics, I managed rearrange SMW's VRAM so that the sprite's graphics files can be reused for the FG layers, which will make complicated BGs much more affordable (example of complicated BG).
Here's a demonstration of it:
<embed width="448" height="361" type="application/x-shockwave-flash" wmode="transparent" src="http://i373.photobucket.com/player.swf?file=http://vid373.photobucket.com/albums/oo178/alcaroops/fgmario.flv">
(yes, I used a custom palette to make the layer 1 Mario look nice, but that's beside the point)
However, this glitches up the following things (I hope to be able to fix them):
The mode7 bosses (fixed in 1.1)
ExAnimated sprites (fixing tool added in 1.2)
Dynamic sprites (there is an easy fix, just change the LDA #$7C00 in dsx.asm to LDA #$3C00 or use the tool (1.2 or higher only))
The Castle Destruction sequences (fixed in 1.3)
The credits scene (still not fixed)
Switch Palaces messes up a little when you hit them (use ExGFX to replace tile 1F8 with a blank tile). Tried to fix, but failed horribly.
Download
If you find any other things that glitches, or if you fix one or more of them, please tell me so I can update it.
Edit: This is what I went through to make this patch, but I think it was worth it.
Edit2: How to use the new space
<blm> zsnes users are the flatearthers of emulation
After much tracing $2116 in all.log and the debugger, and enjoying a lot of glitched graphics, I managed rearrange SMW's VRAM so that the sprite's graphics files can be reused for the FG layers, which will make complicated BGs much more affordable (example of complicated BG).
Here's a demonstration of it:
<embed width="448" height="361" type="application/x-shockwave-flash" wmode="transparent" src="http://i373.photobucket.com/player.swf?file=http://vid373.photobucket.com/albums/oo178/alcaroops/fgmario.flv">
(yes, I used a custom palette to make the layer 1 Mario look nice, but that's beside the point)
However, this glitches up the following things (I hope to be able to fix them):
The credits scene (still not fixed)
Switch Palaces messes up a little when you hit them (use ExGFX to replace tile 1F8 with a blank tile). Tried to fix, but failed horribly.
Download
If you find any other things that glitches, or if you fix one or more of them, please tell me so I can update it.
Edit: This is what I went through to make this patch, but I think it was worth it.
Edit2: How to use the new space
<blm> zsnes users are the flatearthers of emulation