Skip to content

Commit

Permalink
Remove seeddb.bin automatic download
Browse files Browse the repository at this point in the history
  • Loading branch information
vulcandth committed Mar 27, 2022
1 parent 892f083 commit 1f6908a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Requirements
* A recent [pokecrystal](https://github.com/pret/pokecrystal), [pokegold](https://github.com/pret/pokegold), [pokered](https://github.com/pret/pokered), or [pokeyellow](https://github.com/pret/pokeyellow) installation, that supports building Virtual Console patches.
* An original (encrypted or decrypted) `.cia` file.
* [ctrtool and makerom](https://github.com/profi200/Project_CTR) (Only master has been tested)
* Obtain `seeddb.bin`, here is a link: [seeddb.bin](https://github.com/ihaveamac/3DS-rom-tools/raw/master/seeddb/seeddb.bin)

Obtaining the original file is outside of the scope of this document. It can be legally obtained by extracting it from your console through tools such as GodMode9 and/or FunkyCIA.

Expand Down Expand Up @@ -37,8 +38,10 @@ Modify your `/poke-cia/cia-config.mk` file using a text editor of your choice, a
vc_name := $(vc_crystal_name)
```

Copy your original dumped .cia files to `vc/<build_name>.orig.cia`. Where `<build_name>` represents the names of the `.gbc` files that is output from your installed pret repository. In the case of Pokemon Crystal, it should be:
Copy your original dumped .cia files to `poke-cia/<build_name>.orig.cia`. Where `<build_name>` represents the names of the `.gbc` files that is output from your installed pret repository. In the case of Pokemon Crystal, it should be:

`poke-cia/pokecrystal11.orig.cia`

Finally place your obained `seeddb.bin` file inside your `poke-cia` directory.

Now you can run `make cia` and be on your merry way!
3 changes: 0 additions & 3 deletions cia.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ clean_cia:
distclean_cia: clean_cia
rm -rf $(vc_rom_dir) $(vc_dir)/seeddb.bin

$(vc_dir)/seeddb.bin:
wget -O $@ 'https://github.com/ihaveamac/3DS-rom-tools/raw/master/seeddb/seeddb.bin'

$(vc_rom_dir): $(vc_orig_cia) $(vc_dir)/seeddb.bin
mkdir -p $@
ctrtool --contents=$@/contents $@.orig.cia
Expand Down

0 comments on commit 1f6908a

Please sign in to comment.