SuperRetro64 to load data from an older version of the game to the new one? [like going from V1.0 to V1.5]
Store the current version in the save-file. When loading the file, load the version in the save-file first, and use it and the current game version to load the other data.
Pseudo code:
if save-file version == A and game version == B:
.... migrate file from A to B
else if save-file version == C and game version == D:
---- migrate file from C to D
else ...
SuperRetro64 Whenever I add a new var to the code and load the game, it just gives me errors.
You didn't state how you're saving your data. If you save the data as a Dictionary ("name" => value), you can load the Dictionary, and then sort things out. For example, if the game has a value that's not in the loaded Dictionary, set the value to its default. The ConfigFile class is an convenient method for saving data.