Commit Graph

122 Commits

Author SHA1 Message Date
Jakcron 0715b3d5b9 Add flag -q/--quiet to suppress non-errors. 2022-03-29 17:37:26 +08:00
Jakcron b1629a4aa6 Fix bug when processing NCCH files directly, -p/--plain flag was not honoured. 2022-03-29 17:34:45 +08:00
Jakcron cbc20b2a15 Honour opt.info when running CiaProcess 2022-03-29 17:26:12 +08:00
Jakcron d9f9d4ec48 Bump patch version 2022-03-29 17:02:34 +08:00
jakcron 5f58433bcf Fix issue where titleid was being read incorrectly when importing SeedDB. 2022-03-28 15:49:01 +08:00
jakcron 1684a3a7e0 Correct documentation about automatic alignment padding. 2022-03-27 09:09:10 +08:00
jakcron 400a68e1ba Fix link to BUILDING.md 2022-03-19 15:05:38 +08:00
jakcron 986a8cd859 Add readme and build instructions. 2022-03-19 15:04:07 +08:00
jakcron cc8a4d6ccb Bump version. 2022-03-14 21:44:24 +08:00
jakcron dd7c33e996 [ctrtool] Fix common-key 05 init. 2022-03-14 21:44:09 +08:00
jakcron 8108bea6de Use set.opt.info into *Process::setCliOutputMode() instead of hardcoding values. 2022-03-14 17:13:23 +08:00
jakcron f08c3a11a0 Remove "FS" view option from CciProcess as it was never going to be used. 2022-03-14 17:12:46 +08:00
jakcron d3343000f4 Misc whitespace removal 2022-03-14 17:12:23 +08:00
jakcron b73d95ef89 Change -x/--extract option handling to be as a deprecated option. 2022-03-14 17:11:25 +08:00
jakcron 4ded736c72 Add TikProcess and TmdProcess to VS project files. 2022-03-13 17:44:28 +08:00
jakcron fb824cab04 Comment debug text in umain() 2022-03-13 17:40:55 +08:00
jakcron 30c11c9ea6 Add support for processing tik/tmd files directly. 2022-03-13 17:24:17 +08:00
jakcron ea74ca4e93 Enable CiaProcess to fallback use certs to verify cert/tik/tmd. 2022-03-13 17:23:51 +08:00
jakcron 5f0186d19f Change behaviour of TitleMetaDataDeserialiser to read only the length of the actual data. 2022-03-13 17:23:19 +08:00
jakcron 51e3433bec Revise usage text/handler 2022-03-13 13:45:29 +08:00
jakcron 031d45cfde Fix more mistakes in makefiles 2022-03-13 10:19:09 +08:00
jakcron dbd8c95701 More makefile fixes 2022-03-13 10:11:09 +08:00
jakcron 90dd1abc63 Fix copy-pasta mistake in libnintendo-n3ds makefile 2022-03-13 10:05:33 +08:00
jakcron 8dd17ce5fe Fix copy/paste bug in ctrtool makefile 2022-03-13 09:21:37 +08:00
jakcron 85f0fea970 Update makefiles 2022-03-13 09:18:27 +08:00
jakcron c57a691c2f Properly detect SMDH magic. 2022-03-13 08:42:10 +08:00
jakcron 70f253152d Misc formatting logging text. 2022-03-13 08:41:53 +08:00
jakcron 800f5776bc Add source code for ctrtool 2022-03-12 16:00:33 +08:00
jakcron ef3a1bc2e6 Remove old ctrtool source code. 2022-03-12 14:13:01 +08:00
Jack 85a0ba610e Update windows ctrtool makefile. 2020-05-11 17:00:52 +08:00
3DSGuy b3cb4aa1dc Add version text to CTRTool. 2020-04-28 21:17:22 +08:00
Muh Muhten 8cbeb744d7 Fix UTF-16 to UTF-8 conversion on non-Windows
U+800 to U+FFFF encode as one UTF-16 code unit, but three byte in UTF-8.
Filenames containing more characters in this range than the ASCII range
would be cut off.

This range includes all BMP Japanese characters.
2020-04-08 03:14:40 -04:00
Steven Smith 7b0a7bfaab Fix verifying incomplete DLC CIAs. (#76) 2018-10-17 14:08:29 +02:00
jakcron b941838adb [ctrtool] Fix ctrtool bug where content wouldn't extract. 2018-08-20 14:17:32 +08:00
profi200 f585df73a4 Fixed CFA handling which broke in commit 046bb359. Fixes #73. 2018-07-28 22:17:33 +02:00
Steveice10 52dbe5e187 Only extract contents marked in the CIA content index. 2018-07-06 17:01:51 -07:00
Khangaroo 046bb359ee Always assume exheader is 1024 bytes long (#70)
* always assume exheader is 1024 bytes long

* oops
2018-06-04 01:02:50 +02:00
Jonir Rings 148811d8b2 makefile fix: make complains "Extraneous text after `else' directive" and cause incorrect platform judgement on osx 2018-05-16 01:04:33 +08:00
jakcron acb110323e [ctrtool] Fixes issue #60 2018-01-12 21:00:53 +08:00
d0k3 61bf664fda Always link compiler libs statically on Windows. 2017-10-29 14:58:55 +01:00
jakcron b14842897c [ctrtool] Fixed decryption of exefs. 2017-07-12 16:34:07 +10:00
jakcron e5b79babc8 [ctrtool] Catch failure to load ncch keyX properly. 2017-06-06 14:00:46 +08:00
jakcron cbfa5398a9 [ctrtool] Fix compiling on Visual Studio. 2017-06-06 12:58:49 +08:00
jakcron b53b2ce8fe [ctrtool] Fix typo. 2017-06-06 12:57:10 +08:00
jakcron 20f708450b [ctrtool] Fixed seed crypto. 2017-06-06 12:44:12 +08:00
Jack 4cba5c83df Merge pull request #56 from Myriachan/syscalls-11_x
Add system calls for 11.3 and 11.4
2017-06-05 11:40:00 +08:00
jakcron b8b92d8bfa [ctrtool] Rewrote NCCH crypto. "--exefs" is still broken. 2017-06-05 11:32:13 +08:00
jakcron 56ef8b41d1 [ctrtool] Re-added "--seed" option, simplified/corrected common-key selection logic. 2017-06-05 11:31:18 +08:00
jakcron 3cca6a7a93 [ctrtool] Fix uninitialised variable warning. 2017-06-05 11:27:23 +08:00
Myria 4d5d9582a2 Warning fix. Uninitialized variable shouldn't have happened because it'd mean header was corrupt...? 2017-06-03 10:17:27 -07:00