Skip to content

Feature/quality selector#48

Merged
kevin930321 merged 27 commits into
devfrom
feature/quality-selector
Apr 14, 2026
Merged

Feature/quality selector#48
kevin930321 merged 27 commits into
devfrom
feature/quality-selector

Conversation

@kevin930321

Copy link
Copy Markdown
Collaborator

No description provided.

kevin930321 and others added 27 commits April 12, 2026 15:24
…resolution

- Replace _get_bundle_to_download_name_map with _parse_catalog_data
- Add catalogAssetToBundle to local_bundle_index.json (schema v3)
- Resolver now checks catalog first, falls back to scan-based lookup
- Remove common-ui-prefabs-group priority rule (no longer needed)
…alog disambiguation

Instead of matching catalog asset keys to scanned m_Names by filename,
build a bundle→keys mapping from catalog, then for each ambiguous asset
in assetToBundles, score each candidate bundle's catalog keys against
the m_Name. catalogAssetToBundle is now keyed by exact m_Names.
1. Run CDN character update and Shizuku bundle check in parallel
   instead of sequentially (saves ~1-2 seconds of network latency).
2. Skip finalizeScan() when 0 bundles need scanning — the existing
   local_bundle_index.json is already valid. This avoids expensive
   catalog parsing and JSON rewrite on every app launch.
3. Add in-memory caching to load_local_index() keyed by file mtime,
   so resolve_mod_batch doesn't re-read the large JSON from disk.
- Added a Dropdown quality selector above the Repack FAB in ModScreen
- Switched useAstc and selectedQuality to use SharedPreferences instead of SavedStateHandle so they persist across process deaths and full reboots
- Injected selectedQuality down to updateCharacterData and downloadBundle in Kotlin
- Updated main_script.py _refresh_character_data to consume quality dynamically
@kevin930321 kevin930321 merged commit 66068a2 into dev Apr 14, 2026
1 check passed
@kevin930321 kevin930321 deleted the feature/quality-selector branch April 14, 2026 04:43
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.

1 participant