Commit graph

183 commits

Author SHA1 Message Date
Furoryan
955a4ba45d
Update nca.c (#98)
When reading a very small amount of bytes, sector_ofs must be added to the next fseek, because the function nca_section_fseek doesn't use sector_ofs, it only affects a new value to it, and the line 200 "ctx->sector_ofs += count" would be useless otherwise (sector_ofs is reset to 0, instead of being incremented).
2020-11-30 18:32:10 -08:00
Dave Murphy
2b0c791f94
fix clean_full target (#97) 2020-07-03 11:17:24 -07:00
Michael Scire
f55d6f2506 pk21: improve detection heuristic 2020-06-07 17:32:57 -07:00
Michael Scire
3121a5bf08 pki: implement mariko key derivation 2020-06-01 17:14:12 -07:00
Michael Scire
53bacc1d03 kip: fix logic around dumping both json and uncompressed 2020-06-01 16:07:46 -07:00
Michael Scire
e27052e91b pk11: fix support for non-decrypted mariko pk11 2020-06-01 15:50:31 -07:00
Michael Scire
7dd8e8d16b pk11: add support for not decrypting 2020-06-01 15:31:32 -07:00
Michael Scire
ba4c4b6990 pk11: add support for decrypted pk11 2020-06-01 15:10:00 -07:00
Michael Scire
c3415cf25e pk11: add proper support for newer (and mariko) package1 2020-06-01 02:19:40 -07:00
shchmue
55b13f0d67
Fix regression causing segfault on remapped saves (#88)
* save: Find file by path, ignore fail on validate

* save: Revert faulty semantics, fix wrong hash size

* save: Add missing save type from help string

* save: Fix bug in remap storage init
2020-06-01 00:05:38 -07:00
Michael Scire
bea6345a48 xci: fix hash suffix for non-root partitions 2020-04-05 19:16:23 -07:00
Michael Scire
d4b9b1f726 hactool: bump version to 1.3.3 2020-04-05 19:05:45 -07:00
Michael Scire
a98e95b941 hactool: fix compatbility with chinese gamecards 2020-04-05 19:05:15 -07:00
Michael Scire
eeeee7c35c nca: fix header definition 2020-03-18 11:13:17 -07:00
Michael Scire
575845f5e7 add support for 9.x NCA fixed-key, use loop instead of recursion to parse romfs 2020-03-18 11:05:17 -07:00
Michael Scire
eef1139b82 add support for 9.x+ new ACID keys 2020-02-21 14:00:47 -08:00
SciresM
9689467087
Merge pull request #86 from simontime/patch-1
PRId8 -> PRIu8 for SDK Version printing
2020-02-21 13:54:19 -08:00
Simon Aarons
e915176461
PRId8 -> PRIu8 for SDK Version printing 2020-02-18 19:23:15 +11:00
SciresM
167528e2a0
Merge pull request #85 from WinterMute/cross-build-tweaks
Cross build tweaks
2020-01-25 15:12:57 -08:00
Dave Murphy
abe1976758 use make -C to enter mbedtls directory 2020-01-25 17:15:22 +00:00
Dave Murphy
485aa75e85 allow for executable extension 2020-01-25 17:13:01 +00:00
Dave Murphy
568f2cf7af correct link order 2020-01-25 17:12:35 +00:00
Michael Scire
3ce301aac9 Fix usage alignment, update version to 1.3.0 2020-01-15 10:32:58 -08:00
Michael Scire
46cc41c840 note allowed types for --xcontenttype 2020-01-15 10:30:39 -08:00
Michael Scire
8ba0c280c3 nca: add option to suppress decrypted keydata output 2020-01-15 09:52:22 -08:00
Michael Scire
2e648b7be6 more portable save warning fix 2020-01-15 09:04:25 -08:00
Michael Scire
864e7ee86b Add two new options to nca extraction 2020-01-15 03:01:22 -08:00
Michael Scire
e37d4d2da2 Fix trailing spaces 2020-01-15 02:07:22 -08:00
Michael Scire
55e625d67d fix npdm output, modern keygen 2020-01-15 02:06:03 -08:00
SciresM
5e2fde4f7b
Merge pull request #83 from jakcron/master
Implement XCI Encrypted Header parsing
2019-10-31 21:47:21 -07:00
Jack
d7df033e24 Remove TODO from xci.h 2019-11-01 12:35:11 +08:00
Jack
4dd4b3be18 Implement XCI encrypted header data parsing 2019-11-01 12:21:44 +08:00
Jack
1beb568207 Add support for importing xci_header_key 2019-11-01 12:21:12 +08:00
Jack
ddde730efb Add AES_MODE_CBC to aes_mode_t 2019-11-01 12:20:41 +08:00
hexkyz
21b84a3be3
Merge pull request #82 from SciresM/save_dev
Implement savefile reading, output, file listing, and verification
2019-10-18 19:20:10 +01:00
hexkyz
c195505144
Merge pull request #14 from roblabla/patch-1
aes_key_generation_source is in spl .rodata
2019-10-18 19:18:21 +01:00
hexkyz
3751898acb
Merge pull request #80 from 0Liam/master
add PublicData content type
2019-10-18 19:16:27 +01:00
shchmue
89ca0043ef save: Add README and CLI options 2019-10-18 11:22:22 -06:00
shchmue
a62152cb6e save: Full support for save reading 2019-10-18 11:19:46 -06:00
shchmue
884a0cf437 save: Add return values for read funcs 2019-10-18 11:17:58 -06:00
shchmue
a483a61f01 save: Finish all save reading features 2019-10-18 09:28:59 -06:00
shchmue
2fb48898ac save: Allocation table storage read 2019-10-16 14:52:38 -06:00
shchmue
94a7319985 save: Begin filesystem and allocation table init 2019-10-15 10:47:39 -06:00
shchmue
cfbb0086df save: Finish save IVFC init 2019-10-13 16:22:47 -06:00
shchmue
a2ccab0f7a save: Fix pointer use after free 2019-10-10 14:16:22 -06:00
shchmue
215cda0a91 save: Core IVFC init 2019-10-09 18:45:28 -06:00
shchmue
5727377751 save: First half of filesystem init 2019-10-08 09:24:16 -06:00
Liam
8ec867a87b
add PublicData content type
Fixes issue where some DLC NCA files show up as Unknown.
2019-07-16 16:01:53 +01:00
shchmue
ae795bba8b Add preliminary savefile parsing support 2019-06-04 15:41:18 -04:00
shchmue
b8062ab149 Add save MAC key derivation 2019-06-03 18:16:14 -04:00