Commit graph

790 commits

Author SHA1 Message Date
jakcron 1f24d0e3e1 [nx] Fixed typo in AciHeader 2018-04-29 11:22:43 +08:00
Jack 2b11b434b6
Merge pull request #8 from jakcron/npdm-development
[nx|nstool] Updated npdm->aci flag information. Also corrected some bugs
2018-04-28 00:15:16 +08:00
jakcron aee573f5ce [nx|nstool] Updated npdm->aci flag information. Also corrected some bugs 2018-04-28 00:13:35 +08:00
jakcron bf1273e5ba [nstool] Add inital NCA support. Reads header and decrypts key area. 2018-04-25 23:21:47 +08:00
jakcron 10655e828e [nstool] Removed duplicated definition of the platform path dividers. 2018-04-25 23:21:05 +08:00
jakcron c64e9e2f42 [nx] Added missing include. 2018-04-25 23:20:20 +08:00
jakcron 97ccc628ce [nx] Define sNcaHeaderBlock 2018-04-25 22:58:45 +08:00
Jack 8ad7edecda
Merge pull request #7 from jakcron/romfs-development
Romfs development
2018-04-25 22:28:16 +08:00
jakcron b6abf658de [nstool] Update VS files. 2018-04-25 22:23:35 +08:00
jakcron b3d5cd6976 [fnd] Fix typecast typo. 2018-04-25 22:22:19 +08:00
jakcron 322e4d2b48 [nstool] Added RomFs extraction support. 2018-04-25 20:27:47 +08:00
jakcron d017a95a3a [fnd|nstool] Replaced io::makePath() with io::appendToPath(). Enabled utf-8 support to io::makeDirectory. 2018-04-25 20:27:18 +08:00
jakcron 2bfe11bf16 [nstool] Add RomFs file previewing. 2018-04-25 19:37:22 +08:00
jakcron 3411118e26 [nstool] Add checks to ensure a reader object is provided to the Process classes. 2018-04-25 19:36:58 +08:00
jakcron 167a343937 [fnd] Fix/Enhance fnd::SimpleTextOutput::hxdStyleDump(). 2018-04-25 19:36:21 +08:00
jakcron 7e81d04fac [nx] Fix mistake in sRomfsDirEntry and add romfs::kInvalidAddr 2018-04-25 19:34:40 +08:00
jakcron b164299473 [nstool] Fix automatic ROMFS detection. 2018-04-25 16:35:45 +08:00
jakcron dd1297fbed [nx] Add romfs header constant. 2018-04-25 16:34:52 +08:00
jakcron 12e535317a [nx] Add other RomFs structures 2018-04-25 14:28:43 +08:00
jakcron 27347214f7 Add Visual Studio (2017) support. 2018-04-25 12:59:42 +08:00
jakcron e1e6346628 [nx] Fix typo. 2018-04-25 12:59:13 +08:00
jakcron 47a516e4e0 Fix wording/formatting in readme. 2018-04-24 18:18:01 +08:00
jakcron 562630498c Add link to license in readme 2018-04-24 18:11:47 +08:00
jakcron 016e6c04ee Fix links in readme. 2018-04-24 17:41:42 +08:00
jakcron f36ef0061d Change readme. Add information about keys. 2018-04-24 17:25:05 +08:00
jakcron b4d3fbe7f9 [nstool] Add alternative name to "key_area_key_*": "nca_body_keak_*". 2018-04-24 16:23:29 +08:00
jakcron 14bdc0a795 [nstool] Enabled derivation of nca_header_key from sources. Key generation was also refactored. 2018-04-24 15:53:43 +08:00
jakcron 14220dced8 [nstool] Change includes. 2018-04-24 15:51:29 +08:00
jakcron 8ef9f478b0 [programs] Remove xcitool, npdmtool, pfstool. Add nstool. 2018-04-24 13:24:20 +08:00
jakcron c42b498e19 [nx] Fix indent. 2018-04-21 17:41:49 +08:00
jakcron e9d24e4297 [nx] misc 2018-04-21 17:38:26 +08:00
jakcron 17c16cfa7a [nx] Add XciHeader 2018-04-21 17:37:30 +08:00
jakcron fac2753afd [nx] Move structs and consts from NpdmHeader to npdm.h 2018-04-21 17:36:09 +08:00
jakcron c02c5650c0 [nx] NcaHeader signature bytes validation change. 2018-04-21 17:27:29 +08:00
jakcron 02514cf72b [nx] Rename and move location of NCA embedded FS structs and consts. 2018-04-21 17:23:55 +08:00
jakcron b81c742e18 [nx] Extract structures and consts from AciHeader.h to aci.h 2018-04-21 17:20:37 +08:00
jakcron 69c558923d [nx] Fix ACID RSA verification. 2018-04-21 17:19:41 +08:00
jakcron 953a181180 [nx] Fix ACID RSA verification. 2018-04-21 17:19:12 +08:00
jakcron f542b54154 [crypto] Add operators to sAesIvCtr 2018-04-21 17:17:54 +08:00
jakcron cdd11d58c6 [nx] Removed unused file. 2018-04-15 14:01:41 +08:00
jakcron 949bc4ba27 [fnd] Added read/write methods to IFile that didn't require an offset. 2018-04-15 14:01:24 +08:00
jakcron 45954d837d Add makeDirectory() to fnd::io 2018-04-15 14:00:46 +08:00
jakcron 886d51f63c [nx] pfs::kAlignLen renamed to pfs::kHeaderAlign 2018-04-15 10:41:29 +08:00
jakcron ee04bcdc8d [nx] Add NcaUtils 2018-04-15 10:40:22 +08:00
jakcron 2573ad4b47 [nx] Add AesKegen class for generating Keks and Keys. 2018-04-15 10:40:03 +08:00
jakcron bfb9d87c95 [fnd] Add ResourceFileReader. This reads simple <key>=<value> files. 2018-04-15 10:38:58 +08:00
jakcron 88bcc8ce6d [fnd] Add fnd::io::getFileSize() 2018-04-15 10:36:43 +08:00
jakcron 8a8fe7b0e8 [fnd] Added IFile interface and SimpleFile implementation. 2018-04-15 10:36:23 +08:00
jakcron cca4a29fd6 [nx] Made kMaxSystemCall public. 2018-04-15 10:35:20 +08:00
jakcron 81e4f06048 [crypto] Add RSA-2048-PSS verification. 2018-04-15 10:33:00 +08:00