Plugin for auto-save state on exit/crash and auto resume saved state?

ACECORP

Founder & Entrepreneur
Veteran
Joined
Apr 6, 2016
Messages
253
Reaction score
39
First Language
English
Primarily Uses
RMMV
In some commercial games that exist, such as final fantasy, there is an auto-save feature that saves the state of the game on exit or app crash, which allows users to choose to resume state rather than load their last formal save?


Is anyone aware of a plugin for rpgmaker mv that facilitates this?


In the screen shot below, the "continue?" option does exactly that. It takes the user to the exact state their game was in just before they exited or before the app crashed?

image.png
 

taarna23

Marshmallow Princess
Global Mod
Joined
Jul 20, 2012
Messages
2,402
Reaction score
4,966
First Language
English
Primarily Uses
RMMZ
I don't know if there are any that auto-save at all, but I can tell you that you won't get an auto-save on crash... To put a crash another way, it is an unexpected shutdown of the application - unexpected being the key word. On exit, perhaps, if there is a way to hook into the close process. Other than that, perhaps an auto-save could save at certain points like map transitions, or after cutscenes/big battles.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
@Taarna21 is correct. Since crashes are unexpected, there is no way to handle those. Even the games that have autosave and you resume those on a crash just autosave at fixed points, and you load from those fixed points. What they do though is they autosave very regularly, so that when you crash you lose very little work.


Though, there is a disadvantage you need to keep in mind. If the program crashes during the autosave, the autosave will be corrupted. It's happened to me before, and there is NO fix for that...for any program.
 

ACECORP

Founder & Entrepreneur
Veteran
Joined
Apr 6, 2016
Messages
253
Reaction score
39
First Language
English
Primarily Uses
RMMV
How does final fantasy do it? Maybe they have an auto save that's always active then? If I play it and I walk away and my phone sleeps, or the game crashes it starts me where I left out when I relaunch the game and hit the continue option. Load from save point is different, that's a different feature already present in my game. The feature I am talking about is autoresume. Play any FF game for iPhone and you will see what I mean. That's what I want to do with my Rpgmaker MV game. And am looking for some guidance on how I might do it if no plugin exists that does it already.
 
Last edited by a moderator:

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
You can't have an autosave that is always active, that leads to corrupt data at the first crash. Try force powering off your comp sometime right after you hit save in word for a big 200 page document, you'll see what I mean by corrupt data (Please don't try this on anything important if you do decide to actually do this!).


What is probably going on is the game is auto-saving very frequently, and the crashes/etc it is resuming as close as possible to the last point. It's probably not the EXACT point of the crash (for example, I doubt it is resuming right in the middle of a battle). Plus if it were the exact point of the crash, auto-resume would just crash it again, as the crash would already be in progress!). However, you can achieve a pretty similar effect with any autosave plug-in, just put a call to autosave at the end of every event. That will keep it close enough to auto-resume that it will feel like an auto-pickup.


So, the best solution I can see is to see if you can find an autosave plug-in (I assume you want a plug-in, right?) that saves after every battle, and after every map change. If you have that, and add in a call to autosave at the end of every event, it will be really close to an auto-resume. That should be really close to what you want. The bad news is the ones I know of are for ACE, so you'll have to search for it, or see if another poster can find one for MV?
 

ACECORP

Founder & Entrepreneur
Veteran
Joined
Apr 6, 2016
Messages
253
Reaction score
39
First Language
English
Primarily Uses
RMMV
Thanks. I found this one that does an autosave.


http://mvplugins.com/plugin/Hudell/OrangeAutoSave


I will just execute it every chance I can to make as close to a "constant save" process as I can.


It won't be exactly what final fantasy does with a separate "resume" menu, but it will accomplish the goal. 


I am also implementing a clock/days time tracking environment so I will set it to autosave at every time increment. That should work nicely if I can pull it off. 
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,083
Members
137,583
Latest member
write2dgray
Top