Commit Graph

39 Commits

Author SHA1 Message Date
Ian Burgwin
0dcaaedda7 custominstall: separate reader creation to get_reader, check against more errors 2021-02-08 23:43:40 -08:00
Ian Burgwin
f904049c06 custominstall: stop if cifinish.bin is corrupt 2021-02-08 23:43:13 -08:00
Ian Burgwin
1b2b0d06db custominstall: block DSiWare from installing 2021-02-08 21:23:57 -08:00
Ian Burgwin
4733997132 custominstall: add CI_VERSION constant, print version at start 2021-02-08 21:22:06 -08:00
Ian Burgwin
2636c5923c custominstall: remove "Manually" from ArgumentParser description 2021-02-08 20:41:45 -08:00
Ian Burgwin
616f9031b2 custominstall: check for free space before installing, move title size calculation to separate function 2021-02-08 14:39:50 -08:00
Ian Burgwin
e0573809bb custominstall: always use randomized temp install dir 2020-12-02 22:42:05 -08:00
Ian Burgwin
46ce6ab76c custominstall: verify content hashes 2020-12-02 22:29:53 -08:00
Ian Burgwin
793d923240 custominstall: keep track of successful and failed installs 2020-12-02 22:13:01 -08:00
Ian Burgwin
918111dedf custominstall: remove debug line 2020-12-02 21:50:19 -08:00
Ian Burgwin
47f22313b4 custominstall: import into title.db after every title install 2020-12-02 21:49:38 -08:00
Ian Burgwin
5d60715d94 custominstall: write to temporary directory first, then move into place 2020-12-02 21:12:06 -08:00
Ian Burgwin
aad1accca3 custominstall: extract title.db before installing (untested)
This should help prevent installing a bunch of titles, only to find title.db doesn't exist.
2020-12-02 20:26:53 -08:00
Ian Burgwin
945b0a377b custominstall: don't fail if cifinish.bin is corrupted 2020-12-02 20:17:50 -08:00
Ian Burgwin
794eb8750f custominstall: fix incorrect return value causing TypeError in ci-gui 2020-10-14 17:37:05 -07:00
Ian Burgwin
b34bba2543 ci-gui: print command line args if save3ds_fuse fails 2020-09-03 19:45:11 -07:00
Ian Burgwin
40cfd955cc custominstall: set platform to win32 if it's msys (close #2) 2020-07-28 09:32:18 -07:00
Ian Burgwin
1e3e15c969 custominstall: support CDN contents (close #27) 2020-07-28 06:21:22 -07:00
Ian Burgwin
48f92579ce custominstall: use bytes(cia.tmd) instead of reading tmd file directly 2020-07-28 06:15:27 -07:00
Ian Burgwin
399bb97238 custominstall: read all CIAs before installing
Prevents the issue of one having a corrupt header or something causing an issue in the middle of writing.
2020-07-28 02:33:08 -07:00
Ian Burgwin
a26579ec69 custominstall: fix NameError (wrong variable name) 2020-07-22 22:03:55 -07:00
Ian Burgwin
19045d8b87 custominstall: copy finalize 3dsx if found next to script/exe 2020-07-22 21:44:26 -07:00
Ian Burgwin
9fc04a490e custominstall: don't overwrite existing save by default (close #26) 2020-07-22 16:04:59 -07:00
Ian Burgwin
7707a67048 custominstall: hide console window for save3ds_fuse 2020-07-20 01:46:38 -07:00
Ian Burgwin
88520570af custominstall: fix save3ds_fuse lookup 2020-07-19 22:58:52 -07:00
Ian Burgwin
53fd45790f custominstall: look for bin/save3ds_fuse next to executable if sys.frozen exists (from cx_Freeze) 2020-07-19 22:38:39 -07:00
Ian Burgwin
56747d36eb custominstall: exit early if save3ds_fuse can't be found 2020-07-19 22:29:33 -07:00
Ian Burgwin
187e27fc95 custominstall: support new events, check if save3ds_fuse runs successfully, fix seed loading, don't continue if cia fails to load (temp maybe) 2020-07-19 20:30:34 -07:00
Ian Burgwin
c344ce3e7b allow changing cifinish output path 2020-07-12 21:07:51 -07:00
Ian Burgwin
13f706a0dc update to pyctr 0.4.1, catch exceptions when creating CIAReader 2020-07-12 21:07:26 -07:00
Ian Burgwin
cb52b38ea7 custominstall: only makedirs if --skip-contents is not used, add exist_ok=True for DLC directories 2020-06-24 19:44:19 -07:00
Ian Burgwin
b3365c47bd custominstall: don't extract or rebuild title.db if no titles were installed 2020-05-25 19:26:02 -07:00
Ian Burgwin
17404231d3 custominstall: support --seeddb argument (close #6), test id0 folders as a hexstring 2020-04-02 10:41:57 -07:00
Ian Burgwin
393fd03da1 update copyright notice 2020-04-02 10:39:48 -07:00
Ian Burgwin
9955699045 custominstall: update cifinish.bin in-place 2020-01-24 05:43:25 -08:00
Ian Burgwin
39fb56ac79 custominstall: separate cifinish version to constant variable, fix finalize_entry_data data layout, bump cifinish version to 3, make --sd a required option, support changing the end character in logs
Changes not tested with gui yet.
2020-01-24 04:21:32 -08:00
Ian Burgwin
48e1636588 custominstall: style updates 2020-01-24 01:59:29 -08:00
Ian Burgwin
aa1c9219c6 custominstall: remove titlekey from cifinish.bin, make --boot9 optional 2019-11-12 00:34:33 -08:00
nek0bit
0fb0d65c68 Module rewrite, rewritten terminal tool 2019-11-05 22:27:45 -05:00