Skip to content
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

File backups in development builds #610

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

BenCheung0422
Copy link
Member

@BenCheung0422 BenCheung0422 commented Jan 9, 2024

There has already been an incident that there is a break of preferences by 9de1e2a (originated from #425; attempt of fix as in #503). Ideally, this kind of save file scheme changes should always be conducted and followed-up so as to preserve the quality of version continuation on save files, even on pre-releases. This is related to the quality of pre-releases.

Then, in case of save file corruptions, this allows backups of both preferences and world saves. Backups of preferences are performed automatically when saving and upgrading preferences with development builds; backup prompts are shown when users are attempting to load old worlds in development builds. (This might be extended to generally all versions, and all loadings of conflicting versions respectively.)

(Edited on 2023/01/11)

Old summary

Recently, due to the changes to the workflows of development builds, pre-releases, the risks of getting corrupted files may significantly increase. This allows backups of both preferences and world saves. Backups of preferences are performed automatically when saving preferences with development builds; backup prompts are shown when users are attempting to load old worlds in development builds.

@Litorom Litorom added the High priority Something that should be fixed as soon as possible. label Feb 9, 2024
src/client/java/minicraft/saveload/Version.java Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High priority Something that should be fixed as soon as possible.
Projects
Status: To do
Development

Successfully merging this pull request may close these issues.

None yet

3 participants