fix(nx): harden save inbox against slot clones

Retire successful imports to *.sav.imported and record content hashes so
re-pressing Import save (or the same bytes under a new name) cannot clone
slots. Surface multi-import counts and the active game tab in the notice.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Andrew Quenehen
2026-08-03 08:26:56 -03:00
parent 2a927651c5
commit a8f3a3155c
6 changed files with 182 additions and 42 deletions
+7 -3
View File
@@ -71,9 +71,13 @@ SD / FTP — same transfer methods as ROMs:
1. Copy a Gen1 `.sav` (32 KB) into the save-dir **`imports/saves/`** path the
launcher shows ([switch-transfer.md](switch-transfer.md)).
2. With the games ROM already imported, open **SAVE FILES** → **Import
save**. The launcher rescans the inbox and creates a new slot.
3. To pull a slot off the console, use **Export save**, then copy the file
2. With the games ROM already imported, open that games tab → **SAVE FILES**
**Import save**. The launcher rescans the inbox into **this tabs**
slots (Red vs Blue matter — use the matching game tab).
3. A successful import retires the file to `*.sav.imported` and records its
content hash so pressing **Import save** again does not clone slots.
Failed imports leave the original `.sav` in place.
4. To pull a slot off the console, use **Export save**, then copy the file
from **`exports/`** in the same save directory via MTP / SD / FTP.
Do not put `.sav` files into git. Prefer clean copies — some MTP clients