Commit graph

232 commits

Author SHA1 Message Date
jakcron 08612d487e [nstool] Cleaned up CnmtProcess string output. 2018-08-12 13:22:29 +08:00
jakcron 9b64387905 [nstool] Cleaned up AssetProcess string output. 2018-08-12 13:22:07 +08:00
jakcron a62a983399 [nstool] CnmtProcess refactor string resources. 2018-08-11 21:14:33 +08:00
Jack c51dfa8ef9
Update README.md 2018-08-07 19:19:15 +08:00
jakcron 2ec588e314 [nstool] Change to semantic versioning. 2018-08-07 18:24:17 +08:00
jakcron 6abb66e6d5 Fix VS Project file misconfiguration. 2018-08-07 17:38:31 +08:00
jakcron 99420f28bf Condense crypto and compress wrapper libraries into foundation. 2018-08-07 16:35:03 +08:00
jakcron ebbdbcd364 Fix project files and typos. 2018-08-07 16:13:18 +08:00
jakcron 8954dc405f Fixed links. 2018-08-07 15:17:51 +08:00
jakcron 3a4a5b9fb2 Update makefiles 2018-08-07 14:33:39 +08:00
jakcron 5b26c370da Updated top level makefile to include prog and lib level makefile logic. 2018-08-07 14:00:09 +08:00
jakcron 02d9a998c3 Update makefiles 2018-08-07 13:30:52 +08:00
jakcron 383933f977 Updated layout of project files. 2018-08-07 13:28:06 +08:00
jakcron 00081c6542 Update readmes. 2018-08-07 11:47:44 +08:00
jakcron bddcb244bb Update VS Project Files. 2018-08-06 20:23:01 +08:00
jakcron 09209feb7d [nstool] Add usage text about --cert 2018-08-06 20:20:06 +08:00
jakcron 9fb6731294 [nstool] Add ticket validation via provided cert chain file. 2018-08-06 19:36:42 +08:00
jakcron 1266ba3976 [nstool] NCA external content key can be sourced from a supplied ticket. 2018-08-06 18:39:24 +08:00
jakcron a757116502 [nstool] Add some punctuation to usage text. 2018-08-06 17:56:23 +08:00
jakcron a69f84a046 [nstool] Rename EsCertProcess to PkiCertProcess 2018-08-06 17:11:15 +08:00
jakcron 900415f49d Take out non-ticket code from libes into new libpki. 2018-08-06 16:59:56 +08:00
jakcron b911b5984b [nstool] Added PkiValidator::addCertificate() 2018-08-05 23:15:36 +08:00
jakcron e9b3c7296a [nstool] Remove unused variable. 2018-08-05 23:11:34 +08:00
jakcron 24fa6da666 [nstool] Encapsulate nnpki validation in PkiValidator. 2018-08-05 23:09:07 +08:00
jakcron 104fecde82 [nstool] Remove unneeded comments. 2018-08-04 10:05:47 +08:00
Jack 463f25eba5
Merge pull request #39 from jakcron/master
Add unicode support from master.
2018-07-31 14:53:31 +09:00
Jack d99e683dc0
Merge pull request #38 from jakcron/win32-unicode-argv
[nstool] Enables unicode support for commandline arguments for window…
2018-07-31 14:51:40 +09:00
jakcron 4836189338 [nstool] Enables unicode support for commandline arguments for windows platorm. Fixes #35. 2018-07-31 13:50:29 +08:00
Jack 2640cf56e8
Merge pull request #37 from jakcron/master
Bring in NACP updates from master branch.
2018-07-31 14:28:15 +09:00
jakcron 1da3d38946 Merge branch 'nstool-esfiletypes' of https://github.com/jakcron/NXTools into nstool-esfiletypes 2018-07-31 12:42:19 +08:00
jakcron 31b6ce0b58 [nstool] Remove unneeded white space. 2018-07-30 04:43:17 +08:00
jakcron c4b2d96bf1 [nstool] Rename variable. 2018-07-30 04:42:46 +08:00
jakcron a569ecc29d [nstool] Root issuer validation, via key provided in key file. 2018-07-30 04:21:19 +08:00
jakcron 0aebf43f4b [nstool|es] Add cert validation. 2018-07-30 03:18:02 +08:00
jakcron 6f5c7fd353 [nstool] Fixed method name typo. 2018-07-29 21:28:01 +09:00
jakcron b2dd703ce1 [nstool] Replaced printf with cout pipes. 2018-07-29 21:27:08 +09:00
jakcron 29ecd03471 [nstool] Replaced printf with cout pipes. 2018-07-29 21:01:11 +09:00
jakcron 90d1b78f2b Update Project Files. 2018-07-11 22:38:10 +08:00
jakcron 03141e3923 Update VS Project Files. 2018-07-11 22:29:08 +08:00
jakcron 1bfd0abb6a [nx|nstool] Fix typo. 2018-07-11 20:01:13 +08:00
Jack 2f9cba6d40
Merge pull request #34 from jakcron/master
Bring across changes to nstool-esfiletypes branch
2018-07-10 23:25:27 +08:00
jakcron 1a6269db51 [nxtool] Add get() methods to Nso & Nro Processes for access to .ro data 2018-07-10 23:13:19 +08:00
jakcron e7148c39ea [nxtool] Inital reading of ES tickets and certificates. 2018-07-10 23:01:34 +08:00
jakcron b6a5c14e90 [nx|nstool] Fixed processing of Fac ContentOwnerId and SaveDataOwnerId sections. 2018-07-10 22:55:04 +08:00
jakcron 44ba7673dc [nstool] Improved XCI output. 2018-07-01 19:18:38 +08:00
jakcron 3a1ef48b64 [nstool] Add support for detecting and specifying ticket and cert files. 2018-06-30 00:14:19 +08:00
jakcron 1e08495f5d [nx|nstool] Integrate NpdmHeader into NpdmBinary 2018-06-29 14:45:36 +08:00
jakcron 4d113b9a0b [nx|nstool] Refactored Kernel Capability handling. 2018-06-29 12:24:39 +08:00
jakcron 9f0408d85a [nstool] Delete empty lines. 2018-06-29 12:03:50 +08:00
jakcron 65b39483dc [ns|nxtool] Update SacBinary/SacEntry 2018-06-29 12:00:15 +08:00
jakcron efe0655f05 [nx|nstool] Replace FacHeader & FacBinary 2018-06-29 00:20:56 +08:00
jakcron b7207e8429 [nx|nstool] Replaced AciHeader,AciBinary,AcidBinary. 2018-06-27 13:03:46 +08:00
jakcron 726c272f04 [nx-hb|nstool] More typos. 2018-06-26 21:16:07 +08:00
jakcron 28f92b78c8 [nx|nstool] Renamed struct member "signature" to "st_magic". 2018-06-26 12:23:40 +08:00
jakcron c4c2610417 [nx|nstool] Updated FacBinary design. 2018-06-24 23:56:55 +08:00
jakcron 48ac29f3ce [nx|es|fnd|nstool] Commit working refactor. 2018-06-24 23:01:16 +08:00
jakcron cb565c9927 [nx|nstool] Update VS2017 Project Files. 2018-06-21 17:30:34 +08:00
jakcron c59f209b72 [nx|nstool] Refactor ELF Symbol Processing and NSO/NRO ro metadata processing. 2018-06-19 18:37:27 +08:00
Jack 80fb5a4db7
Merge pull request #25 from jakcron/userset-refactor
[nstool] Only display ACID data in OUTPUT_EXTENDED mode.
2018-06-18 23:36:15 +08:00
jakcron d89386ded9 [nstool] Only display ACID data in OUTPUT_EXTENDED mode. 2018-06-18 23:35:06 +08:00
Jack 7627c1a49b
Merge pull request #24 from jakcron/cnmt-development
[nstool] Fixed duplicated output in CnmtProcess
2018-06-18 23:32:00 +08:00
jakcron 2f5a4d9c23 [nstool] Refactor logic for managing output mode. 2018-06-18 23:30:19 +08:00
jakcron 17cc0d9c47 [nstool] More help text changes. 2018-06-18 20:18:25 +08:00
jakcron 4ba331913e [nstool] Fixed duplicated output in CnmtProcess 2018-06-18 20:17:20 +08:00
jakcron e7d7c1d31f [nstool] Update help text 2018-06-18 20:16:14 +08:00
jakcron 40b3b45dd6 [nstool] Add heuristics for detecting CNMT and NACP without -t. 2018-06-17 22:16:20 +08:00
jakcron b5605ee3e9 [nstool] Change order of XCI partition. 2018-06-17 21:08:24 +08:00
jakcron 2de0fbb19f Add VS2017 Project Files. 2018-06-11 23:08:46 +08:00
jakcron af1dec719b [nstool] Add NACP Support 2018-06-11 23:01:54 +08:00
jakcron 945477c223 Update VS2017 Project Files. 2018-06-11 13:31:43 +08:00
jakcron 8924222c55 [nx-hb|nstool]Added better HB Asset support. 2018-06-10 23:48:04 +08:00
jakcron 99e4eee3ea [nstool] Add nx-hb dependency 2018-06-10 14:58:34 +08:00
jakcron 4ef93db423 [nstool] Add NRO HB extention AssetHeader support. 2018-06-10 14:57:57 +08:00
jakcron f5997c01f4 [nstool] Add NRO Support.
And cleaned up NSO support.
2018-06-09 23:32:35 +08:00
jakcron 7a09be650f [nstool] Add SdkApiString 2018-06-09 23:31:52 +08:00
jakcron 82aa069ba1 [nstool] Add compress as a makefile dependency. 2018-06-09 14:54:22 +08:00
jakcron b42c551a20 [nstool] Fix XCI partition validation. 2018-06-06 21:27:46 +08:00
jakcron bd2e1dd927 Remove unused function/variable. 2018-06-04 13:38:51 +08:00
jakcron aaffe12e8a [nx|nstool] Add nro.h and nrr.h. 2018-06-04 12:00:28 +08:00
jakcron a1b1d4662e Update VS project files. 2018-06-03 16:48:26 +08:00
jakcron 08f7f36e68 [nstool] Refactored creation and sharing of fnd::IFile ptrs. 2018-06-03 16:48:12 +08:00
jakcron 782811da47 [nx|nstool] Changed struct magic from strings to words. 2018-06-03 15:41:56 +08:00
jakcron a8f39b721d [nx|nstool] Added support for xci logo partition. 2018-06-03 15:10:47 +08:00
jakcron 36d7d7a5bf [nstool] Add dynamic symbol processing to NsoProcess. 2018-06-02 20:16:19 +08:00
jakcron caeea8f119 [nstool] Add DynamicSymbolParser. 2018-06-02 20:15:13 +08:00
jakcron f7e49c50f3 Update VS project files. 2018-06-02 11:17:53 +08:00
jakcron 5a2f998cb9 [nstool] Update readme and help text to reflect present functionality. 2018-06-01 22:35:48 +08:00
jakcron 503318795a [nstool] NSO RO api list isn't part of the NSO header. 2018-06-01 22:18:28 +08:00
jakcron c027537af6 [nstool] Implement decompression and hash validation to NsoProcess. 2018-06-01 22:14:39 +08:00
jakcron 915bd80f6f [nx|nstool] Encapsulated NsoHeader parsing into nx::NsoHeader 2018-06-01 21:35:36 +08:00
jakcron 57f3b04b11 [nstool] Change grouping. 2018-05-30 12:41:06 +08:00
jakcron 7f27f344bd [nstool] Prototype reading NSO header. 2018-05-27 20:34:10 +08:00
jakcron 6960911ab0 [nstool] Improve Pfs/Romfs export time. 2018-05-27 18:17:34 +08:00
jakcron f4d3501f8c [nstool] Fix bug in AesCtrWrappedIFile. 2018-05-27 18:16:42 +08:00
jakcron 634b202b5a [nstool] Aligned file extraction block sizes
For optimisation, IFile wrappers and processes that all used a cache have similar or the same cache sizes.
2018-05-26 21:13:21 +08:00
jakcron 76ce22dc69 [nx|nstool] Silence format warnings. Cleanup string resource processing. 2018-05-26 12:07:42 +08:00
jakcron 8b37665be6 [nx|nstool] Changed Romfs FileNode and DirNode to not include an empty name[] variable. 2018-05-26 11:26:56 +08:00
jakcron 57d03b6076 [nstool] Fixed seek() typo in HashTreeWrappedIFile 2018-05-25 22:53:19 +08:00
jakcron 0b0d546605 [nstool] Change processing of NCA key area. 2018-05-23 15:19:54 +08:00
jakcron cd00be2221 [nstool] Add source to VS Project files. 2018-05-23 15:07:31 +08:00