➡️➡️➡️ https://github.com/ihaveamac/rebuild-title-database ⬅️⬅️⬅️
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ian Burgwin 0f1cc8e54f continue if FileNotFoundError is raised on content open 2 months ago
.gitignore initial commit 8 months ago
LICENSE.md initial commit 8 months ago
README.md rebuild-title-database: only check the title directory inside id1 3 months ago
fix-titledb.py rebuild-title-database: only check the title directory inside id1 3 months ago
rebuild-title-database.py continue if FileNotFoundError is raised on content open 2 months ago
requirements.txt initial commit 8 months ago
title.db.gz initial commit 8 months ago

README.md

rebuild-title-database

Rebuilds the contents of title.db for Nintendo 3DS.

This currently does not interact with title.db directly, https://github.com/wwylele/save3ds must be used manually to extract and rebuild.

This had minimal testing, but it probably works in most cases. File an issue, send me an email, or contact me on Discord if there are problems.

Summary

  1. Get boot9 and movable.sed.
  2. Install the requirements: <py3-cmd> -m pip install --user -r requirements.txt
  3. Run the script with the SD card. Example:
    <py3-cmd> rebuild-title-database.py -b boot9.bin -m movable.sed -s F: -o out
  4. Import into title.db with save3ds_fuse and the -i flag.

<py3-cmd> is often python3 for *nix and Python from the Microsoft Store, and py -3 for Windows when installed from python.org.

fix-titledb.py

This copies a clean version of title.db and import.db from title.db.gz.

License

rebuild-title-database.py and fix-titledb.py are under the MIT license.