Save States

Includes but not limited to: SNES, Genesis, Sega CD, PlayStation 1, Nintendo 64, Dreamcast, Game Gear and I guess the Virtual Boy.

Moderator: Moderators

Post Reply
stuntpenguin007
Posts: 667
Joined: Sun Apr 27, 2008 12:21 pm

Save States

Post by stuntpenguin007 »

is a save state just a dump of the ram? I was thinking about making my gameshark come up with a menu with a list of options to dump and restore the ram when you press the GS button.

I know its really hard to code for the N64, I'm just kind of curious to know if its possible. the N64 also has 8mb of ram which would be hard to dump onto the N64.
SNESP WIP
Case - 50%
acquired parts - 90%
assembly - 0%
samjc3
Posts: 1086
Joined: Sun Feb 15, 2009 8:05 pm
Steam ID: samjc3
Location: burning and pillaging!!

Re: Save States

Post by samjc3 »

a save state is probably just a small file with "coordinates" for where you are and base id's for all the items you have, and npc's near you.

i have no clue what you are asking though.... :?
AfroLH wrote:
HotDog-Cart wrote: Also, the codename stuff adds a little bit of sexyness, in my eyes.
Yeah well Alcohol adds a little bit of sexyness in my eyes, but I dont drink it all the time. :wink:
SpongeBuell wrote:As proof, I offer this picture of a monkey on my head.
stuntpenguin007
Posts: 667
Joined: Sun Apr 27, 2008 12:21 pm

Re: Save States

Post by stuntpenguin007 »

You know how in some emulators you can take savestates, then if you mess up you can load that savestate and go back to the exact second you took the savestate.
SNESP WIP
Case - 50%
acquired parts - 90%
assembly - 0%
samjc3
Posts: 1086
Joined: Sun Feb 15, 2009 8:05 pm
Steam ID: samjc3
Location: burning and pillaging!!

Re: Save States

Post by samjc3 »

oh. those.

those just save every game file thats in ram, so it can just restore them. i dont think it would be possible with a real console though. :wink:
AfroLH wrote:
HotDog-Cart wrote: Also, the codename stuff adds a little bit of sexyness, in my eyes.
Yeah well Alcohol adds a little bit of sexyness in my eyes, but I dont drink it all the time. :wink:
SpongeBuell wrote:As proof, I offer this picture of a monkey on my head.
Skyone
Moderator
Posts: 6390
Joined: Tue Nov 29, 2005 8:35 pm
Location: it is a mystery
Contact:

Re: Save States

Post by Skyone »

A save state (like one you'd be able to keep on an emulator) dumps the game's memory, along with CPU/xPU registers. Once revived, the registers are put into place, and the dumped memory is loaded back into the RAM.

A "save file" (which a game with a flash/EEPROM would have - considering the platform is N64) would just be a binary data dump containing proprietary information in a fashion which will be understood by the game once it is loaded (number of lives, number of Jiggys collected, etc.).

It is possible to hook either, though a save state would obviously be much tougher to manage. You would have to pause the game at whim (assuming there would be a button to save, then a button to load), dump 4/8MB of memory + registers to flash, and start the game back up again.
eagle5953
Moderator
Posts: 1892
Joined: Mon Jul 07, 2008 5:06 pm
360 GamerTag: eagle5953
Steam ID: eagle5953
Contact:

Re: Save States

Post by eagle5953 »

Skyone wrote:(number of lives, number of Jiggys collected, etc.).
Jiggys FTW! Half the reasons I want to make an N64p at some point are due to Banjo-Tooie...
stuntpenguin007
Posts: 667
Joined: Sun Apr 27, 2008 12:21 pm

Re: Save States

Post by stuntpenguin007 »

Yeah I kinda figured it would be near impossible the minute I wrote the post.
SNESP WIP
Case - 50%
acquired parts - 90%
assembly - 0%
Skyone
Moderator
Posts: 6390
Joined: Tue Nov 29, 2005 8:35 pm
Location: it is a mystery
Contact:

Re: Save States

Post by Skyone »

By no means is it impossible, it should be quite straightforward with any experience with microcontrollers, etc.
stuntpenguin007
Posts: 667
Joined: Sun Apr 27, 2008 12:21 pm

Re: Save States

Post by stuntpenguin007 »

are you talking about soldering directly to the board to get at the ram and such?

What I was getting at was that if someone did have enough knowledge to make such a homebrew/rom to dump the registries and ram, it would have no place to store the dump. The gameshark holds 256k and for one save state on a game that uses an expansion pak it would need to be about 10mb... I think.

One other thing to do would be to replace the flash roms with nicer ones, but I don't think they would hold 10 + mb. If I ever get a heat gun I'll replace the flash roms then try to currupt it by deleting a whole bunch of codes and see if it helps any.

Is there any way to store memory on a serial port?
SNESP WIP
Case - 50%
acquired parts - 90%
assembly - 0%
Skyone
Moderator
Posts: 6390
Joined: Tue Nov 29, 2005 8:35 pm
Location: it is a mystery
Contact:

Re: Save States

Post by Skyone »

stuntpenguin007 wrote:Is there any way to store memory on a serial port?
ON a serial port? You could transfer data/memory THROUGH a computer's serial port, if that's what you're asking - to store the data on a hard drive or something.
XCVG
Senior Member
Posts: 1947
Joined: Sun Dec 21, 2008 9:10 pm
Location: Canada

Re: Save States

Post by XCVG »

stuntpenguin007 wrote:Is there any way to store memory on a serial port?
Yeah, but if you bump it all the chips will fall off. Just use a bloody shelf. :lol:
Post Reply