diff --git a/launcher/ui/src/SettingsPage.tsx b/launcher/ui/src/SettingsPage.tsx index c9fc1e2..1a5be0a 100644 --- a/launcher/ui/src/SettingsPage.tsx +++ b/launcher/ui/src/SettingsPage.tsx @@ -87,6 +87,12 @@ function PercentSlider({ id, label, help, min, max, step, value, onCommit }: { } // Bringing in saves made by a PSP or PPSSPP: choose the folder, see what was found, confirm. +// Where a copy of the game keeps its saves: its own folder inside the saves folder (launcher install::game_saves_dir). +function copySavesPath(folder: string, discId: string): string { + const sep = folder.includes('\\') ? '\\' : '/'; + return [folder.replace(/[\\/]+$/, ''), discId, 'PSP', 'SAVEDATA'].join(sep); +} + function ImportSaves({ gameId }: { gameId: string | undefined }) { const [scan, setScan] = useState(null); const [done, setDone] = useState(null); @@ -470,8 +476,9 @@ export function SettingsPage({ state, onChange, onPseudonym, onCopyCode, friendC
Saves folder - Location of your saves, one folder per game. Changing it copies your saves to the new folder; existing saves - there are kept. + Location of your saves. Each copy of the game saves in its own folder inside it (for example + ULUS10391\PSP\SAVEDATA), shown in its Game settings. Changing it copies your saves to the new folder; + existing saves there are kept. {state.savesFolder}
@@ -686,6 +693,14 @@ export function GameSettingsPage({ state, onChange, onChangeCopy, onRemoveCopy,

Saves

+ {game && ( +
+
+ Saved in + {copySavesPath(state.savesFolder, game.discId)} +
+
+ )}