ROM Hack I made a NAND backup awhile back, now had to recover, missing games.

tj18

Member
OP
Newcomer
Joined
Sep 28, 2018
Messages
12
Trophies
0
Location
USA
XP
97
Country
United States
After reviewing a huge number of posts, I was having difficulty to find a solution that correlates to my issue, and was hoping to be pointed in the right direction on this fourm! I have a general idea of homebrew and softmodding the system. But, obviously I lacked the sense to save a recent backup. It's possible due to the formatting, and the way the 3ds stores info, that the data is lost in the abyss on my SD card and unable to recover.

Once ago I followed the guide at 3ds.hacks.guide/homebrew-launcher-(soundhax) - since I was running 11.3.x. I followed the steps it worked great. I completed the NAND backup and saved my laptop as well. All was peachy.

Recently - the software update button was pressed. The system halted and only booted to a black screen (not bricked). I ran godmode to restore the NAND backup and returned to a default blank home screen, all games gone. I'm now on 11.4.0-37U.

So with that, can titles easily be recovered using the software on the 3ds (homebrew,FBI,etc) that can read from the SD card and link the data back to the appropriate save location on the SD card? Or, if the software is lost is any save data recoverable? Thanks in advance for thoughts and suggestions.
 

Rioluwott

Well-Known Member
Member
Joined
Feb 23, 2014
Messages
853
Trophies
1
Age
28
XP
2,567
Country
Mexico
i think that has something to do with tickets
can you check the software list on the 3ds settings and tell us what you see?
some time ago i had 2 sd with 2 emunand on them and when i installed arm9loaderhax i transfered one of the sd emunand to the sysnand and tried to use the other sd card from sysnand and only some games were found on the sd
i may be wrong
 
  • Like
Reactions: TurdPooCharger

ThoD

GBATemp Addict (apparently), but more like "bored"
Member
Joined
Sep 8, 2017
Messages
3,631
Trophies
1
Age
27
XP
3,049
Country
Greece
NAND backups restore the system to the point it was at that time the backup was created, any titles that have been installed after you made the backup won't have their tickets, so they won't show in the home menu. Just add the tickets through FBI, but may need to do some searching for some.
 
  • Like
Reactions: Tac 21

Tac 21

Well-Known Member
Member
Joined
Feb 2, 2008
Messages
913
Trophies
1
XP
941
Country
Canada
NAND backups restore the system to the point it was at that time the backup was created, any titles that have been installed after you made the backup won't have their tickets, so they won't show in the home menu. Just add the tickets through FBI, but may need to do some searching for some.


boom. this all over

Was it even necessary to restore in the first place? did you update luma to 9.1? or are you one of those weird mates whosall like "I STILL run A9LH!"

I was never around for that era in 3DS hacking I came after. apparently B9S shatters it
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
ADDENDUM #3: The guide below can be entirely avoided after step 3.
  • A collection of fake tickets can be found at that ISO site.
  • You can also regenerate missing tickets with faketik.
ADDENDUM #4: Other than missing tickets, damaged database can be another cause for missing titles. You can use the gm9 script CTRTransfer (Type D9) - Rebuild 3DS Database as a partial substitution to this guide.
To learn more about this feature, see the section Relisting or rebuilding the 3DS database files.
severe_damaged_dbs.png
damaged_database-png.167762


***

@tj18, like what others said, your saves and game should be recoverable. You've lost your tickets, so the 3DS doesn't fully recognize them as yours.

