My game is driven by a scripting language, and the user can save at almost anytime in the middle of the script, so the instruction number of the script engine must be saved. The problem is that the game state breaks when the script is changed. If the script is
A B C D E and the player saved at C (the 3rd), and then the script is changed into
X Y Z A B C D E, then the player will load at Z. I think my game will be updated infrequently even after release.
I think breaking the script into sections and autosaving in each new section. (in case of incompatibility: restart at autosave) However, are there any other ways to make save files forward-compatible? I want to hear some examples of especially RPGs with DLCs and patches.