Okay I see.
Just a quick idea:
Use a template and save only the values.
Currently:
Save01.sav
***** File Start *****
version="1.0"
blabla01="0" blabla02="0" blabla03="0"
blabla01="0" blabla02="0" blabla03="0"
blabla01="0" blabla02="0" blabla03="0"
blabla01="0" blabla02="1" blabla03="19"
blabla01="0" blabla02="0" blabla03="0"
***** File End *****
Save only the values:
Save01.sav
***** File Start *****
template version="1.0"
0 0 0
0 0 0
0 0 0
0 1 19
0 0 0
***** File End *****
Adding new values to the save file.
Currently:
Save01.sav
***** File Start *****
version="1.1"
blabla01="0" blabla02="0" blabla03="0"
blabla01="0" blabla02="0" blabla03="0"
blabla01="0" blabla02="0" blabla03="0"
blabla01="0" blabla02="1" blabla03="19"
blabla01="0" blabla02="0" blabla03="0"
addedblabla01="0" addedblabla02="0" addedblabla03="0"
addedblabla01="0" addedblabla02="0" addedblabla03="0"
addedblabla01="0" addedblabla02="5" addedblabla03="8"
***** File End *****
Save only the values with added values:
Save01.sav
***** File Start *****
template version="1.1"
0 0 0
0 0 0
0 0 0
0 1 19
0 0 0
0 0 0
0 0 0
0 5 8
***** File End *****
You can even go further and compress the save file, a kind of "zip" save file.
If it is necessary to consult and change the values in a save file, this can be done by a small external tool that generates an xml file using the template and the save file and can save the changes to a file in the format of the save file.
If it is necessary to change the save file format to add new values, simply create and add a new template and it is thus possible to keep compatibility with save files of different versions of the program.
This tool can also allow you to update an old version of a save file to the latest version.
Currently, it takes between 12 seconds and 20 seconds of waiting each time the player presses the end of turn button, or when the player loads or saves a save file, this is insane.
This really makes the game unpleasant to play.
Original Heroes 2 launches and load/saves a save file in a fraction of a second, this makes the game transparent in its use and contributes to the pleasure of playing.
