Commit graph

393 commits

Author SHA1 Message Date
jakcron 3437031128 [nstool] NCA processing more robust. 2018-05-22 19:03:42 +08:00
jakcron 60eda9e42e [nstool] Give reasons for why a NCA partition is unreadable. 2018-05-22 14:38:14 +08:00
jakcron ab1f092d75 [fnd] unstub Exception::error() 2018-05-22 14:37:38 +08:00
jakcron c7e79b1d55 [nstool] Fix titlekey decryption. 2018-05-22 13:47:07 +08:00
jakcron a2aefc2827 [nstool] Fix bug where titlekek_source was not read. 2018-05-22 13:01:58 +08:00
jakcron d4a5bacceb [nstool] Misc 2018-05-22 10:30:52 +08:00
jakcron 24437935e7 [nstool] Made a disctinction between NSP and PFS, for future use. 2018-05-22 10:30:31 +08:00
jakcron 9ee1033e31 [nstool] Remove unneeded empty lines. 2018-05-21 23:06:53 +08:00
jakcron cd322434c6 [nstool] Encorporate HashWrappedIFile to NcaProcess. 2018-05-21 23:04:35 +08:00
jakcron 18e4c175df [nstool] Add HashTreeWrappedIFile 2018-05-21 23:03:57 +08:00
jakcron c1f343d052 [nstool] Add flag to signal hash calc aligning. 2018-05-21 23:03:28 +08:00
jakcron bd991a25e1 [nstool] Integrate HashTreeMeta into NcaProcess 2018-05-21 21:08:37 +08:00
jakcron 1f3865c979 [nstool] Add HashTreeMeta. 2018-05-21 20:49:46 +08:00
jakcron e4b86ab566 [nstool] Formatting changes. 2018-05-21 20:49:28 +08:00
jakcron 1e75262f3f [nstool] Wrapped IFile classes now can optionally specify when constructed if they own their IFile pointer. By default they do not. 2018-05-21 20:48:59 +08:00
jakcron 446927b53e [libnx|nstool] Added HierarchicalSha256Header and HierarchicalIntegrityHeader 2018-05-20 21:57:38 +08:00
jakcron d93116863e [nx] Add implement importBinary for HierarchicalSha256Header and stubbed HierarchicalIntegrityHeader. 2018-05-20 09:19:41 +08:00
jakcron e64f309c31 [nx] Rename because of typo 2018-05-20 09:18:38 +08:00
jakcron aa1ed007eb Start moving towards a more generatlised hash tree system. 2018-05-19 11:57:40 +08:00
jakcron f2021d851a [nstool] Remove unused private method. 2018-05-18 17:43:51 +08:00
jakcron 1a5f045e0a [nstool] Show pfs and romfs file offsets from the base offsets. 2018-05-18 17:08:48 +08:00
jakcron c1fc536c66 Update readme 2018-05-18 16:47:55 +08:00
jakcron d3a6de737a Include License in VS project files. 2018-05-18 16:47:45 +08:00
jakcron 96927dca8f Merge branch 'refactor' of https://github.com/jakcron/NXTools into refactor 2018-05-18 16:41:17 +08:00
jakcron 7c123ca97b [nstool] Add descriptive names to NCA mount points. 2018-05-15 23:00:07 +08:00
jakcron 6069cbb1cb [nstool] Remove magic values. 2018-05-15 21:36:04 +08:00
jakcron 4d537956f0 [nx] Add proper padding to nx::sKeyDataArea (xci) 2018-05-15 21:26:40 +08:00
jakcron af35e0410d [nstool] Add type raw value to CnmtProcess 2018-05-15 18:23:56 +08:00
jakcron 7da6aee09d [nx|nstool] Update VS project files. 2018-05-15 18:13:10 +08:00
jakcron bd25c8c364 [nstool] Corrected formatting of title version strings. 2018-05-13 00:04:07 +08:00
jakcron 79c24153bb [nx|nstool] Added support for reading ContentMeta (.cnmt). 2018-05-12 23:02:53 +08:00
jakcron b36875661e [nstool] Start CmntProcess 2018-05-12 17:37:15 +08:00
jakcron a02ba43292 [nx] Add ContentMetaBinary 2018-05-12 17:36:50 +08:00
jakcron 480a6225cc [nx] Updated VS project files. 2018-05-12 11:53:42 +08:00
jakcron 3fe7582811 [nstool] Updated VS project files. 2018-05-12 11:51:38 +08:00
jakcron a4d52b3495 [crypto] Removed AesCtrStream 2018-05-12 11:51:13 +08:00
jakcron acc8494224 [nstool] remove unused files. 2018-05-12 00:28:27 +08:00
jakcron a6c30a8f0f [nstool] Add NCA sig[1] validation, better code structure. 2018-05-12 00:26:19 +08:00
jakcron 3d57420c70 [nstool] Fix typo importing --titlekey 2018-05-12 00:20:39 +08:00
jakcron 13f595f3f4 misc 2018-05-11 23:51:39 +08:00
jakcron 7237a15098 [nstool] Added PfsProcess struct check before using struct. 2018-05-11 23:47:31 +08:00
jakcron 8904b6e46c [fnd] Changed IFile so that a deleted IFile will trigger any layered destructors. 2018-05-11 21:47:23 +08:00
jakcron 8e360332e5 [nstool] Changed handling of shared IFile derrivatives. Always a pointer 2018-05-11 21:20:28 +08:00
jakcron 90bbbede60 [nstool] Misc rename. 2018-05-11 21:10:39 +08:00
jakcron d5da5afaae [fnd] Add pure virtual destructor to IFile to prevent pointers of it being deleted. 2018-05-11 21:10:04 +08:00
jakcron 1a34e5acd3 Fix typo in KEYS.md 2018-05-11 20:17:55 +08:00
Jack c7d78d0f1e
Merge pull request #10 from jakcron/nca-development
[nx|nstool] Nca development
2018-05-11 17:54:25 +08:00
jakcron 00e1571ec7 [nstool] Add NCA partition decryption/extraction. 2018-05-11 17:51:14 +08:00
jakcron 2fef609bbd [nx] Update structures. 2018-05-11 17:44:41 +08:00
jakcron 3291d06082 [nx] Add getNcaPartititionAesCtr() 2018-05-01 13:21:28 +08:00