Tutorial  Updated

Recovering Games Saves from *NAND using NXNandManager and JKSV

This gets asked often enough that I figured I'd show how I do it.

Open to constructive feedback...if there are better ways to do this, pleae let me know. This is just what works for me.

Here is my current installation of Cuphead.

55B68577-33A9-4E33-81E5-8C1606DFA0AC.jpeg
I have a “special” 200% save that is about to have an unfortunate “accident”*

*(I’m going to delete both of my current saves for the purpose of this demonstration.)

Let's also simulate destruction of my game saves from Tunic as well (they are a little bit different content so it's worth it for demonstration sake.)

image.jpg




<tragic accident happens here>


Oh noes!

image.jpg

image.jpg

Everything is gone!


Fortunately I have a backup of my emunand. I extract all my data from the backup of my *NAND using NXNandManager and a copy of my prod.keys that I retrieved using LockPick_RCM. (can also use a Sysnand backup here)

1666457166714.png

Following the red numbers in the graphic above we will:
1) supply the prod.keys file
2) Highlight the USER partition
3) Click the Yellow folder to explore the USER partition. (folder greyed out? Check your keys in step 1)


You will now see the following (you might have to hit DropDown labeled "A" to get to the /saves directory)

1666457404334.png

Highlight the games you want to pull from your backup and then right click and select "Save as..."

You will get a popup asking which directory you'd like to extract files into. I typically create a new one (based on the date/time) so I can keep track of my extractions.

You should see the following if everything was done correctly so far..

1666458343685.png

Click the little red X on the progress popup so you can dismiss the window. you should now click File and then Unmount your backup. It’s important to do this if you have mounted a real filesystem...corruption hazard. Finally select Exit as we’re done with XNandManager.

