Revision as of 21:23, 4 January 2023 by Gruetzig (talk | contribs) (Theres a troubleshooting section, I can just use it :))
This guide will guide you in rebuilding the `title.db` file in your SD card.
`title.db` is a file on both the 3DS SD card and CTR-NAND which contain the entries of all installed 3DS titles in its respective place (eg. The SD card `title.db` would contain entries of all 3DS titles installed to the SD card). For more information check out 3dbrew.
What you need
- The latest release of save3ds for your operating system
- The latest release of Python 3
- a 3DS console with boot9strap
- seeddb.bin
Section I - Preparing the files
- Launch GodMode9 by holding START on boot
- Navigate into
[M:] MEMORY VIRTUAL
- Press A on
boot9.bin
then select "Copy to 0:/gm9/out" - Press A to continue
- Press B once to return to the main menu
- Navigate into
[1:] SYSNAND CTRNAND
->private
- Press A on
movable.sed
, then select "Copy to 0:/gm9/out" - Turn the 3DS off
- Insert the SD card into your computer
- Go to https://github.com/ihaveamac/rebuild-title-database
- Click the green Code button, then click "Download ZIP" to download it
- Extract the contents of the
.zip
into a folder- Lets call this folder "rebuild folder"
- Go to
gm9
->out
on your SD card - Copy
movable.sed
andboot9.bin
to the rebuild folder - Create a folder called
3ds
in the user directory (C:/Users/[your username]/) - Copy
seeddb.bin
to the3ds
folder in that directory - Copy
save3ds_fuse.exe
from the save3ds.zip
to the rebuild folder
Section II - Section II
- Navigate to the rebuild folder in file explorer
- Click the Address bar, then replace the address with
cmd
and press ENTER- This should open a command prompt window
- In the command prompt, enter the following command:
py -3 -mpip install --user -r requirements.txt
- Then enter the command:
py -3 rebuild-title-database.py -b boot9.bin -m movable.sed -s X: -o out
- replace X: with the drive letter of your SD card, which should be inserted into your Computer
- Next
save3ds_fuse --db sdtitle out --import --boot9 boot9.bin --movable movable.sed --sd X:
- replace X: with the drive letter of your SD card, which should be inserted into your Computer
- If you didn't get any errors, your apps should reappear, if not and they appear greyed out in System Settings -> Data Management -> Nintendo 3DS -> Software, run faketik
Troubleshooting
- boot9.bin is missing in
[M: ] MEMORY VIRTUAL
- You're not using boot9strap. You should switch to boot9strap or consult the documentation of your bootloader to dump it
- Make sure you have boot9.bin and movable.sed in the rebuild folder
- Make sure the SD card is inserted and you can view and edit its contents
- ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
- Make sure you are in the rebuild folder and that you extracted the contents of rebuild-title-database-master.zip in it
- When you fix this, delete the out folder and try the failing command again