The first thing we're going check for is if your 3DS acknowledges the existence of your games.
  1. With the SD card inserted, turn on the 3DS and hold the (Start) button to boot up GodMode9.
    • See if your SD card is accessible or readable. Look for the drive [0:] SDCARD ( ).
  2. Press (Start) to continue on to HOME Menu. Go to Systems Settings.
    • Pre-check: Verify that the bottom LCD screen says Sys 11.4.0-37U. This indicates you're using SysNAND.
    • If it's Emu or EmuNAND, you need to let us know so that slight adjustments can be made for this step-by-step guide.
  3. Go to Data Management > Nintendo 3DS > Software and see if all your games are marked with X's.
    • If they're there, good news. Your games and their saves should be recoverable.
    • If you don't see them, you have our condolences. There's something called the movable.sed within the 3DS CTRNAND that controls encrypting your Nintendo 3DS folder. This could have been changed from either Format System Memory or System Transfer. :(
      • If the 3DS does not recognize the titles here, there's still an off chance you might be able to recover your saves if you're certain neither Format System Memory nor System Transfer was performed in-between the time that SysNAND backup was made and when the crash occurred. There are several *.db files other than ticket.db that controls listing titles in System Setting. Continue onwards with this guide before ruling out the saves as unrecoverable.
    • 3_DS_Missing_Tickets.png

If you've made it this far, you got work cut out for you in recovering your setup. This next part is to reformat and check your SD card.

4. Copy everything off your SD card onto your computer. Make a second copy of your SD setup for insurance purposes.
  • We're going to need two sets. One set is for fallback safety in case anything happens to the other set, and the second set will be used for save files extraction in later steps.
5. Reformat your SD card as FAT32 + 32 KB cluster size. If it's bigger than 32 GB, use guiformat.

6. With the card empty, do a Full Write + Verify Test using H2testw. Do not skip this step.
  • This is needed to ensure your card isn't fake and that it is free of hardware defects.
  • If an error result occurs at any moment during the test, you may stop the test.
  • If the SD card was found to be physically faulty, it needs to be replaced. There's no way to fix it.
  • If your card was identified as fake with a continuous error, your game and save data is likely corrupt and unrecoverable.
If you made it still this far, you're in the safe zone. However, we're far from being done. Because of the restored SysNAND, you'll need to update both the custom firmware and official 3DS firmware.

7. Use the archive found in this cheat guide to build a quick SD card setup.
8. The latest CFW setup includes Luma3DS v9.1, GodMode9 v1.7.1, and boot9strap v1.3.
-or- (Condensed and combined guide of the above two)
9. After updating the CFW on both your SD card and CTRNAND, update your 3DS firmware to Sys 11.8.0-41U in System Settings > System Update.
  • There are no benefits staying on a lower version firmware. It is safe to play online with pirated games as long as you don't cheat.
  • Some newer games require certain firmware versions, or they won't work. To avoid the headache of additional troubleshooting, please update.
You probably feel that little progress has been made in the actual recovery of your games and saves. All the previous steps were required to get your eggs in order for this to go smoothly.

10. Using your computer, delete the current (blank) Nintendo 3DS folder on your SD card.
  • This folder normally contains your HOME Menu installed games and save data if there was anything.
Here's where we come to a fork stop. Unless you already have backups of your entire collection in *.3ds or *.cia files, you may need to resort to reacquiring your games at that iso site. In the old days, the tickets for official eShop titles could be restored with the homebrew app TIKdevil, and games / DLC / updates were easily obtainable using freeShop / CIAngel / Villain3DS. Those days are long gone after the CDN server block...

Despite these setbacks and your missing tickets, it is possible to back up your previously installed games and then reinstall them! Be forewarned that reinstalling a game will overwrite its save. This is
(partially) the reason why two copied sets of your SD card were made.

11. Copy the Nintendo 3DS folder from your backup set to the card. Copy only that folder and nothing else.
  • Your SD card must have adequate free space for the next step. You may need to remove and group into batches the title subfolders.
    • Nintendo 3DS/<ID0>/<ID1>/title/00040000/00####00 < individual title folder.
  • I recommend your free space should be slightly more than the total amount of used data. Doing this reduces backing up the games to roughly two sessions.
12. Back up all your games, DLCs, and updates as *.cia files with GodMode9. Once all games are processed, delete the old Nintendo 3DS folder off the card.
  • GodMode9 Usage - Dumping a Title
  • There's a way to yellow highlight select multiple titles by holding the (L)-shoulder button and pressing the D-pad.
  • Use the Build CIA (legit) only for games that were legitimately bought from Nintendo eShop.
13. In the Rosalina injected Homebrew Launcher (see step 7), use FBI to reinstall all your games, DLCs, and updates.
  • Your reinstalled games and titles must match the exact Title ID as your previously setup, or later steps in the save restoration won't work.
  • You might be wondering, "Why can't GodMode9 restore my tickets if it can rebuild my games into CIAs?". GodMode9 has the ability to spoof missing tickets when recreating titles into CIAs. However, only an CIA installer like FBI working in the actual 3DS operating system environment has the ability to handle the finer details of ticket track recording.
  • Read a better explanation sourced here.
  • Muchacho13 said:
    Is it possible to install cias with GodMode9 scripts? That would speed up alot of things.
    d0k3 said:
    You're not the first one to ask... So I guess I should explain a bit.

    Short answer: no.

    Explanation: Have you ever tried, on a dual boot system, to install software from one OS to another? Like, running a Windows installer from macOS to install something to bootcamp Windows? Same problem here, except 10 times worse.

    While on Windows every file system and format is well known and well documented, here we're missing several important pieces of info. GM9 does not run within the 3DS OS, it runs "baremetal", with nothing beneath it.
14. Launch each of your games at least one time. Allow the 3DS to formally recognize the (encrypted) blank save files.
  • Most games have a "Do not turn off the power or remove the SD card" message. This will indication when you can exit back to HOME Menu and move onto launching the next game.
  • You don't need to make dummy character profiles in any of the games.
15. In either Checkpoint or JKSM, verify that the save manager recognizes all reinstalled games.
  • Why are we browsing in a save manager at this stage? Secure Value. More about this later.
  • Games that are missing should be revisited. These might require making in-game character profiles.
  • If you have any GBA Virtual Console titles, they're not part of the typical native 3DS titles because their saves are encrypted differently.
    • Restoring GBA VC saves are done through a different method. More about this later.
We're now in the home stretch. You must be dying to know whether or not all this effort and trouble you went through is even going to pan out. Your heart is racing, and you're having immense tunnel vision. Unless you only have a few games, the following steps will save you the trouble of manually swapping the encrypted save files of interest.

16. Install the Windows program Duplicate Cleaner Pro. Either buy the software or resort to other means in obtaining it. It has to be the Pro version and not the basic Free version.
  • ADDENDUM #2: If you have two (2) copies of the Nintendo 3DS folder on the computer, it is possible to substitute Duplicate Cleaner Pro with Windows File Explorer for steps 16–18. Search on one set and delete all files with the extensions *.app, *.cmd, and *.tmd found in the Nintendo 3DS/<ID0>/<ID1>/title/00040000 directory. This will leave behind only the 00000001.sav files in their proper locations. Make two (2) set copies of the extracted *.sav. The spare set is in case you miss any titles in the later steps. In step 19, cut and paste only the .../00040000 to avoid adding updates (0004000e) and DLCs (0004008c).

17. Select these settings to search for the multiple 00000001.sav files within the Nintendo 3DS folder from the backed up set made in step 4.
  • Find Files With: Ignore Content
  • Additional Options: Same File Name
  • File Filter: ... Included: *.sav
  • Scan Location... Search Paths: [Drag and drop the Nintendo 3DS folder for automatic address retrieval]
18. Mark all the 00000001.sav files and choose the File removal... option. In the Move / Copy Files, select Keep folder structure at destination. Export your save files with Copy Files.
  • If done correctly, the *.sav files should be in their individual data subfolders.
Duplicat_Cleaner_Pro_Copying_Save_Files.png
19. Cut and paste the extracted title folder over to the Nintendo 3DS/<ID0>/<ID1>/title found on the SD card.
  • As you probably guessed, we're overwriting the blank *.sav files with your actual ones.
20. When you boot into HOME Menu, DO NOT LAUNCH YOUR GAMES JUST YET!!!

21. Go straight to your save manager and back up all your game saves. After backing up all of them, restore them all.
  • Remember that Secure Value that was mentioned back in step 15? There are games that have anti-cheat protection measures that prevents one from simply copying and pasting over their previous 00000001.sav file. Two well-known example titles that prevent simple save tampering are Super Smash Bros. 3DS and Animal Crossing - New Leaf (including Welcome Amiibo).
  • This backup and restore method is to eliminate the guess work of which games require resetting their Secure Value.
  • Also, this is your stepping stone in following good backup practice for your saves.
  • About restoring GBA VC saves: As long as the encrypted 00000001.sav is paired to the exact version of that GBA title (both injected *.gba rom and Title ID), there shouldn't be any problems with the saves not being restored. GBA VC, so to speak, shouldn't have Secure Value to worry about.
  • For information on how GBA VC saves are supposed to be backed up and restored, read this:
22. Check out the games and see if the saves returned. Success?​
There is still one last matter to take care of. You don't want a future repeat of this, do you?

23. Make a image backup of your new and updated SysNAND.
***

If any titles and saves were missed in the restoration process, continue to step 24 found
here.
 
Last edited by TurdPooCharger,

tj18

Member
OP
Newcomer
Joined
Sep 28, 2018
Messages
12
Trophies
0
Location
USA
XP
97
Country
United States
Thanks community! I had to travel yesterday, will read this through this weekend! Thank you so much - will update back soon. Also - Wawa subs for the win.
 
  • Like
Reactions: TurdPooCharger

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
19,893
Trophies
1
XP
20,806
Country
United States
@TurdPooCharger what is the difference bewteen sysNAND and emuNAND backups? is emuNAND backing up old news today?

Sysnand is the default nand the system use if there is no emulated nand created, emunand is basically a copy of the sysnand when you first have it setup, back in ReiNand days Emunand was recommended to be used. Emunand serves as a separate nand partition that people worry about ban. As for Emunand if you switch to a new SD card you need to inject the emunand into the new SD card. Now a day, emunand isn't really necessary for the 3DS.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
@TurdPooCharger what is the difference bewteen sysNAND and emuNAND backups? is emuNAND backing up old news today?

Sysnand is the default nand the system use if there is no emulated nand created, emunand is basically a copy of the sysnand when you first have it setup, back in ReiNand days Emunand was recommended to be used. Emunand serves as a separate nand partition that people worry about ban. As for Emunand if you switch to a new SD card you need to inject the emunand into the new SD card. Now a day, emunand isn't really necessary for the 3DS.
^ This! What @Hayato213 said. :)

