From dd1192b655206c561415f9cf1ee851ec607aca55 Mon Sep 17 00:00:00 2001 From: epicmeme546 <178368684+epicmeme546@users.noreply.github.com> Date: Mon, 9 Nov 2026 06:10:58 -0500 Subject: [PATCH] Import a single save slot into its own slot folder and keep the rest of the save. A slot folder holds only progress.sav and caption.sav, and Import Saves took those two files for a whole save: it replaced the save and left them at its top, where the game does not read them, so the game started a new one. A folder with progress.sav at its top now replaces that slot alone. A backup made by the import no longer brings its save-tx folder back with it. Co-Authored-By: Claude Opus 5.5 --- docs/launcher.md | 5 ++-- launcher/saves.py | 35 ++++++++++++++++++++++------ launcher/ui/app.py | 3 ++- tests/launcher_test.py | 52 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 85 insertions(+), 10 deletions(-) diff --git a/docs/launcher.md b/docs/launcher.md index 4673bfd6..c186a86d 100644 --- a/docs/launcher.md +++ b/docs/launcher.md @@ -145,8 +145,9 @@ Import Saves (home, under Game Folder; `launcher/saves.py`) makes another save t a `saves` folder with a README for it: a save put there (its files, or the folder that holds them) is taken first, and the row then reads "From the Saves Folder"; otherwise selecting the row asks for the folder. It recognises a Switch save backup (the save's files), an emulator's save folder (nested folders named by user and title ids), and -another NX2navi game folder or its profile folder (the account folder inside). A folder with more than 4,000 files -or 1 GB is refused as picked by mistake. +another NX2navi game folder or its profile folder (the account folder inside). A folder with `progress.sav` at its +top is one save slot: it replaces that slot (`slot_00` to `slot_05`, by the folder's name, else `slot_00`) and the rest +of the current save stays. A folder with more than 4,000 files or 1 GB is refused as picked by mistake. The game keeps its save in `profile/save/`, named after `profile/account.uid` (made as the game would when it never ran). The import copies the save the game would load now (a finished commit still waiting in diff --git a/launcher/saves.py b/launcher/saves.py index 448ba2f6..a6f4e1ce 100644 --- a/launcher/saves.py +++ b/launcher/saves.py @@ -14,6 +14,10 @@ save taken from saves/ moves to saves/imported