Commit graph

256 commits

Author SHA1 Message Date
jakcron
b8b97066dd [nx] Fix behaviour in NACP processing, supported langs don't indicate what title strings are set. 2018-07-31 13:23:51 +08:00
jakcron
1a30f05256 [nx] Fixed bug where a string was imported with null bytes. 2018-07-31 13:09:03 +08:00
jakcron
706979c275 [nx] Fix typo. 2018-07-31 13:06:28 +08:00
jakcron
41a6e7e0ae [es] Update VS Project Files. 2018-07-31 12:55:15 +08:00
jakcron
25139e319d [crypto] Update VS Project files. 2018-07-31 12:44:25 +08: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
0aebf43f4b [nstool|es] Add cert validation. 2018-07-30 03:18:02 +08:00
jakcron
3a4259d2cc [es] Fixed a bug where string fields were not imported correctly. 2018-07-29 20:51:15 +09:00
jakcron
90d1b78f2b Update Project Files. 2018-07-11 22:38:10 +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
67a00763b0 [nx] Silence warnings. 2018-07-10 23:23:05 +08:00
jakcron
4cdb213f8d [crypto] Add base64 wrapper. 2018-07-10 22:58:19 +08:00
jakcron
b6a5c14e90 [nx|nstool] Fixed processing of Fac ContentOwnerId and SaveDataOwnerId sections. 2018-07-10 22:55:04 +08:00
jakcron
38eb0391b3 [es] Change handling of ticket property flags. 2018-07-04 14:00:45 +08:00
jakcron
16041c2d65 [es] Fix bugs where member variables were not applied when copied. 2018-07-04 13:35:35 +08:00
jakcron
ab029cd936 [es] Fix typo in TicketBody. 2018-07-04 13:01:12 +08:00
jakcron
5b9b85a7c4 [fnd] Initialise memory in Vec. 2018-07-04 13:00:49 +08:00
jakcron
7ce716180f [es] Add defintions to sign.h 2018-07-04 12:21:36 +08:00
jakcron
63b3a4fcfa [nx] silence warnings. 2018-07-01 13:43:01 +08:00
jakcron
5186ee2d77 [nx|fnd] Update VS2017 Project Files. 2018-06-29 15:37:32 +08:00
jakcron
1a6d2aa49c [fnd] Silence warnings. 2018-06-29 15:26:11 +08:00
jakcron
b9e86b21bc [nx] Rename macro _MAKE_STRUCT_MAGIC to _MAKE_STRUCT_MAGIC_U32 2018-06-29 15:10:10 +08:00
jakcron
22072399de [nx] Standardise const/enum ordering. 2018-06-29 15:09:05 +08:00
jakcron
38b93cb317 [nx] Fix bug in ContentMetaBinary 2018-06-29 14:59:48 +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
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
123f85c01f [nx] Fix bug in MemoryMappingHandler 2018-06-29 00:20:08 +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
b7175f7f5c [nx] Typos 2018-06-26 21:13:28 +08:00
jakcron
28f92b78c8 [nx|nstool] Renamed struct member "signature" to "st_magic". 2018-06-26 12:23:40 +08:00
jakcron
19bd03630d [nx] Updated FacHeader/FacBinary 2018-06-25 20:13:52 +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
4be0b51ddb [fnd] Removed unused functions. 2018-06-24 17:17:21 +08:00
jakcron
7a8d8e0fea [nx] Update to new code style/design. 2018-06-24 16:18:54 +08:00
jakcron
91c2d40111 [fnd] Begin to deprecate some macros. 2018-06-24 16:18:29 +08:00
jakcron
81a8aaf68a [nx-hb] Change order of methods to match style. 2018-06-24 13:21:52 +08:00
jakcron
4d6eb6f694 [es] Change order of methods to fit with style. 2018-06-24 13:20:56 +08:00
jakcron
cf71223163 [nx-hb] Misc. 2018-06-24 13:18:18 +08:00
jakcron
4af9d03542 [nx-hb] Reverted bad change. 2018-06-24 13:16:02 +08:00
jakcron
030c9070f5 [nx-hb] Typo. 2018-06-24 12:57:10 +08:00
jakcron
23bda04f35 [nx-hb] Update to libfnd redesign. 2018-06-24 12:52:06 +08:00
jakcron
313422bd57 [es] Updated to libfnd design changes. 2018-06-24 12:46:11 +08:00
jakcron
9b3a26806a [fnd] Added Vec, changed List. Remove MemoryBlob, replaced with Vec<byte_t>. 2018-06-24 12:45:45 +08:00
jakcron
43d243824c [crypto|es] Update VS2017 Project Files. 2018-06-23 16:08:47 +08:00
Jack
100fd479d4
Merge pull request #27 from jakcron/ticket-development
Improve ES Ticket support and add ES Cert support.
2018-06-23 12:56:52 +08:00
jakcron
40b1dad10e [es] Remove es::TicketBinary Add es::SignedData 2018-06-23 11:32:38 +08:00
jakcron
8f15dd693e [es] Remove unneeded comment. 2018-06-23 11:32:12 +08:00
jakcron
92cf66ecea [es] Change order of methods. 2018-06-23 11:31:59 +08:00
jakcron
d802197887 [es] Fixed inheritance mistakes. 2018-06-23 11:23:08 +08:00
jakcron
3089069c8b [es] Add es::CertificateBody 2018-06-22 21:57:55 +08:00
jakcron
c2b8223413 [es] Add a constant to sign.h 2018-06-22 21:30:50 +08:00
jakcron
20689e9cbd [crypto] Removed unneeded header. 2018-06-22 21:18:03 +08:00
jakcron
8314a948f7 [crypto] Add header for ECDSA-240 defines. 2018-06-22 21:16:36 +08:00
jakcron
adfbc55922 [es] Add es::SignatureBlock 2018-06-22 20:54:35 +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
jakcron
2de0fbb19f Add VS2017 Project Files. 2018-06-11 23:08:46 +08:00
jakcron
f312712ad0 [nx] Create ApplicationControlPropertyBinary and ApplicationControlPropertyUtils 2018-06-11 23:00:47 +08:00
jakcron
190097e621 [nx] Update nacp.h 2018-06-11 23:00:11 +08:00
jakcron
4b273cccaa [nx] Removed unneeded includes. 2018-06-11 15:43:04 +08:00
jakcron
0eb0ba5fa4 [nx] Add nacp.h 2018-06-11 15:40:37 +08:00
Jack
c50e93d181
Merge pull request #20 from jakcron/nro-development
Improved NRO Support.
2018-06-11 14:15:11 +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
Jack
833a6d4213
Merge pull request #19 from jakcron/xci-development
[nx] Clean up definitions in xci.h
2018-06-10 15:00:45 +08:00
jakcron
b7b267b1ee [nx] Clean up definitions in xci.h 2018-06-10 15:00:03 +08:00
jakcron
bc164c8231 [nx-hb] Add NX homebrew extension library. 2018-06-10 14:57:00 +08:00
jakcron
fd06314b8f [nx] Add _MAKE_STRUCT_SIGNATURE_U64
For le_uint64_t struct signatures.
2018-06-10 14:56:18 +08:00
jakcron
0a735d4bd0 [nx] Implement NroHeader::exportBinary() 2018-06-10 14:53:53 +08:00
jakcron
926e494fd7 [nx] Update nx::dynsym::SpecialSectionIndex 2018-06-09 23:31:29 +08:00
jakcron
d169f854cc [nx] Fixed bug in NsoHeader:copyFrom()
Ensure variables are cleared.
2018-06-09 23:30:53 +08:00
jakcron
a7b0d8fdd1 [nx] Add NroHeader. 2018-06-09 23:30:08 +08:00
jakcron
15ef72b4fe [libes]
Initial commit.
2018-06-06 20:38:42 +08:00
jakcron
aaffe12e8a [nx|nstool] Add nro.h and nrr.h. 2018-06-04 12:00:28 +08:00
jakcron
97cdaf36ac [fnd] Add open constructor to fnd::SimpleFile 2018-06-03 16:47:28 +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
d165243231 [nx] Add defines for NSO/NRO dynamic symbols. 2018-06-02 20:13:29 +08:00
jakcron
f7e49c50f3 Update VS project files. 2018-06-02 11:17:53 +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
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
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
ab1f092d75 [fnd] unstub Exception::error() 2018-05-22 14:37:38 +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
4d537956f0 [nx] Add proper padding to nx::sKeyDataArea (xci) 2018-05-15 21:26:40 +08:00
jakcron
7da6aee09d [nx|nstool] Update VS project files. 2018-05-15 18:13:10 +08:00