DataManager.save_game vs DataManager.save_game_without_rescue

While digging into my autosave script I noticed it specifically calls the following command:

DataManager.save_game_without_rescue(0)

However, a normal save command is DataManager.save_game(0).

Any idea why they used the without_rescue version? And what is the advantage to using one vs the other?
I don't have RGSSx but according to my code analis in MV save game without rescue stores all data in save file but gives you a warning is something wrong in game data (e.g displays in MV warning that json string is too long). I didn't check in practical way how both methods work
but I think this should you give an idea and the better dev explains that issue, because I'm curious too. 🙂
i'm also curious about this. working on a plugin that involves autosaving and need to know what the difference is and which is preferable
'save_game_without_rescue' is the function that every 'save_game' call executes. However, the 'save_game' function has an exception handler for when anything goes wrong during the save (e.g. - cannot write to disk). So the advantage would be for the game to handle the exceptions without completely exploding. The use of 'save_game_without_rescue' could be considered a bit daring for an auto-save script, since any problem encountered during the save process could result in the game shutting down ... causing the player to possibly lose data and progress.

EDIT: If anything, an auto-save script should have more error handling, not less.

EDIT II: One thing to check would be to see if there is any error handling wrapped around the 'save_game_without_rescue' function call. If there is a handler ('begin ... rescue'), then everything should be fine since that is basically what 'save_game' does.
one is the actual save to file, and the other is the scene's save to file plus the return scene.
Using "without rescue" is correct, as it will throw an error when the game is unable to save the game, usually because of the badly written script (if you don't have one, you shouldn't worry much). Using another one will have an error handler that it deletes the save file when the error arises without actually gives you a warning popup. It just deletes the file. In save menu scene, it will play buzzer sound at least, but it doesn't happen in auto-save.

However, both will still make the save file corrupt if it fails to save
. The difference is if in the half-way of saving file it detects an error, the one with rescue will delete it (because while writing the save file, it corrupts it and by that it might as well as delete it), and the one that without the rescue will simply stop and complain to you, then close the game without actually delete the file. But you will still unable to load the game.
@TheoAllen gave what is I believe the best explanation. The 'rescue' portion of the normal save_game method deletes the file if it couldn't be loaded (and does a couple other things like signal that a buzzer SE should be played). save_game_without_rescue is sort of like doing only the actual save-to-file functionality, without the other things that normally come with a save - this does make some degree of sense with an Autosave that doesn't require visiting the menu for.

If the Autosave is saving to a completely different file than all of the other files, I think it also makes sense that you wouldn't want to delete anything if there's an error, especially if that error is happening because of the autosave script itself.
I wonder. See my last thread which was looking at some delays in the autosave we found the issue was the save file got corrupted somehow but they were able to keep playing, it was just slowing down all future save operations. Do you think it might be worth changing it to the standard save method, and if it fails just let it delete the autosave (since it is now corrupted anyways?). Seems leaving it is causing issues long term from what I'm noticing.

Original thread: https://forums.rpgmakerweb.com/threads/datamanager-save_game-vs-datamanager-save_game_without_rescue.113435/