Skip to content

Commit

Permalink
remove support for loading boot9/seeddb
Browse files Browse the repository at this point in the history
  • Loading branch information
ihaveamac committed May 28, 2018
1 parent 50123f9 commit 934f60f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ Windows, macOS, and Linux are supported.
## Setup
The ARM9 bootROM is required. You can dump it using boot9strap, which can be set up by [3DS Hacks Guide](https://3ds.hacks.guide). It is checked in order of:
* `BOOT9_PATH` environment variable (if set)
* `boot9.bin` (full) in current working directory (not detected by the gui)
* `boot9_prot.bin` (protected) in current working directory (not detected by the gui)
* `~/3ds/boot9.bin` (full)
* `~/3ds/boot9_prot.bin` (protected)
* `~/.3ds/boot9.bin` (full)
Expand All @@ -27,7 +25,6 @@ The ARM9 bootROM is required. You can dump it using boot9strap, which can be set
CCI, CDN, CIA, and NCCH mounting will need [SeedDB](https://github.com/ihaveamac/3DS-rom-tools/wiki/SeedDB-list) for mounting NCCH containers.
SeedDB is checked in order of:
* `SEEDDB_PATH` environment variable (if set)
* `seeddb.bin` in current working directory (not detected by the gui)
* `~/3ds/seeddb.bin`
* `~/.3ds/seeddb.bin`
* `%APPDATA%\3ds\seeddb.bin` (Windows-specific)
Expand Down
2 changes: 1 addition & 1 deletion fuse3ds/pyctr/crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class CorruptBootromError(CryptoError):
_otp_key: bytes = None
_otp_iv: bytes = None

b9_paths: 'List[str]' = ['boot9.bin', 'boot9_prot.bin']
b9_paths: 'List[str]' = []
for p in config_dirs:
b9_paths.append(pjoin(p, 'boot9.bin'))
b9_paths.append(pjoin(p, 'boot9_prot.bin'))
Expand Down
2 changes: 1 addition & 1 deletion fuse3ds/pyctr/types/ncch.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_seed(f: 'BinaryIO', program_id: int) -> bytes:
raise NCCHSeedError(f'missing seed for {program_id:016X} from seeddb.bin')


seeddb_paths = ['seeddb.bin'] + [pjoin(x, 'seeddb.bin') for x in config_dirs]
seeddb_paths = [pjoin(x, 'seeddb.bin') for x in config_dirs]
try:
seeddb_paths.insert(0, environ['SEEDDB_PATH'])
except KeyError:
Expand Down

0 comments on commit 934f60f

Please sign in to comment.