Commit graph

369 commits

Author SHA1 Message Date
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 3363d9152a [fnd] Fix SimpleTextOutput::hxdStyleOutput() 2018-06-01 20:22:09 +08:00
jakcron 556434b0d5 [libcompress] Add libcompress with LZ4 implemented. 2018-06-01 20:18: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 a8863ca9c3 [nx] Fix nso.h typos 2018-05-27 20:33:39 +08:00
jakcron aad9f75239 [nx] Add stubbed NsoHeader 2018-05-27 20:33:21 +08:00
jakcron a930e0e04c [nx] Add nx/nso.h 2018-05-27 19:25:28 +08:00
Jack 578e3ac54d
Merge pull request #12 from jakcron/refactor
Refactor
2018-05-27 18:57:36 +08:00
jakcron 68f19c8fd3 Update readme. 2018-05-27 18:56:47 +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 93509fac5a [fnd] Implement Windows 64bit size_t support in SimpleFile. 2018-05-25 22:54:30 +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
jakcron 7428640df9 [nstool] Whitespace. 2018-05-22 19:55:56 +08:00
jakcron 33313f208d [nstool] Where not guarenteed to control file position, IFile wrappers assert their position. 2018-05-22 19:45:40 +08:00
jakcron e1ccf81e54 [nstool] Fixed a bug in OffsetAdjustedIFile that failed to track file position. 2018-05-22 19:38:05 +08:00
jakcron 7c024c290b [nstool] Removed relative offsets in Pfs/Romfs Process because it isn't guarenteed to be reliable. 2018-05-22 19:36:39 +08:00
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