Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

3DS:Rebuild Title Database: Difference between revisions

From Hacks Guide Wiki
m (add small troubleshooting)
Line 15: Line 15:
# Navigate into <code>[M:] MEMORY VIRTUAL</code>  
# Navigate into <code>[M:] MEMORY VIRTUAL</code>  
# Press A on <code>boot9.bin</code> then select "Copy to 0:/gm9/out"
# Press A on <code>boot9.bin</code> then select "Copy to 0:/gm9/out"
#* If you don't have this file in GodMode9, you're likely not using boot9strap. In this case, you should [[3DS:Luma3DS to boot9strap|go back to boot9strap]] or consult the documentation of your bootloader to dump it instead
# Press A to continue
# Press A to continue
# Press B once to return to the main menu
# Press B once to return to the main menu

Revision as of 21:18, 4 January 2023

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

  1. Launch GodMode9 by holding START on boot
  2. Navigate into [M:] MEMORY VIRTUAL
  3. Press A on boot9.bin then select "Copy to 0:/gm9/out"
    • If you don't have this file in GodMode9, you're likely not using boot9strap. In this case, you should go back to boot9strap or consult the documentation of your bootloader to dump it instead
  4. Press A to continue
  5. Press B once to return to the main menu
  6. Navigate into [1:] SYSNAND CTRNAND -> private
  7. Press A on movable.sed, then select "Copy to 0:/gm9/out"
  8. Turn the 3DS off
  9. Insert the SD card into your computer
  10. Go to https://github.com/ihaveamac/rebuild-title-database
  11. Click the green Code button, then click "Download ZIP" to download it
  12. Extract the contents of the .zip into a folder
    • Lets call this folder "rebuild folder"
  13. Go to gm9 -> out on your SD card
  14. Copy movable.sed and boot9.bin to the rebuild folder
  15. Create a folder called 3ds in the user directory (C:/Users/[your username]/)
  16. Copy seeddb.bin to the 3ds folder in that directory
  17. Copy save3ds_fuse.exe from the save3ds .zip to the rebuild folder

Section II - Section II

  1. Navigate to the rebuild folder in file explorer
  2. Click the Address bar, then replace the address with cmd and press ENTER
    • This should open a command prompt window
  3. In the command prompt, enter the following command: py -3 -mpip install --user -r requirements.txt
  4. 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
  5. 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
  6. 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

  • 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