Skip to content

Comments

Standardize data directories and reload configs#697

Merged
MattEqualsCoder merged 1 commit intomainfrom
launch-issue-fixes
Apr 22, 2025
Merged

Standardize data directories and reload configs#697
MattEqualsCoder merged 1 commit intomainfrom
launch-issue-fixes

Conversation

@MattEqualsCoder
Copy link
Collaborator

Fixes #690, #684

This does a few things:

  • Fixes an issue where if SMZ3 was installed into the program files folder, it was failing to download new configs and sprites due to needing authorization. All default configs and sprites are in %localappdata%/SMZ3CasRandomizer/DefaultData
  • All user custom data is now located at %localappdata%/SMZ3CasRandomizer/CustomData. Previously user configs were done alongside the default configs, you just had separate folders for custom changes.
  • Previous user configs and sprites should be automatically moved to the appropriate locations.
  • Configs are now reloaded when opening the generation window or tracker to reflect any changes in selected profiles.
  • Configs are now standardized to be accessed from the metadata service. Before it was 50/50 Configs and the Metadata service.
  • There was previously a Directories class as well as a RandomizerDirectories class. These have been merged.
  • Fixed an issue that came up in testing where apparently the last release broke Mac builds.
  • Adds a bit of extra initial logging of the folders that it's using.
  • Fixed an issue that I think was the cause of debugging sometimes constantly asking to redownload sprites (hopefully).

@MattEqualsCoder MattEqualsCoder linked an issue Apr 21, 2025 that may be closed by this pull request
@MattEqualsCoder MattEqualsCoder merged commit 298a7af into main Apr 22, 2025
2 checks passed
@MattEqualsCoder MattEqualsCoder deleted the launch-issue-fixes branch April 22, 2025 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracker won't open Reload Configs After Updating Tracker Profiles

2 participants