MV I need a plugin that can implement quick save on android phone

My game needs to be saved in real time on an android phone, but the existing auto-save plug-ins cannot really save quickly, and there will be a freeze when saving.
Can anyone help?
Hmmm... What kind of plugins are you already using? If you have a way to quickly trigger a common event, (like click image or something or custom menu) then you can use this script call in that common event:

$gameSystem.onBeforeSave();
DataManager.saveGame(X);


Replace X with the ID of the slot you want to quick-save in.

You can also use the value of a variable as slot ID:

$gameSystem.onBeforeSave();
DataManager.saveGame($gameVariables.value(Y));


Replace Y with the ID of the variable that contains the slot ID
Hmmm... What kind of plugins are you already using? If you have a way to quickly trigger a common event, (like click image or something or custom menu) then you can use this script call in that common event:

$gameSystem.onBeforeSave();
DataManager.saveGame(X);


Replace X with the ID of the slot you want to quick-save in.

You can also use the value of a variable as slot ID:

$gameSystem.onBeforeSave();
DataManager.saveGame($gameVariables.value(Y));


Replace Y with the ID of the variable that contains the slot ID
I believe that what the OP is saying is that he/she wants an asynchronous save system, like MZ has.

AFAIK, In MV, when the DataManager saves your game, it blocks all other processing while the save is happening. So say that an autosave triggers while your character is in the middle of doing something, there could be a momentary lag, because everything temporarily stops moving while the data is being saved.

If I'm understanding correctly, I believe that the OP wants to avoid that happening.
Oh... I thought like... Like quick save in Skyrim and Fallout. 😛
I believe that what the OP is saying is that he/she wants an asynchronous save system, like MZ has.

AFAIK, In MV, when the DataManager saves your game, it blocks all other processing while the save is happening. So say that an autosave triggers while your character is in the middle of doing something, there could be a momentary lag, because everything temporarily stops moving while the data is being saved.

If I'm understanding correctly, I believe that the OP wants to avoid that happening.
Yes, the saving of the MV itself will be stuck, so what I want is what you said, can you help?
Unfortunately, I don't actively use MV, so I've never messed with any autosave plugins, and I don't know whether or any of them do what you're asking.

But what you're asking about is possible. What you would need is a plugin that rewrites the engine's default saving functions into asynchronous functions, so they can execute in the background without blocking the rest of the game loop.

It looks like somebody did already write such a plugin, and posted a thread about it here. I've never tried it, and I'm not sure whether or not it will work with the autosave plugin that you're using, but you can give it a shot and see what happens.

Original thread: https://forums.rpgmakerweb.com/threads/i-need-a-plugin-that-can-implement-quick-save-on-android-phone.144482/