You should now have a directory full of a bunch of files that start with "00000..." like so (I'm only doing two games for this demonstration...)

1666458433935.png

Grab the .rar file from here and unrar it unto a new directory.
(I creatively named mine "extract nand gamesave.")

Copy your 00000.. files into "extract nand gamesave/save/" directory.

Mine looks like this now:

1666458679909.png

Now go back up one level and click run.bat.

A black Command window will pop up and a whole bunch of text will stream by but once it disappears you will have the extracted saves in your out directory like this:

1666458885402.png

Back on your switch, fire up JKSV. In my case, you will see that since I’ve had a tragic accident and just reinstalled my games I have no game saves

jksv.jpg

You will need to press (X) User Option (see the bottom right.)

Now select Create All Save Data and press (A)

create.jpg

Press AND HOLD (A) for Yes to create your directory structure.

hold.jpg

Press (B) once it’s done and you should have some new icons in JKSV like so:

all.jpg

press (+) to exit out of JKSV and (Home) to get out of HBMenu.

Now comes the tricky bit…

Copy the contents of the .../out directory above onto your Switch under the /JKSV/<game name>.

I use sys-ftpd-light on my Switch to move files around but you could remove the SDCard and copy them using Windows just as well.

In my example the first set of files (Cuphead) look like this:

1666465037036.png

That data needs to be moved here:

74561337-E342-4BC5-A34B-542272FF383E.jpeg
(Directory path)

E65BDB3B-9F10-48A7-A71A-314DFA154977.jpeg
(Files)

And this set of files (Tunic):

1666465138370.png

Will go here:

481D5B08-E309-4998-AD95-B12308119AE7.jpeg
(Directory path)

2BFEABF2-687E-4B8F-9777-98F21549DD0F.jpeg
(Files)

The finale…

Now we fire up JKSV once more but this time things look a little different.

Click (A) on your profile and then (A) again on the game you want to select to restore:

image.jpg
(It’s our save directory we extracted from the Nand backup.)

Slice down to our restored directory but this time click (Y) again to restore it.

image.jpg

Press and HOLD the (A) button to confirm that Yes, you want to restore the backup games saves to the actual game installed on your Switch.


and

voila!

image.jpg

All that hard work is restored!

Let’s see it again for Tunic (because the files are a little different in their format…I’m simply showing the process is still the same,)

Fire up JKSV again, navigate to our game saves and click (Y) to restore again…

image.jpg

Press and hold (A) again to confirm restore processes…

exit out of JKSV and HBMenu, fire up Tunic and…

image.jpg

Once again all our save data has been restored!
 
Last edited by binkinator,
Hello! I'm summarizing this thread because I'm literally going crazy. I played Animal Crossing on Sysnand and now I want to bring my island to Emunand too. I followed the guide step by step but I can't.
Could you help me? There must be something I'm doing wrong...


the format of animal crossing seems to be different. i also would like to know.
 
hi, when running .bat, aside for the windows warning once it runs it says theres no python, i installed python but it gives me the same error, out folder its empty.

s\SaveExtract\SaveExtract>python extract.py
No se encontr¾ Python; ejecuta sin argumentos para instalar desde Microsoft Store o deshabilita este acceso directo en Configuraci¾n > Administrar alias de ejecuci¾n de la aplicaci¾n.

C:\Users\xxx\xxxFiles\Games R Us\savegame backup extraidos\SaveExtract\SaveExtract>pause
Presione una tecla para continuar . . .
 
Just for information: DBI can use raw save files as save backups, so you no not need to unpack them, just put to DBI's backups folder and restore. In this case save containers wil be restored exactly the same as original saves with all meta info which will be lost in case of using JKSV and unpacked saves.
 
  • Like
Reactions: petspeed
hi, when running .bat, aside for the windows warning once it runs it says theres no python, i installed python but it gives me the same error, out folder its empty.

s\SaveExtract\SaveExtract>python extract.py
No se encontr¾ Python; ejecuta sin argumentos para instalar desde Microsoft Store o deshabilita este acceso directo en Configuraci¾n > Administrar alias de ejecuci¾n de la aplicaci¾n.

C:\Users\xxx\xxxFiles\Games R Us\savegame backup extraidos\SaveExtract\SaveExtract>pause
Presione una tecla para continuar . . .
You need to have python installed on your computer.

python.org is the site to download it.


------- this is a english only site but spanish version of answer:

Necesitas tener Python instalado, lo puedes descargar de python.org
 
You need to have python installed on your computer.

python.org is the site to download it.


------- this is a english only site but spanish version of answer:

Necesitas tener Python instalado, lo puedes descargar de python.org
yeah, i pointed out that i installed python from python.org, because i assumed it was the case, but after installing it, the error is the same, it even recognnizes de extract.py file as a python file but it keeps giving me the same error when prompting the .bat

edit: extract.py**
Post automatically merged:

Just for information: DBI can use raw save files as save backups, so you no not need to unpack them, just put to DBI's backups folder and restore. In this case save containers wil be restored exactly the same as original saves with all meta info which will be lost in case of using JKSV and unpacked saves.
wow, this would be ideal, as im having trouble with unpacking the savegames with phyton, so i just would need to copy the files i got from nxnandmanager to the sd card backup folder of dbi? then restoring with dbi on the switch?? i dont have too much expirience with dbi as i usually use tinfoil game shops to install games.
 
Last edited by darkkef,
  • Wow
Reactions: impeeza
yeah, i pointed out that i installed python from python.org, because i assumed it was the case, but after installing it, the error is the same, it even recognnizes de .bat file as a python file but it keeps giving me the same error when prompting the .bat
Start over, remove all python installations from your PC, go to control panel (control.exe) -> Programs and features AND REMOVE ALL python related. then go to settings (SystemSettings.exe) -> Apps -> Installed apps and also remove all python installed apps. Then download latest python installer from https://www.python.org/downloads/ and when running the installer be sure to select the «Add Python.exe to PATH» and then on «Customize installation» select «PIP» an «PY Launcher» options on wizard.

1727999747969.png


1727999530915.png


that way the comands «PY» and «python» will be correctly executed anywhere on your PC.
 
  • Like
Reactions: darkkef
Start over, remove all python installations from your PC, go to control panel (control.exe) -> Programs and features AND REMOVE ALL python related. then go to settings (SystemSettings.exe) -> Apps -> Installed apps and also remove all python installed apps. Then download latest python installer from https://www.python.org/downloads/ and when running the installer be sure to select the «Add Python.exe to PATH» and then on «Customize installation» select «PIP» an «PY Launcher» options on wizard.

View attachment 462653

View attachment 462651

that way the comands «PY» and «python» will be correctly executed anywhere on your PC.

Aight dude, thank you for taking the time to, will post back
Post automatically merged:

Start over, remove all python installations from your PC, go to control panel (control.exe) -> Programs and features AND REMOVE ALL python related. then go to settings (SystemSettings.exe) -> Apps -> Installed apps and also remove all python installed apps. Then download latest python installer from https://www.python.org/downloads/ and when running the installer be sure to select the «Add Python.exe to PATH» and then on «Customize installation» select «PIP» an «PY Launcher» options on wizard.

View attachment 462653

View attachment 462651

that way the comands «PY» and «python» will be correctly executed anywhere on your PC.

done, now is giving me the "
C:\Windows\System32>python extract.py
python: can't open file 'C:\\Windows\\System32\\extract.py': [Errno 2] No such file or directory" error

edit i unzipped the saveextract folder to a diferent folder and ran the bat again, and is giving me the
FileNotFoundError: [WinError 2] the system cant find the specified directory
Post automatically merged:

yeah, still no good, its starting to do something, but
 

Attachments

  • scrensht.png
    scrensht.png
    60.6 KB · Views: 89
Last edited by darkkef,
Aight dude, thank you for taking the time to, will post back
Post automatically merged:



done, now is giving me the "
C:\Windows\System32>python extract.py
python: can't open file 'C:\\Windows\\System32\\extract.py': [Errno 2] No such file or directory" error

edit i unzipped the saveextract folder to a diferent folder and ran the bat again, and is giving me the
FileNotFoundError: [WinError 2] the system cant find the specified directory
Post automatically merged:

yeah, still no good, its starting to do something, but
I am wondering, which file are you using? the one on the OP do not needs python, please share with us the links to the files and/or process you are using to try to replicate your error.
Post automatically merged:

OK, I see where do did get the file for Python, that file is not working, seems the python code is bad.

stay with the instructions on the OP https://gbatemp.net/threads/recovering-games-saves-from-nand-using-nxnandmanager-and-jksv.620758/ and copy your PROD.KEYS file to the same folder, I just ran the process and works flawlessly.
 
Last edited by impeeza,
  • Like
Reactions: darkkef
I am wondering, which file are you using? the one on the OP do not needs python, please share with us the links to the files and/or process you are using to try to replicate your error.
Post automatically merged:

OK, I see where do did get the file for Python, that file is not working, seems the python code is bad.

stay with the instructions on the OP https://gbatemp.net/threads/recovering-games-saves-from-nand-using-nxnandmanager-and-jksv.620758/ and copy your PROD.KEYS file to the same folder, I just ran the process and works flawlessly.
YESSSSS, that was it, idk why the files were wrong (bad link??), i thought i downloaded the folder on the op link, i redowloaded the .rar and now it worked, no phyton neeeded, wtf lol, who knows what that .zip was, thank you fam.
 
  • Like
Reactions: impeeza
This gets asked often enough that I figured I'd show how I do it.

Open to constructive feedback...if there are better ways to do this, pleae let me know. This is just what works for me.

Here is my current installation of Cuphead.

View attachment 333303
I have a “special” 200% save that is about to have an unfortunate “accident”*

*(I’m going to delete both of my current saves for the purpose of this demonstration.)

Let's also simulate destruction of my game saves from Tunic as well (they are a little bit different content so it's worth it for demonstration sake.)

