New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with auto-upgrading pretty old savegame to rev 50: stance #2086
Comments
The attached file has the savegamerev 15, not sure if its worth looking into this issue at all. I remember that some early savegame revs were made invalid, does someone knows more about this? I wasn't able to find a related commit. |
Is there any interest in getting such an old savegame to load? My interpretation is that this issue is about a proper handling for such old savegames? |
I'd be fine with simply refusing to load savegames past a certain revision as long as that's handled gracefully. Definitely better than a crash. Do we have some details on which changes / releases broke approximately which savegame versions? Without this data, would you just place arbitrary cutoff points somewhere? Perhaps checking which savegame versions were produced by each release (and maintaining that list in the future) could be good, this is not the first time I'd have liked a table like this, and it seems simple enough to look up. |
Its only checked via the GUI code if a savegame is upgradeable, iterating over a list from the real savegame rev to the rev which is used for new savegames and checking if there is a upgradecode for each step. This prevents the crashing, but simply is used in the wrong placed in my opinion. Thats something that needs to be fixed. Currently the upgradecode for the lowest rev is 49, so I think 48 will be work. Maintaining such a list, maybe in the changelog would be a good starting point. Also some testing which is the lowest rev we can upgrade currently. |
2014.1 74 Not sure whats a good place to store that information, maybe in the beginning of the Changelog? |
.unknown-horizons/save/
: Attachment: loading_problem.sqliteThe text was updated successfully, but these errors were encountered: