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. | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
DisruptiveIdiot

Paratroopa
Level: 21

Posts: 111/147
EXP: 42614
For next: 7329

Since: 04-09-04

Since last post: 4 days
Last activity: 5 hours
Posted on 06-19-05 09:36 PM Link | Quote
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?


(edited by DisruptiveIdiot on 06-19-05 12:37 PM)
Smallhacker

Green Birdo

SMW Hacking Moderator
Level: 68

Posts: 1754/2273
EXP: 2647223
For next: 81577

Since: 03-15-04
From: Söderhamn, Sweden

Since last post: 10 hours
Last activity: 9 hours
Posted on 06-19-05 09:48 PM Link | Quote
This thread might help you.
DisruptiveIdiot

Paratroopa
Level: 21

Posts: 112/147
EXP: 42614
For next: 7329

Since: 04-09-04

Since last post: 4 days
Last activity: 5 hours
Posted on 06-19-05 10:09 PM Link | Quote
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.
d4s

Panser
Level: 29

Posts: 237/325
EXP: 142151
For next: 5734

Since: 03-23-04

Since last post: 13 days
Last activity: 1 day
Posted on 06-19-05 10:53 PM Link | Quote
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



(edited by d4s on 06-19-05 01:55 PM)
DisruptiveIdiot

Paratroopa
Level: 21

Posts: 113/147
EXP: 42614
For next: 7329

Since: 04-09-04

Since last post: 4 days
Last activity: 5 hours
Posted on 06-19-05 10:56 PM Link | Quote
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.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 5099/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 06-20-05 01:27 AM Link | Quote
Also, make sure you take the save file # ($7E010A) into account.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
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.015 seconds.