Carry over saves from updated versions?

Hello! I have a game I'm working on and I've been having people play to find bugs for me, etc. When I update it, I deploy a new version to upload for download. Is there a way to carry over saves so people don't have to start all over again, or is there a better way to update the game file?
Unless there were major changes to your game structure that change the saves being made then they should be able to copy existing saves to the updated version.

Do the new versions overwrite the existing game folder or does it have new name based on version?

I'll sometimes find a game that overwrites the existing files and have no problems, others may have changed things leaving old unused or conflicting files that can potentially break a game.

Normally I'll extract the game to a new game folder, copy the saves from old to new game folder and test to make sure that the new games loads with the new saves, that nothing is broken etc.

Occasionally developers find that they need to change things that result in save games no longer working but on those occasions you would most likely know when that is likely to happen. If for example, you changed the inventory significantly, added more 'slots' on a party member for items etc.
So you have a new folder with your game files in there for them to download. Probably zipped. They already have a folder like this on their computer, which now also contains a folder called /save/.

Simply copy the folder named /save/ from their old folder to their new one, then reload the game.


However... Some things you change to the game for an update, potentially breaks their save file. If that happens, the only thing they can do is restart.

Spoiler: How to avoid breaking saves
This happens when you remove actors, items, skills, states. maps, events etc from the database. (Adding is not a problem.) When they have item 99 in their inventory, but you made the max items 20, then the game crashes. If your actor had class 9 but you decided now to have only 1 class and set the max to 1, it will crash. This goes for armor, for weapons, for actors, for maps, for everything.

So whatever you do, do not decrease the max of those after you shared your game for the first time with the audience. Again, adding new anything would be just fine.

Also everything you change in your plugins could potentially break a saved game. The more a plugin changes to the game, the bigger the chance of the saves breaking. For plugins count that this can happen both when you add or remove one. So best to set them up before you share a first version with the actual audience. If you find any cool plugin after that, save them for the next game.
Spoiler: Changes made to actors
If you made any changes to actors, like their name or their equipment, or their traits, then keep in mind that those specifics are set to an actor at the beginning of the game. Or when the actor joins the party for the first time. This also counts for the graphics!

So if your actor1 used to have face "Ralph_1.png" and you replaced it with "Ralph_Smile.png", then when they load their saved game, their game will crash, trying to load "Ralph_1.png", instead of "Ralph_Smile.png".
If you update your graphics, you should just write over the old files and keep the names the same. Don't forget to make a backup if it is your only copy.
If you are making changes that cause saves to be incompatible, then it can be helpful to implement some "cheats" that allow your playtesters to easily get themselves back to a level that is appropriate for testing the relevant part of your game.

For example, you can make a special map that has NPCs that can give the player decent items, grant free levels, offer teleportation to other maps, etc. And then either set the player's starting point to that map, or put an item in their inventory that can warp them to that map, or something along those lines. Then your playtesters can easily get to an appropriate level, get appropriate gear, and teleport back to an appropriate part of the game--rather than having to start over every time.

Original thread: https://forums.rpgmakerweb.com/threads/carry-over-saves-from-updated-versions.152916/