View attachment 333346




<tragic accident happens here>


Oh noes!

View attachment 333338

View attachment 333349

Everything is gone!


Fortunately I have a backup of my emunand. I extract all my data from the backup of my *NAND using NXNandManager and a copy of my prod.keys that I retrieved using LockPick_RCM. (can also use a Sysnand backup here)

View attachment 333304

Following the red numbers in the graphic above we will:
1) supply the prod.keys file
2) Highlight the USER partition
3) Click the Yellow folder to explore the USER partition. (folder greyed out? Check your keys in step 1)


You will now see the following (you might have to hit DropDown labeled "A" to get to the /saves directory)

View attachment 333305

Highlight the games you want to pull from your backup and then right click and select "Save as..."

You will get a popup asking which directory you'd like to extract files into. I typically create a new one (based on the date/time) so I can keep track of my extractions.

You should see the following if everything was done correctly so far..

View attachment 333324

Click the little red X on the progress popup so you can dismiss the window. you should now click File and then Unmount your backup. It’s important to do this if you have mounted a real filesystem...corruption hazard. Finally select Exit as we’re done with XNandManager.

You should now have a directory full of a bunch of files that start with "00000..." like so (I'm only doing two games for this demonstration...)

View attachment 333325

Grab the .rar file from here and unrar it unto a new directory.
(I creatively named mine "extract nand gamesave.")

Copy your 00000.. files into "extract nand gamesave/save/" directory.

Mine looks like this now:

View attachment 333326

Now go back up one level and click run.bat.

A black Command window will pop up and a whole bunch of text will stream by but once it disappears you will have the extracted saves in your out directory like this:

View attachment 333327

Back on your switch, fire up JKSV. In my case, you will see that since I’ve had a tragic accident and just reinstalled my games I have no game saves

View attachment 333328

You will need to press (X) User Option (see the bottom right.)

Now select Create All Save Data and press (A)

View attachment 333329

Press AND HOLD (A) for Yes to create your directory structure.

View attachment 333330

Press (B) once it’s done and you should have some new icons in JKSV like so:

View attachment 333331

press (+) to exit out of JKSV and (Home) to get out of HBMenu.

Now comes the tricky bit…

Copy the contents of the .../out directory above onto your Switch under the /JKSV/<game name>.

I use sys-ftpd-light on my Switch to move files around but you could remove the SDCard and copy them using Windows just as well.

In my example the first set of files (Cuphead) look like this:

View attachment 333332

That data needs to be moved here:

View attachment 333334
(Directory path)

View attachment 333335
(Files)

And this set of files (Tunic):

View attachment 333333

Will go here:

View attachment 333336
(Directory path)

View attachment 333337
(Files)

The finale…

Now we fire up JKSV once more but this time things look a little different.

Click (A) on your profile and then (A) again on the game you want to select to restore:

View attachment 333340
(It’s our save directory we extracted from the Nand backup.)

Slice down to our restored directory but this time click (Y) again to restore it.

View attachment 333341

Press and HOLD the (A) button to confirm that Yes, you want to restore the backup games saves to the actual game installed on your Switch.


and

voila!

View attachment 333342

All that hard work is restored!

Let’s see it again for Tunic (because the files are a little different in their format…I’m simply showing the process is still the same,)

Fire up JKSV again, navigate to our game saves and click (Y) to restore again…

View attachment 333343

Press and hold (A) again to confirm restore processes…

exit out of JKSV and HBMenu, fire up Tunic and…

View attachment 333345

Once again all our save data has been restored!

hi, i have a problem, up until getting the "0000.." files in the out folder everything went ok, but none of the files inside the 0000s folders has a name to identify in which jksv game folder goes

i just get this .sav files:
 

Attachments

  • folderes que no son 1.png
    folderes que no son 1.png
    14.7 KB · Views: 87
  • folderes que no son.png
    folderes que no son.png
    8.9 KB · Views: 78
hi, i have a problem, up until getting the "0000.." files in the out folder everything went ok, but none of the files inside the 0000s folders has a name to identify in which jksv game folder goes

i just get this .sav files:
YEAH the names are not stored on that files, so you must copy them to SDMC:/JKSV folder and JKSV will handle the names. you will see the correct names on the homebrew app.
 
Hi, recently I just removed patch from a game then reinstall the latest patch,but when I lauched the game the save game is gone. Will this method recover my save files? I put so many hours in this game, now it's all gone for nothing. If anyone could help would be greatly appreciated.
 
  • Like
Reactions: impeeza
Hi, recently I just removed patch from a game then reinstall the latest patch,but when I lauched the game the save game is gone. Will this method recover my save files? I put so many hours in this game, now it's all gone for nothing. If anyone could help would be greatly appreciated.
yes, may be.
 

Site & Scene News

Popular threads in this forum