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
Old patchpack savegame versions will soon overlap #8116
Comments
We'll probably have to implement some additional consistency check or additional marker that ensures we're really loading a compatible game, and not one that by chance uses the same SL version. |
SpringPP uses a different chunk header format for RIFF chunks, so attempting to load it in trunk will fail with a corrupt savegame error quite early. |
I don't think this is worth worrying about, the patchpack savegames will simply fail to load. |
The exact patchpack savegame versions are as follows (as of JGRPP 0.34.2):
|
I agree with Eddi - the fact that some patchpacks used a version only slightly ahead of master isn't our problem, and the games will just fail to load as expected. |
It may become a bit of a problem if people start reporting these saves. It would be nice to at least have a way to easily tell whether it's a patchpack game or not. |
For legacy, I know of at least 2 Spring 2013 savegame formats that are already in trouble: 191 and 201. With asserts enabled, they simply crash the game. Without some reword like JGRPP, very little we can do about that now :) Newer versions seemed to me like very low effort to solve, so I created #8411. |
Have you tried a similar approach for the following save game versions (with a more friendly error message)?
|
We are far far far far far FAR away from hitting 2000, so no, there is currently no code for that :) I did consider it, but I also found no sane way to add this :) |
There are pretty much 0 savegames in the wild which user versions 2000 - 2002. |
This is not taking into account that patch packs have already allocated some of the version numbers. How will we distinguish save games made with official OpenTTD versions (1.11 and up) from save games made with various patch packs (Spring 2013, ChillPP, JokerPP), given the fact that we'll start to overlap with Spring 2013 in just 2 savegame versions from now?
Originally posted by @James103 in #8115 (comment)
The text was updated successfully, but these errors were encountered: