Switch to a profile without starting the game #30

Closed
opened 2026-10-22 23:41:09 -05:00 by ethan-hann · 0 comments
Owner

Today the only way to load a profile's files into the game's folders is Play: the switch is a step of the launch (ILaunchApi.StartAsync(gameId, LaunchTarget)), and the game always starts after it. A player may want the files only, for example to work on mods in a mod manager, check or copy a save, back up the folder by hand, or start the game some other way. The app's own copy points at the gap: error.profile.notLoaded tells the player to "Play this profile first to load it", and error.gameService.profileActive to "Play a different profile first".

Wanted: a "Switch to this profile" action (and "Switch to this snapshot" from History) that does everything Play does up to the point of starting the game, then stops.

  • The same preview as Play, naming what will change in each folder.
  • The same guards: new changes in the folders are kept, discarded, or taken as a snapshot first; a running game blocks it; a file another program holds stops it with the file named, and Try again finishes it.
  • It runs as a job, so Activity shows it with its details and it can be canceled, asking first, as a launch's switch does.
  • Afterwards the profile shows "Loaded now", and no after-play dialog appears, since nothing was played.
  • The copy says plainly that the game does not start, and the help and the tour mention the action.
  • Errors that say "Play this profile first" offer the switch instead.

Done when a profile or a snapshot can be loaded without starting the game, from the Games screen and from History, with the preview, the guards, and Activity behaving as they do for Play, covered by tests against the real backend.

Today the only way to load a profile's files into the game's folders is Play: the switch is a step of the launch (`ILaunchApi.StartAsync(gameId, LaunchTarget)`), and the game always starts after it. A player may want the files only, for example to work on mods in a mod manager, check or copy a save, back up the folder by hand, or start the game some other way. The app's own copy points at the gap: `error.profile.notLoaded` tells the player to "Play this profile first to load it", and `error.gameService.profileActive` to "Play a different profile first". Wanted: a "Switch to this profile" action (and "Switch to this snapshot" from History) that does everything Play does up to the point of starting the game, then stops. - The same preview as Play, naming what will change in each folder. - The same guards: new changes in the folders are kept, discarded, or taken as a snapshot first; a running game blocks it; a file another program holds stops it with the file named, and Try again finishes it. - It runs as a job, so Activity shows it with its details and it can be canceled, asking first, as a launch's switch does. - Afterwards the profile shows "Loaded now", and no after-play dialog appears, since nothing was played. - The copy says plainly that the game does not start, and the help and the tour mention the action. - Errors that say "Play this profile first" offer the switch instead. Done when a profile or a snapshot can be loaded without starting the game, from the Games screen and from History, with the preview, the guards, and Activity behaving as they do for Play, covered by tests against the real backend.
ethan-hann added this to the 1.0 milestone 2026-10-22 23:41:09 -05:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ethan-hann/SavePoint#30
No description provided.