Commit Graph

369 Commits

Author SHA1 Message Date
Jack 92a4b5f595 Update README.md for makerom v0.18.3 release. ctrtool-v1.1.1 2022-04-22 19:24:27 +08:00
Jack ac9c607875 Update makefiles to address impl func warnings on linux. (#123)
* [makerom] Update makefiles to address impl func warnings on linux.

* [makerom] bump version to v0.18.3
makerom-v0.18.3
2022-04-22 19:20:39 +08:00
Jack b0783b4f30 Update README.md 2022-04-17 13:38:18 +08:00
Jack e9a830f317 [MakeROM] Fix InitialData generation bugs (#121)
* [makerom] Correctly initialize prod initial_data_key_x

* [makerom] Properly select CCI CryptoType when not manually specified.

* [makerom] Bump version to v0.18.2
makerom-v0.18.2
2022-04-17 13:35:48 +08:00
Jack ea52a5dd00 Update README.md 2022-04-17 10:49:45 +08:00
Jack cc707c160f Modernize MakeROM build system + bug fixes (#120)
* Move files around to new directory structure

* Rework libyaml into a stand-alone dep for makerom.

* Rework libpolarssl to be standalone dependency for makerom.

* Update includes.

* Delete makefile

* Add new makefile for makerom.

* Update MakeROM github actions script.

* Fix again.

* Update MakeROM's makefile

* Tweak makerom build script

* Tweak MakeROM build script.

* Fix typo

* Update MakeROM makefiles.

* Tweak CTRTool build script.

* Tweak build script

* Tweak CTRTool build script.

* Tweak CTRTool build script

* Add libmbedtls to makerom deps

* Partially migrate makerom to libmbedtls

* Break out libblz as an external dependency for makerom.

* Tweak makerom build script.

* Move dependencies to the top level.

* Put everything back.

* misc

* Update makerom documentation.

* Link to ctrtool/makerom readmes from the root readme.

* Update root readme again.

* Migrate makerom to modern mbedtls

* Bump makerom version to 0.18.1

* Change signing errors to be warnings when they fail.

* Add error verbosity to errors when generating CIA files.

* Fix bug in RSA code.

* misc.

* Remove polarssl now migration to mbedtls complete.

* Surface more makerom errors.

* [makerom] Tolerate CCI signing errors as a warning.

* Add missing return.

* Import initial data key_x (prod/dev included)

* [makerom] Fix initial data generation.
makerom-v0.18.1
2022-04-17 10:49:05 +08:00
Jack 8a9f9bda55 Merge pull request #118 from 3DSGuy/ctrtool-silence-output
Add support for silencing CTRTool output
ctrtool-v1.1.0
2022-04-15 11:42:26 +08:00
jakcron e1a6f9101d Bump version to v1.1.0 2022-04-15 11:27:33 +08:00
jakcron be1394234a Tag error output as [ctrtool::ClassName ERROR], leaving warnings/progress indicators as [ctrtool::ClassName LOG] 2022-04-15 11:26:20 +08:00
Jakcron 247045ba8f Extraction progress logs are now only shown in verbose mode. 2022-04-15 00:21:35 +08:00
jakcron c0ce043b30 Emit errors/warns/logs in a consistent manner. 2022-04-12 20:05:02 +08:00
jakcron 60334cd7dd Don't silence verbosity with -q/--quiet 2022-04-12 19:43:24 +08:00
jakcron 6ce56539be Merge branch 'master' into ctrtool-silence-output 2022-04-12 11:48:13 +08:00
Jack 5840526951 Merge pull request #117 from 3DSGuy/ctrtool-cci-initialdata-fix
Fix bug where CCI CryptoType 1-2 weren't processed properly.
ctrtool-v1.0.4
2022-04-12 03:31:58 +08:00
jakcron 5c584f4d36 Bump version. 2022-04-11 18:01:44 +08:00
jakcron a1f86a6813 Add support for processing InitialData CryptoTypes 1-2 2022-04-11 18:01:05 +08:00
jakcron 7798ddda90 (ctrtool::ExeFsProcess) Emit errors/warns/logs in a consistent manner. 2022-03-31 16:15:49 +08:00
jakcron f79a5666a5 When verifying CIA cert/tik/tmd, preference certchain over keybag. 2022-03-31 16:01:36 +08:00
jakcron 4652a08d10 (ctrtool::CrrProcess) Emit errors/warns/logs in a consistent manner. 2022-03-31 14:59:55 +08:00
jakcron 6509b431d8 (ctrtool::CiaProcess) Emit errors/warns/logs in a consistent manner. 2022-03-30 20:09:25 +08:00
jakcron e7d872934a (ctrtool::CciProcess) Emit errors/warns/logs in a consistent manner. 2022-03-30 20:09:04 +08:00
Jakcron eddbb3fd95 Merge branch 'master' into ctrtool-silence-output 2022-03-30 15:03:53 +08:00
Jack 8876f0efd4 Merge pull request #115 from 3DSGuy/ctrtool-detect-compressed-code
Fix issue where compressed .code partition wasn't being decompressed.
ctrtool-v1.0.3
2022-03-30 14:36:43 +08:00
jakcron ea3b188de4 Bump patch version. 2022-03-30 14:27:12 +08:00
jakcron 97e956d782 [BugFix] Honour exheader code compressed flag. 2022-03-30 14:26:56 +08:00
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 ctrtool-v1.0.2 2022-03-29 17:02:34 +08:00
Jack 359cc83847 Merge pull request #112 from 3DSGuy/seeddb-not-import-fix
Fix issue where SeedDB would not import correctly.
2022-03-29 16:55:55 +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
Jack e3b8e32eba Merge pull request #109 from 3DSGuy/ctrtool-fix-commonkey-05-init
[CTRTool] fix initialising common-key 05
ctrtool-v1.0.1
2022-03-15 13:22:37 +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
Jack c861f0eb76 Update README.md 2022-03-14 18:19:37 +08:00
Jack 54e8e31f19 Merge pull request #106 from 3DSGuy/ctrtool-rewrite
Add re-write for CTRTool
ctrtool-v1.0.0
2022-03-14 17:36:18 +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