In that post, we needed to know the NAND type @tj18 was using. If his setup was originally an EmuNAND but he boots into SysNAND, it's possible his 3DS might not recognize his titles in System Setting on top of the missing tickets because it's looking elsewhere in the Nintendo 3DS folder (ie, different ID0 and/or ID1 subfolders). This could have lead to misidentifying his games and saves as forever lost when they're not, which would be a really sucky thing to happen.
 
Last edited by TurdPooCharger,

tj18

Member
OP
Newcomer
Joined
Sep 28, 2018
Messages
12
Trophies
0
Location
USA
XP
97
Country
United States
At Step 13 and I realize I may have used Godmode9 to rewrite the FBI token? I did use the (L button) multi-grab to dump. I might need brief instruction to repair FBI on my home screen, bot sure what else I may have did to cause this. Current error when selecting FBI:
An error occurred (ErrDisp)
Error type: card removed
Press and button to reboot.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
At Step 13 and I realize I may have used Godmode9 to rewrite the FBI token? I did use the (L button) multi-grab to dump. I might need brief instruction to repair FBI on my home screen, bot sure what else I may have did to cause this. Current error when selecting FBI:
An error occurred (ErrDisp)
Error type: card removed
Press and button to reboot.
Did you gain access to Homebrew Launcher using Rosalina menu injection? That was glossed in step 7. I'll make corrections to the tutorial to be more specific.

