Commit graph

193 commits

Author SHA1 Message Date
Michael Scire
1d64a83450 kernel .crt0 in .rodata reacts only (support for 17.0.0 pk21) 2023-10-10 18:46:30 -07:00
Michael Scire
8017a7a6b6 hactool: commit whatever I had in my working dir, 17.0.0 needs new pk2 parsing 2023-10-10 18:32:09 -07:00
substanc3
c2c907430e
nca: Fix NCA0 romfs saving/listing (#107)
The behavior in nca.c was broken (while the one in nca0_romfs.c is fine, making it possible to extract when standalone)
2021-07-10 15:03:05 -07:00
substanc3
a4f49bfeac
nca: fix parsing CNMT NCA0s (#106)
* nca: fix parsing NCA0 cmnts

* nca: make sure we don't try parsing small non-NCA0s

* nca: resolve feedback on NCA0 fix

Now checks read size, error message was returned to what it was before.
2021-04-26 20:31:28 -07:00
vgmoose
043f883b3f
ci: add macos build (#105) 2021-04-13 23:46:22 -07:00
averne
19a6b22a02
Add CI (#104) 2021-04-13 13:57:51 -07:00
Michael Scire
23ad591e6f fix kip bss end size calc 2021-01-17 23:20:26 -08:00
Michael Scire
4ca7afa601 nso/kip: fix miscalculation when printing rwdata/bss extents 2021-01-17 22:51:52 -08:00
Michael Scire
09e01d5dd7 npdm: fix display of address/size for mmio 2021-01-17 22:51:52 -08:00
Michael Scire
32c26a12ad extkeys: support backwards-compat hack for importing older keys in mariko-style 2021-01-17 22:51:52 -08:00
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