16 users online:  Ahrion, AlonsTime, axer, Bob_Loblaw, Dark Prince, GRIMMKIN, l337f00l, lo fang 123, Marwii, ShoopDaWhoop, signature_steve, Subrosian, triana, Tsquare07, Ultima, williantisao22 - Guests: 201 - Bots: 293
Users: 65,487 (2,182 active)
Latest user: Albix2k8

Free up RAM $7E2000

SMW Patches → Free up RAM $7E2000

Submission Details

Name: Free up RAM $7E2000
Author: p4plus2
Version History: View
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch frees up the RAM at $7E2000-$7EACFF by moving GFX32 and GFX33 to ROM and leaving them uncompressed.

Update on 03/11/2022 by Burning Loaf
- Added an error for using Exanimation prior to inserting the patch
- Updated the patch with an edit by Kevin to fix animation display in LM after insertion
- More tags
Tags: free ram freeram graphics lorom ram sa-1
Comments: 9 (jump to comments)
Download 19.68 KiB | 288 downloads

Comments (9)

MellyMellouange Link
I'd much prefer a version of this that only relocated GFX32 and left GFX33 as-is. It'd still free up plenty of RAM without locking GFX33 out of being used for ExAnimation
 MarioFanGamer Link
Moderated with:
  • Lunar Magic v3.34 v3.40
  • SA-1 Pack v1.40
  • Asar v1.81
  • BSNES v115
Now, on its own, this patch merely removes one limitation of SMW (and if I were to be not bound to Lunar Magic, this is the first thing I'd do) but Lunar Magic still treats it like the patch doesn't exists which introduced two problems: For one, GFX32 and 33 are still in the ROM, just compressed so you lose a bit on ROM space than one wouldn't (though you can replace them with a blank file at the cost of Lunar Magic compatibility) but more importantly, you can't use GFX33 as an ExAnimation source, you have to use AN2 or ExGFX60-63.
Anas From older version: Free up RAM $7E2000 Link
I found out this is incompatible with the 8x8 DMAer patch because of a single one-line hijack at $00F691. That sucks...

Edit: Even worse if one cares about the M7 bosses: it will mess up, of all things, the sprite lava in the M7 arenas.
BlueToad From older version: Free up RAM $7E2000 Link
@JP32 That will be probably fixed when FuSoYa officially recognizes this patch.
Anas From older version: Free up RAM $7E2000 Link
Another note: since the patch moves GFX32/33 away, this probably allows you to dedicate the GFX32/33 displayed by LM for more global animations. So it might be more significant than you think.
 Koopster From older version: Free up RAM $7E2000 Link
This is a lot of RAM 👀
 Kevin From older version: Free up RAM $7E2000 Link
Tested with: Lunar Magic 3.30, Asar 1.81, SA-1 v1.32, Snes9x 1.60, bsnes+ v04.
While not being very useful for the average user, for those who need more free RAM it's a welcome one. A few notes:
- Make sure to have set at least one ExAnimation in Lunar Magic (and saved afterwards) before patching this (you can remove the ExAnimation afterwards, it's just to make LM apply a hijack).
- As JP32 said, using this will make animation display improperly in LM, since it modifies the animation tables in the ROM. This is annoying to work with, but there's a way to avoid it, by moving the new table in freespace and making the game load from it. You can use this edit to make animation display normally. I couldn't reproduce the bug with exanimations he mentioned, though.
- If you're using the Baby Yoshi or Podoboo disassemblies, you'll need to edit their code a bit to make their gfx work. In the Baby Yoshi, find the line that says "ADC #$8500" and change it to "ADC #$8800". In the Podoboo, find the line that says "LDA #$8600" and change it to "LDA #$8900".
- As a side effect of this patch, the transition from the Nintendo Presents screen to the title screen will be a bit faster (since it doesn't decompress the GFX anymore).
JP32 From older version: Free up RAM $7E2000 Link
Neat, but it completely fucks up how vanilla animations looks in LM:
In-game everything is as should, but it does make editing levels just tedious:
And it fucked up my exanimation(trigger with on/off):
Looks as it should on LM, but in-game its fucked. I did edit the included graphics files to match my edits I made(the graphics my exanimation uses are in the GFX33.bin).
HammerBrother From older version: Free up RAM $7E2000 Link
Therefore 36096 bytes are freed.