Homebrew Suggestion Is somebody working on savestates?

PT333

Well-Known Member
OP
Newcomer
Joined
Jul 19, 2018
Messages
55
Trophies
0
Age
27
XP
461
Country
United States
Title says it all. For poeple who do not know, savestates will give you option to save game at any moment without relying on game's save system. I suppose this feature would be very useful for some games!
 

SkittleDash

Head Nurse
Member
Joined
Oct 21, 2015
Messages
1,865
Trophies
2
Age
28
Location
Storm Border
XP
1,109
Country
Japan
That would prove to be a massive challenge. Not impossible but the likelihood of it happening won't be soon. Hell, cemu (Wii U emulator) doesn't even have save states yet. If it were that simple, it would've already been done.
 
  • Like
Reactions: KlariNoX

stitchxd

Well-Known Member
Member
Joined
Apr 27, 2017
Messages
401
Trophies
0
Location
nope
Website
gnusocial.me
XP
689
Country
United States
That would prove to be a massive challenge. Not impossible but the likelihood of it happening won't be soon. Hell, cemu (Wii U emulator) doesn't even have save states yet. If it were that simple, it would've already been done.

In theory you would only need to copy the contents of RAM to a file, and then restore as needed. (Though as you said, not that simple, though the idea is nice!)
 

ghjfdtg

Well-Known Member
Member
Joined
Jul 13, 2014
Messages
1,378
Trophies
1
XP
3,349
Country
It's not just about saving/restoring RAM but you have to save/restore the entire hardware state which is not doable unless it's an emulator. In the old days it was doable with more or less good results (more often than not you get glitchy results). Now hardware has evolved and is much more complex.
 

SkittleDash

Head Nurse
Member
Joined
Oct 21, 2015
Messages
1,865
Trophies
2
Age
28
Location
Storm Border
XP
1,109
Country
Japan
In theory you would only need to copy the contents of RAM to a file, and then restore as needed. (Though as you said, not that simple, though the idea is nice!)

Though as DiscostewSM said, it would probably take GBs worth to even save one. People may think they can deal with it, but soon, it will start getting annoying. Imagine you're playing a game like Dark Souls and you save state just before a boss. You don't want to go all the way back to the previous bonfire. By the time you reload that save state, you probably could make it back there before a save state loads. After all, it may have GBs worth of data to transfer into the RAM.
 
  • Like
Reactions: stitchxd

stitchxd

Well-Known Member
Member
Joined
Apr 27, 2017
Messages
401
Trophies
0
Location
nope
Website
gnusocial.me
XP
689
Country
United States
It's not just about saving/restoring RAM but you have to save/restore the entire hardware state which is not doable unless it's an emulator. In the old days it was doable with more or less good results (more often than not you get glitchy results). Now hardware has evolved and is much more complex.

I can save state using RTS on the original Nintendo DS - I am sure there is something that can be done at some point. Though to be honest, I don't think it's worth it.
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,971
Trophies
2
XP
30,663
Country
United Kingdom
Difficult, definitely. I guess a sysmodule would be able to freeze the game using interrupts, and dumping game ram should be straightforward enough - tho as pointed out, slow af - but whether you'd be able to save and restore the rest of the system state accurately enough I don't know.
 

Garou

Well-Known Member
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
I can save state using RTS on the original Nintendo DS - I am sure there is something that can be done at some point. Though to be honest, I don't think it's worth it.
DS RAM is only 4MB right? Switch has 4GB of RAM, so it's a huge difference
 

ghjfdtg

Well-Known Member
Member
Joined
Jul 13, 2014
Messages
1,378
Trophies
1
XP
3,349
Country
If you try restoring only the game's process you will quickly find out this will not work. Just one reboot and the memory layout is different + all of the handles the game acquired are invalid. It's not doable in any reliable way.
 
  • Like
Reactions: hippy dave
D

Deleted User

Guest
I guess that must be handled by Sysmod or CFW and I guess atmosphere is protecting this "malicious" code so we need reinx and Yea nobody using it so won't be able soon
 

Ryab

Well-Known Member
Member
Joined
Aug 9, 2017
Messages
3,295
Trophies
1
XP
4,575
Country
United States
Title says it all. For poeple who do not know, savestates will give you option to save game at any moment without relying on game's save system. I suppose this feature would be very useful for some games!
While technically possible saving/loading would be multiple minutes of waiting
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    You will get banned.
  • A @ ATEMVEGETA:
    @BigOnYa Did it happen to you or someone you know? Which is the dangerous part in this procedure?
  • The Real Jdbye @ The Real Jdbye:
    @ATEMVEGETA no, i just traded my pokemon over by trading it to a friend locally on cfw and trading it back on ofw
  • A @ ATEMVEGETA:
    @The Real Jdbye, You traded just a Pokemon or transfered the save data?
  • K3Nv2 @ K3Nv2:
    Gotta transfer them all!
  • The Real Jdbye @ The Real Jdbye:
    @ATEMVEGETA i traded all the pokemon
  • BigOnYa @ BigOnYa:
    On the Switch forums I've seen people claim they were banned for using saves from emulator, on Ofw. But I don't play that ****
    +1
  • K3Nv2 @ K3Nv2:
    I sold all my Pokémon to Arabic princes
    +1
  • A @ ATEMVEGETA:
    @BigOnYa, Interesting! Can you show me some of those posts plz?
  • BigOnYa @ BigOnYa:
    No you go find them, use the search, or ask in the Switch noob forums.
    +1
  • Larsenv @ Larsenv:
    @Xdqwerty I'm not sure if there was a 13 or over rule back in 2013
    +1
  • BigOnYa @ BigOnYa:
    @ATEMVEGETA here's a few comments, but know ive seen more in the threads. Post in thread 'Pokemon Scarlet save file' https://gbatemp.net/threads/pokemon-scarlet-save-file.646217/post-10403348
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, im still afraid of coming out irl tho
  • A @ ATEMVEGETA:
    @BigOnYa,
    Well, I had read that thread already, it does not mention moving saves from Emulator to OFW. Also I am not planning to edit/modify a save file. Just play a save file on an emulator, and then move it to OFW and play it on my switch.
  • BigOnYa @ BigOnYa:
    I wouldn't risk it, but do what you want. A console ban is loss of all online play, of any games.
  • K3Nv2 @ K3Nv2:
    Not my online Mario kart races!
    +2
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I try to do a gdevelop event to make an enemy fire bullets if it is on screen and its in colision with a platform, but it doesnt work (and yes i downloaded the "is on screen" condition extension)
  • Xdqwerty @ Xdqwerty:
    and the enemy has the fire bullet behavior
  • BigOnYa @ BigOnYa:
    You can try in code, if player distance <1000
    then enemy fire bullets at player.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, lemme try
  • BigOnYa @ BigOnYa:
    Or use the ray casting behavior for the enemies
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i cant find that behavior
    Xdqwerty @ Xdqwerty: @BigOnYa, i cant find that behavior