Skip to content

Saves: change the save folder the developer named, for games set up without Easy Setup - #512

Merged
4 commits merged into
elripalda:mainfrom
Xarishark:feat/Save-folder-change-non-easy-setup
Nov 25, 2026
Merged

4 commits merged into
elripalda:mainfrom
Xarishark:feat/Save-folder-change-non-easy-setup

Conversation

@Xarishark

@Xarishark Xarishark commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Players who skip Easy Setup manage the game themselves and want RecompLauncher only to run it, update it and sync its saves. Some recomps' recomplauncher.json (or the catalog) still names a save folder the game no longer uses: the developer moved it and didn't update the file. Until now the Saves tab only let those players open that folder, so backups and cloud saves read the wrong place and nothing could fix it.

What changes (Saves tab, desktop and Big Picture)

  • For a game whose Easy Setup is skipped (for that game, or with the setting for every game), the folder its developer or RecompLauncher names gets Change next to Open. It uses the same picker as games with no recomplauncher.json.
  • After a change, the player's folder says "You changed this folder" and keeps Open and Change. The named folder stays on the list, greyed and without the green shield: "Its developer names this folder. Not used while you use your own." (or "RecompLauncher names this folder…"), with Use This Folder to go back.
  • Big Picture: A on the folder offers Open and Change. The greyed named folder is its own item, and A switches back to it.
  • Backups, restore, cloud saves and save sharing all use the player's folder. A copy made from the developer's folder restores into the player's folder.
  • Refused: the game's own folder or one around it, a folder with programs in it, the home folder, a whole drive, and a folder too big to look through. Backups, cloud uploads and restore's clearing take everything in it for saves.

What doesn't change

  • Easy Setup games: no Change, still hands-off. If Easy Setup is turned back on, the named folder is used again. The player's folder stays stored but is ignored until Easy Setup is skipped again.
  • The override has its own field, save_override, not save_place. Many libraries still hold save_place picks made before The Saves tab, rebuilt: its status first, every save in one history, then where it saves #326, when the developer's folder started winning. Reusing that field would have brought those stale picks back silently.
  • It isn't offered when the developer names several folders: restore matches a copy's folders by position, so one folder standing in for several would put files in the wrong place. It isn't offered for the games of a recomp with several games either.
  • It's kept on each PC and isn't synced, like the player's other save folders: paths differ between PCs.
  • Nothing new a developer can write in recomplauncher.json, so no schema, docs or SDK patch-notes change.

Translations: four new UI texts and three error texts in 21 language files, placed mid-file next to "You picked this folder". en-GB falls back to English.

Tests

  • Rust: 14 new tests in saves.rs, covering the override gate (developer and catalog folders, Easy Setup on, several folders, nothing named, an old save_place not coming back), a restore of a developer-folder copy into the override, and the refused folders.
  • UI: 12 new tests in tests/saves-tab.test.cjs. tests/beta45.test.cjs now checks the shared folder pick in Big Picture instead of a direct saves_set_place call.
  • UI tests: 808 passed, 0 failed (LF checkout, Linux). cargo test: 1054 passed, 0 failed (three runs).
  • In the real app (debug build on Bazzite KDE, driven through WebDriver):
    • Change through the launcher's own file browser, and Use This Folder.
    • The stored fields, a backup, and restoring a developer-folder copy into the new folder.
    • The game folder and a missing folder refused (the home, drive and too-big refusals came after that run and are covered by the Rust tests).
    • Easy Setup on, then skipped again.
    • An Easy Setup game, a game with two named folders, and the setting for every game on and off.
    • The Big Picture items and the Open / Change sheet.

…loper named

A recomplauncher.json (or the catalog) can name a folder the game no longer
saves in. For a game set up without Easy Setup, save_override stands in for
the one named folder; Easy Setup games keep the named folder. Its own field,
so old picks in save_place made before a folder was named stay unused. The
game's own folder and folders that hold programs are refused.
…etup

Desktop and Big Picture: the folder its developer or RecompLauncher names
gets Change when Easy Setup is skipped for the game. The player's folder
then says You changed this folder, and the named one stays on the list,
greyed, with Use This Folder to go back.
@Xarishark
Xarishark marked this pull request as draft November 24, 2026 15:06
…ve or one around the game

Backups, cloud uploads and restore's clearing take everything in the folder
for saves. The program check gave up after 4000 entries and let big folders
through; for the override, too big to look through is refused, as are the
home folder, a drive root and a folder that holds the game's folder.
@Xarishark
Xarishark marked this pull request as ready for review November 24, 2026 15:16
@Xarishark Xarishark self-assigned this Nov 24, 2026
elripalda pushed a commit that referenced this pull request Nov 25, 2026
#526 changed player_sets_up to go by each game's own mode; #512 calls it from cloud.rs. Kept
#526's version, visible to the crate. The command list keeps want_count next to
saves_set_override.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@elripalda elripalda closed this pull request by merging all changes into elripalda:main in 0b537b7 Nov 25, 2026
lucienlmy pushed a commit to lucienlmy/RecompLauncher that referenced this pull request Nov 25, 2026
Only the command list clashed (want_count from elripalda#466 next to saves_set_override): kept both.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@orca-bots

orca-bots Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Issue Triage

Lost track of this on Xarishark’s computer. It may still finish. Check Orca.

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.

2 participants