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

Updating Versions #7

Closed
Xenon257R opened this issue Apr 9, 2023 · 0 comments
Closed

Updating Versions #7

Xenon257R opened this issue Apr 9, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@Xenon257R
Copy link
Owner

Xenon257R commented Apr 9, 2023

This will be a pinned issue thread for current and upcoming version updates until I find an ironclad workaround for Rainmeter's limitations on skin updates. This is an issue in part due to the complexity of this suite, but can also be my lack of understanding the packaging system they offer.

THE ABSOLUTE BEST SOLUTION IS TO DO A FRESH RE-INSTALL

With every updated .rmskin package, I have ensured that files that 100% can be preserved are made to do so within Rainmeter's limitations (which is mainly .inc and select .ini files), and you can re-apply your old preferences from that point onward. I apologize for the inconvenience, but this frustration should only come with each update, which are few and far between. To reduce the pains of updating databases one by one manually, You can refer to the restoration checklist below.

Restoring as many old preferences as possible

The gist of it is, every time you update this suite, your .json configurations and a few other things are wiped - this is despite me writing specifically in the packaging to ignore said files when updating, but Rainmeter does it anyways. But fear not - before applying the update, you can manually backup the folder by simply Copy-Pasting the BlueArchive directory into a separate directory (keep the copy out of the Skins folder to avoid complications) to re-pull wanted changes back. Alternatively, Rainmeter's update system does provide a "Save Backup" option:
image
However, this Backup has fully failed on one of my computers, so I advise a manual Copy+Paste backup if you don't want to risk it (thought it appears a failed backup simply restores the old version and aborts the installation of the new one).

So below is an exhaustive list of files that are safe to simply pluck from Skins\@Backup and drop it right back into Skins\BlueArchive:

Upgrading to the latest version, you are safe to restore:

  • (Merge) your old @Resources\assets directory with the new one
    • Make sure it's a merge and not replace! That way, both the old and new are combined
  • The @Resources\notes directory and its contents
  • The @Resources\json directory
    • DO NOT RESTORE layout.json if you're coming from 1.0.0! This version of layout.json is deprecated.
  • All new TrayApps you have created, adaptive or simple
    • Don't forget to reposition them and re-add them to the new layout.json Database from the ToggleSwitch context menu!
  • Any additional .ini, .inc or Skin files you have created/changed yourself
    • This step is best skipped for changed files, as the file you have changed may have received an update your suite might need. Instead, it is best to re-change the potentially new files.

After restoring the above files, as much of the old version should be restored. It is encouraged to double-check all your configurations and correct any missing transfers. If anything still remains broken/missing and you are unable to recover your preferences, leave a comment below and I'll see what I can do. Just make sure you didn't delete that @Backup file and did not attempt any further re-installations (they will override your @Backup every time, meaning you will TRULY lose your old preferences this way).

@Xenon257R Xenon257R pinned this issue Apr 9, 2023
@Xenon257R Xenon257R added the documentation Improvements or additions to documentation label Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant