Repository navigation
The shell's own settings: game data, cloud saves, language, performance HUD - #400
Merged
Merged
Conversation
…#398) A game lived in the shell only as long as its build folder existed: dropMissing dropped it once the framework was gone, and the recovery was a full rebuild. The build now mirrors each framework into the shell folder (a hard link on one volume, a copy across), dropMissing falls back to the mirror, and the next install re-embeds from it — a deleted build folder no longer removes a game. Settings → Build tools gains the cache row the owner asked for: the name, the folder path, an Open folder button, and a caption saying what lives there and what deleting it costs. Hard-link and drop-fallback behaviours are tested (ShellMirrorTests).
…efault performance HUD The shell had only per-game settings. A shell-level page now holds the library-wide choices: the game-data folder every new game looks in first (each game's own bookmark still wins), the cloud-saves folder all games share by default, the interface language (follow the device, Chinese, English), and the default performance HUD a game inherits when its own row leaves it unset. The priority is game > shell > built-in everywhere (ShellSettingsStore, tested). The data locator gained the shell's folder as its middle source, and the launch plan applies the HUD default only when the game's own settings left it unset. The view reuses the settings components, and the pickers ride the same security-scoped bookmarks as a game's own picks.
1 task done
Collaborator
|
@LNPANDY I reviewed the shell settings page. It is in rc8, and on a device none of its four rows changes anything yet. I checked this on
Two things in the code:
0.8.0 should not ship a page whose controls do nothing. I see two ways. Either we wire up the four rows and the translations before the final, or the button that opens the page is hidden until they work. Which do you prefer? #394 still names rc5. I will update it once we know which candidate becomes 0.8.0. |
3 tasks done
nobz226
pushed a commit
to nobz226/NX2Apple
that referenced
this pull request
Nov 1, 2026
…ayout The shell settings page from LNPANDY#400 was only partly wired. I fix every point from my review on it. The gear sits at the top right next to the controller chip in all layouts, not only in the empty library. The page is now a panel with a title and a Done button. B closes it. The page uses the same components as the per-game settings. Its texts exist in English and Chinese. The language choice changes the shell texts. The two folder rows open a folder picker and keep the bookmark. A game without a cloud-saves folder uses the shell one. A game found through the shell data folder has the new source `.shell`. The shell performance overlay choice is a fallback in the game settings. A game that chose for itself keeps its choice.
This was referenced Nov 1, 2026
4 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix or feature
What and why
The shell had only per-game settings. The owner testing several games asked for a shell-level page — the library-wide choices made once:
games/<title ID>/; each game's own bookmark still wins, and the fallback to the app folder stays.DataLocator.locategained the shell's folder as its middle source (picked > shell > app).EngineLaunchPlanonly when the game's own settings leftDM_METAL_HUDunset.The priority everywhere is game > shell > built-in (
ShellSettingsStore.effective, tested), so every per-game override keeps working. The view reuses the settings components, and the pickers ride the same security-scoped bookmarks as a game's own picks.Checked
ShellSettingsStoreTests(the priority chain); frontend-ios builds clean and its tests pass.