Commit graph

51 commits

Author SHA1 Message Date
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
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
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
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
slango20
98c9d8e42a Fixed possibility of missing null-terminator if the input filename exceeded 512 bytes in length. 2018-12-31 01:07:59 -05:00
Michael Scire
4d8d84dae2 Extkeys: Allow skipping key warning output. 2018-12-12 06:12:43 -08:00
Michael Scire
a4e8ab6322 Fix base NCA titlekey loading failure (closes #48) 2018-08-16 23:07:01 -07:00
Lioncash
ce7d5d85da main, npdm: Make parameters/members const where applicable
The data pointed to isn't modified and in the case of char*, resolves
-Wdiscarded-qualifiers warnings, as string literals are const char* and
are used with the relevant functions.
2018-08-11 23:42:40 -04:00
SciresM
84715a89f8
Merge pull request #35 from jakibaki/master
getopt_long returns an int, not a char.
2018-07-24 00:36:48 -07:00
Michael Scire
221d009277 Add additional warning, bump version to 1.2.0 2018-07-24 00:25:48 -07:00
Michael Scire
8dfd4a51e8 Add support for NSO parsing + decompression. 2018-07-24 00:14:48 -07:00
Michael Scire
9b13c5cd7c Add support for KIP1 decompression. 2018-07-23 23:18:48 -07:00
Michael Scire
773dfc3589 Improve bad behavior warning. 2018-07-23 22:20:31 -07:00
Michael Scire
0d0435f0b7 Discourage bad usage patterns with a warn. 2018-07-23 22:19:39 -07:00
Michael Scire
37e368b87b Add support for loading external titlekeys file (title.keys) 2018-07-23 22:16:26 -07:00
Michael Scire
2e87aa8a73 Fix XTS/NCA2 support. Add NCA0 support. 2018-07-20 03:03:35 -07:00
Jakob Dietrich
0b30b8ce10 getopt_long returns an int, not a char. 2018-07-07 10:44:33 +02:00
hexkyz
af428a1bde Implement XCI logo partition extraction.
Simplify fseek handling with large file support.
2018-05-31 20:54:17 +01:00
SciresM
9d9b781aa3
Merge pull request #21 from roblabla/feature-keygen
Allow deriving keys without providing BOOT0
2018-05-09 19:18:31 -07:00
roblabla
5d94193e34 Allow deriving keys without providing BOOT0 2018-05-10 00:51:04 +02:00
Michael Scire
d2d9146f68 Add JSON output for KIP1/INI, fix encrypted package2 input 2018-05-02 22:09:11 -06:00
Michael Scire
fa2730ef59 Implement npdm -> JSON autogeneration. 2018-05-02 18:35:19 -06:00
Michael Scire
9276b1c09b Cleanup pki.c, fix readme.md, fix usage statement. 2018-04-26 00:18:34 -06:00
Michael Scire
2159f4396f Add support for key derivation.
Passing in --sbk=, --tseckey= with -t keygen and an input BOOT0
BIS partition will now derive all keys derivable iwth the sources
in the loaded keyset, and print them to output.
2018-04-26 00:10:14 -06:00
Michael Scire
41e6695e6e Add support for NAX0 input files. 2018-04-03 16:26:56 -06:00
SciresM
8f7657ae19
Merge pull request #12 from roblabla/master
Support XDG_CONFIG_HOME
2018-02-12 12:33:16 -08:00
Michael Scire
5271b3ae00 Add more options for Update RomFS 2018-02-12 03:35:48 -08:00
roblabla
1fef4337e4 Support XDG config 2018-02-07 14:58:52 +01:00
Michael Scire
ea0cda97f7 Update README/Usage statement 2018-02-07 00:13:36 -08:00
Michael Scire
3e1fddd9de Finish Package2 support, add support for INI1, KIP1 (Closes #4) 2018-02-07 00:10:53 -08:00
Michael Scire
9ddd0d070e Add basic package2 parsing.
Still needs section saving, and parsing/extraction
of INI1.

This will require implementing both an INI1 and a KIP1
parser.
2018-02-06 22:06:19 -08:00
Michael Scire
0eb41a5f6b Add support for Package1 (#4) 2018-02-06 15:52:48 -08:00
Michael Scire
c88eb1102e Derive keys when loading externally, when necessary. 2018-02-06 07:57:51 -08:00
Michael Scire
76266b8e55 Add support for parsing plain NPDM (#4). 2018-02-06 00:40:37 -08:00
Michael Scire
c029db1363 Implement support for external keys (closes #6) 2018-02-06 00:04:27 -08:00
Michael Scire
64e6de3a5c Mention XCI support in usage. 2018-02-04 19:09:53 -08:00
Michael Scire
f92dba644b Fix XCI options typo 2018-02-04 00:29:44 -08:00
Michael Scire
2567d516d5 Initial XCI Support. (WIP, #4).
-Not all pertitent information is printed out.
-Extraction is pretty much supported, though.
-TODO: CERT stuff, decryption, title ID fetching...
2018-02-04 00:23:10 -08:00
Michael Scire
910918bbb1 Amend readme/usage to indicate hfs0 support. 2018-02-03 22:11:30 -08:00
Michael Scire
52f45fbd60 Implement -t hfs0, Re-work --outdir override. 2018-02-03 22:09:16 -08:00
Michael Scire
ac7b24a24e Implement -t romfs (and placeholder code for remaining types) (#4) 2018-02-03 21:18:53 -08:00
Michael Scire
d762f71f98 Implement header, decrypted NCA saving. 2018-02-03 11:28:08 -08:00
Michael Scire
6213403ffb Re-brand ourselves, bump version number to 0.9 2018-02-02 21:35:43 -08:00
Michael Scire
7568f3f39c Add support for PFS0 input files (#4) 2018-02-02 17:06:33 -08:00
Michael Scire
0c65ac1e70 Implement --basenca support (closes #1). 2018-01-27 03:24:01 -08:00
Michael Scire
fba6933668 First pass implementation for BKTR support (#1).
Currently, --baseromfs allows to specify a base romfs image.
The base romfs must be dumped using -r for this to work right.

TODO: I would like to add support for --basenca.
2018-01-26 21:31:55 -08:00