A new version of the game has been released, please start a new game.

Good day!
I have seen a lot of RPG maker games that, after updates, required you to start a new game, because the old save will not work correctly. As it seems to me, this is due to the fact that the creator of the game forgot to set some kind of variable at the beginning of the game, but did it in the new version, or is it not so? I would not want my game to require a new game after updates, what rules should I follow? Maybe there is some kind of guide? I would be glad to any advice.
It's unfortunate that this happens AFTER the game is released, but it's fairly common during development. Unless you're talking about a game where updates include new content, and even then you can usually plan a bit and/or add some specific scripting to avoid the need to restart.

The most common cause of needing a restart is when you add a script that saves its own data in the save file. If the game is played and saved before the script is added, then you add the script, the data it expects from the save file is not there. So you either need another script to add that data to any previously-created save files, or more commonly (because most people can't script to that level), get your players to start a new game.

The best way to avoid it after release is to make sure your game is complete before release - don't add any scripts afterwards.

It's possible that there could be some other major game changes that might require players to start a new game, where scripts aren't involved. This could include shuffling things around in the database, adding or removing maps, adding or removing events, or changing where switches and variables are set or checked. Again, making your game as complete as possible should avoid most of these as well.

Shaz​

The most common cause of needing a restart is when you add a script that saves its own data in the save file.
Do all scripts interfere with the save file? If I find a script that I would like to use, can I find out if it modifies the save file?

So you either need another script to add that data to any previously-created save files
Are you talking about a script that could modify old saves in the game folder? If so then this is really for very experienced people!

The best way to avoid it after release is to make sure your game is complete before release - don't add any scripts afterwards.
So, if the player made a save in version 0.5. And I decided in version 0.7 to add a script that would not in any way affect the content that was in version 0.5. Would the player still be unable to load their old saves?
Or does it only apply if I add a script in version 0.7 that will somehow affect the content in version 0.5?

Shaz​


Do all scripts interfere with the save file? If I find a script that I would like to use, can I find out if it modifies the save file?

You can check through the plugin code and check, basically the issue is if it has to set up something on a newgame, or store values for later usage.

It's a real case-by-case basis thing, which is why the general advice is not to do it. Sometimes you can get away with it.

Are you talking about a script that could modify old saves in the game folder? If so then this is really for very experienced people!


So, if the player made a save in version 0.5. And I decided in version 0.7 to add a script that would not in any way affect the content that was in version 0.5. Would the player still be unable to load their old saves?
Or does it only apply if I add a script in version 0.7 that will somehow affect the content in version 0.5?

There'd be a problem if you added something like SRD's Summon Core, which adds the ability to summon on-map creatures to fight for you. When you load a game, it checks which summons you have - the 0.5 save files wouldn't have any summons, and the summon core freaks out and crashes because it's expecting to at least see an empty list showing that you haven't found any yet.
From the above, I realized that before adding any new script to the game, you need to test it with old saves. Thanks for answers.

Original thread: https://forums.rpgmakerweb.com/threads/a-new-version-of-the-game-has-been-released-please-start-a-new-game.135966/