Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - [ASM] Saving more stuff to the sram.
  
User name:
Password:
Reply:
 

UserPost
HyperLamer
Posts: 5099/8210
Also, make sure you take the save file # ($7E010A) into account.
DisruptiveIdiot
Posts: 113/147
Originally posted by d4s
Originally posted by DisruptiveIdiot
Ah yes, that helps very much.

Specifically, I'm planning on adding an ammo object for fireballs and it will be like those blue coins in odyssey and every time you shoot a fireball you lose 1 ammo unit, and you can't use it if you don't have any ammo. I intent for the game to keep track of the ammo because it would be annoying if you lost your ammo every time you reloaded the game.


you dont have to expand sram for that, that ammo-thingie means just one additional variable per saveslot.

a general advice:
keep in mind that lorom sram resides in banks $70-$7d, $8000-$ffff while
hirom sram is located at banks $20-$3F, $6000-$7FFF.
both have mirrors in the bank $f0(lorom) and bank $a0(hirom) ranges, keep that in mind when checking where the game writes.



Thanks for the advice. I was wondering about expanding the sram because I wasn't sure if it was all filled up or not. Thanks guys, this has been really informative.
d4s
Posts: 237/325
Originally posted by DisruptiveIdiot
Ah yes, that helps very much.

Specifically, I'm planning on adding an ammo object for fireballs and it will be like those blue coins in odyssey and every time you shoot a fireball you lose 1 ammo unit, and you can't use it if you don't have any ammo. I intent for the game to keep track of the ammo because it would be annoying if you lost your ammo every time you reloaded the game.


you dont have to expand sram for that, that ammo-thingie means just one additional variable per saveslot.

a general advice:
keep in mind that lorom sram resides in banks $70-$7d, $8000-$ffff while
hirom sram is located at banks $20-$3F, $6000-$7FFF.
both have mirrors in the bank $f0(lorom) and bank $a0(hirom) ranges, keep that in mind when checking where the game writes.

blaaaaaaaaaaaaaaaaaa
DisruptiveIdiot
Posts: 112/147
Ah yes, that helps very much.

Specifically, I'm planning on adding an ammo object for fireballs and it will be like those blue coins in odyssey and every time you shoot a fireball you lose 1 ammo unit, and you can't use it if you don't have any ammo. I intent for the game to keep track of the ammo because it would be annoying if you lost your ammo every time you reloaded the game.
Smallhacker
Posts: 1754/2273
This thread might help you.
DisruptiveIdiot
Posts: 111/147
Yeah, I want to make the game save some of my own memory adresses to the sram, can anyone give me a breakdown of what to do? Yes, I know all the essential asm stuff that I would need to know. I already know how to do stuff, I just don't know many specifics about smw.

Would I need to expand the sram size to accomodate more stuff or is there already enough room for one or two more variables?
Acmlm's Board - I2 Archive - Super Mario World hacking - [ASM] Saving more stuff to the sram.


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.007 seconds.