Views: 705,578,064
10 users online: BTD6_maker, Golden Yoshi, Impetus, Malazan461, Murphmario, NextTactics, Poison, ThalesMangaka, Tobio, Ultima - Guests: 46 - Bots: 138Users: 36,860 (1,446 active)
Latest: jodu
Tip: Don't use savestates when testing your own levels.Not logged in.
Details for SRAM and BW-RAM Plus v1.3
SMW Patches - SRAM and BW-RAM Plus v1.3
File Name: SRAM and BW-RAM Plus v1.3
Version History: View
Authors: LX5, MarioE, Tattletale
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch rewrites the game's save file handling by using DMA for saving and loading, leading to the most efficient handling. As a bonus, it also frees up the 141 bytes of RAM at $7E:1F49.

NOTE: You must apply this patch after you use Lunar Magic to modify any of the level's level flags on the overworld -- LM doesn't take into account the fact that $1F49 is never being used anymore.

Read the readme for information on including an address to be saved to SRAM/BWRAM.

This version now allows addresses to have default values.

The BWRAM is included because due to the nature of the sa-1 rom, SRAM doesn't exist, so use that instead of SRAM on a sa-1 rom, not SRAM.

Update: Fixed for compatibility with Lunar Magic v2.53.


LX5's bwram_plus:
Fixed a bug init would happen after intro level's load, leading to weird issues with initialized RAMs. Example: if you remove the code that takes care of initializing manually the life counter and try to do that with bwram's default values, you will see your life counter suddenly jump from 1 to the right value. And many other issues of the same variation.
I also brought the load routine to the same hijack, so now the game chooses whether to init or load, instead of trying to do both. In v1.2, I had added a lock so that wouldn't happen, I removed it in this version. Both routines are running at the same hijack sram_plus uses now.

MarioE's sram_plus:
Fixed a bug it would restore a piece of code from the original game on top of a LM hijack (message sprite fix (shift+f8)) that would send you to the wrong OW submap.

LX5's bwram_plus:
Fixed a bug the patch would load a save even if there was no save to be loaded (values would be loaded with FF or whatever else was in the tables).
Fixed a bug the patch would write garbage to address+1, according to the tables, so dl $4013C7 : dw $0001 would write to 4013C7 and 4013C8.
Tags: bw-ram, dma, sa-1, save, sram
Download: Download - 93.28 KiB

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2018 - SMW Central
Legal Information - Privacy Policy - Link To Us

Total queries: 28


Follow Us On

  • Facebook
  • Twitter
  • YouTube


  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • MFGG
  • Gaming Reinvented