Make save files incompatible with each update.

This may be really dumb question, but as the topic's title says, how can I make saved files incompatible with each deployed project update? I've tried a simple, manual edit of system.json file versionId: field, but still, I can load saved games.
F4ULELO.png


Now, what for do I need it?
The answer is simple, when I add new content to my game sometimes I need to alter something I've already done, it's either event, map layout, etc and I want to prevent the situation, where the player loads the game in a spot, where he cannot move.

(Of course, I can write a small plugin that on game load checks player location and if this is not passable, move it to coordinates specified in an array of maps start location, but that would require testing each map one by one, and at the current point, it's right out. I have in the project already ~150 maps.)
I assume you are working with playtesters, because if your game were finished and published you wouldn't be making drastic changes to the maps.

In that case, simply tell playtesters that they can't use their old save games. I wouldn't see any reason to code a way to enforce it if they don't follow instructions 😛

The problem with trying to code something different is that data from events and plugins are saved within the save game, so anything you add won't apply when you load the save. You'd have to code something that affects the Load Game screen from the main menu.

You may be able to use one of the metadata plugins for it.
Huh, A simple notification for playtesters... That might just work, guess I'm too exhausted after work...
You can simulate something like this with a plugin for consistent variables.
you'll need two variables, one of them consistent.
in your starting map, you manually set both to a version number that you count up.
and a parallel process compares both any only allows to continue if they are the same.

If you load a savefile from an older version they will no longer be identical, because the persisten variable is always to the latest run game, but the other will keep the number from when the game was started first.
A possible solution you might have not thought about too that wouldn't be too hard to add in: make it so if a player loads their data and they are stuck, just as a common event call if they are pressing like 2 buttons/keys on there controller/keyboard at the same time, and it will teleport them to the starting location of that map.

If it is a map with multiple starting points, teleport them to the one that would be expected of them to come in at the earliest point of the game, to prevent any kind of potential sequence breaking. The worst they might have to put up with at that point would be having to maybe backtrack a small bit if you allow them to save anywhere on any map or if you use a save point system, be set back a few locations and have to walk back.

Sure something like this could be abused for minor gain if they are trying to backtrack, but just tossing out an option in case you didn't want to make your testers start over the game each time you made a map change... esp if the game is larger than a few hours in length.


Edit: another option would be to make a item that only would be in the game when playing as a tester and not in the final release. Make it so when they use it, it would teleport them back to the starting location of the entire game. Debug tool, if you want to call it? And warn them it should only be used as such (unless your starting area is a location that might only be visited normally 1-2 times and is mostly useless afterwards story-wise)
That debug item you told would be good too, but I've pointed out in brackets, I can make a script that checks player location after game load and if not passable, then move him to map starting point, but it will take time to test it, writing script itself is not a problem, just 2 lines of code and an array of maps id, x and y coordinates to define.

Original thread: https://forums.rpgmakerweb.com/threads/make-save-files-incompatible-with-each-update.146036/