3DS:Rebuild Title Database

From Hacks Guide Wiki
Revision as of 21:47, 23 November 2022 by Gruetzig (talk | contribs) (why did I do this? Randal? Is this good? Im scared its not, using untested information, will go to sleep now, but have to save this, please fix everything like always /j)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

title.db is a file. For more info check out 3dbrew.

What you need

  • The latest release of save3ds or 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"
  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