Edit 1 - In order to repair HOME Menu FBI (the *.cia version), you'll use the Rosalina injected HBL's FBI (the *.3dsx version).
Edit 2 - More clarification: you can repair FBI by reinstalling it with FBI. Re-install *.cia FBI with *.3dsx FBI.
 
Last edited by TurdPooCharger,

tj18

Member
OP
Newcomer
Joined
Sep 28, 2018
Messages
12
Trophies
0
Location
USA
XP
97
Country
United States
I'm going back a few more steps to see what I did - All custom home screen icons are not showing the icon (wont launch). Also unable to gain access to Homebrew Launcher. Rosalina injection appears but unable to switch title to current app (Operation failed (no suitable process found.)) I think that's the trouble. I may restart with prepping the SD card..:hateit: hehe.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
I'm going back a few more steps to see what I did - All custom home screen icons are not showing the icon (wont launch). Also unable to gain access to Homebrew Launcher. Rosalina injection appears but unable to switch title to current app (Operation failed (no suitable process found.)) I think that's the trouble. I may restart with prepping the SD card..:hateit: hehe.

Did you watch this tutorial video?
 
  • Like
Reactions: tj18

tj18

Member
OP
Newcomer
Joined
Sep 28, 2018
Messages
12
Trophies
0
Location
USA
XP
97
Country
United States
Yes, have these two files.. Ok instead of using Download Play, I overwrote 3DS Sound. Working now..odd. Much thanks! Resuming right along...
 
  • Like
Reactions: TurdPooCharger

tj18

Member
OP
Newcomer
Joined
Sep 28, 2018
Messages
12
Trophies
0
Location
USA
XP
97
Country
United States
Thanks for keeping up with me this far - I've installed the CIAs, and moving on:

14. Launch each of your games at least one time. Allow the 3DS to formally recognize the (encrypted) blank save files.

There's a mix of games that will work (most launch), and some others that crash at launch. I've attached a screenshot of the different error types. Could this have something to do with pre-written data somewhere that I should have cleaned prior?
20181002_144739.jpg 20181002_173554.jpg
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,946
Country
United States
Thanks for keeping up with me this far - I've installed the CIAs, and moving on:

There's a mix of games that will work (most launch), and some others that crash at launch. I've attached a screenshot of the different error types. Could this have something to do with pre-written data somewhere that I should have cleaned prior?
View attachment 145519 View attachment 145520

Title ID of 00040000001a0400 refers to Super Mario Maker for Nintendo 3DS (USA). This game is known to require a seed for further decryption. Check your games that aren't working against this list of known 9.6.0+ titles:
The easiest way to fix this is to go to FBI > Titles > [Game] > Import Seed while connected online.

For more information about other methods of importing/decrypting with seed for those newer games, read these:
***

And, I gotta make more corrections to the guide (for future readers).
 
Last edited by TurdPooCharger,
  • Like
Reactions: tj18

tj18

Member
OP
Newcomer
Joined
Sep 28, 2018
Messages
12
Trophies
0
Location
USA
XP
97
Country
United States
@TurdPooCharger - Thank you for the awesome help, this resolved my issue! Games and saves restored!:D :yaynds:

I noticed a few games I missed which I'll put on later. Is there a way to tell which title\00040000 subfolder I'll need to manually move in the future to match that game?

EDIT: Got it, timestamps are a magical thing. Major thanks again!!
 
Last edited by tj18,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/@legolambs