Commit Graph

125 Commits

Author SHA1 Message Date
jakcron 56ef8b41d1 [ctrtool] Re-added "--seed" option, simplified/corrected common-key selection logic. 2017-06-05 11:31:18 +08:00
jakcron 3cca6a7a93 [ctrtool] Fix uninitialised variable warning. 2017-06-05 11:27:23 +08:00
Myria 4d5d9582a2 Warning fix. Uninitialized variable shouldn't have happened because it'd mean header was corrupt...? 2017-06-03 10:17:27 -07:00
Myria c629eb35f1 Added 11.3 and 11.4 system calls SetGpuProt and SetWifiEnabled. Also, switched from C99 to C11 to get _Static_assert. 2017-06-03 10:15:12 -07:00
jakcron 7c08e895d0 Remove unwanted files 2017-05-30 13:29:28 +08:00
jakcron d185b18f27 [ctrtool] fix bug with seeddb 2017-05-28 13:52:32 +08:00
jakcron 7e4c0d7a60 [ctrtool] Replace specifying a specific seed, with a seeddb. 2017-05-28 11:39:14 +08:00
jakcron 183d95bffa [ctrtool] fixed keygen add()/sub() functions 2017-05-25 12:56:51 +08:00
Reisyukaku fae366c127 fixed subtle titlekey issue 2017-05-24 00:35:38 -04:00
Jack 2267e6d4a2 Merge pull request #49 from SciresM/master
ctrtool: Add support for inline decryption
2017-05-24 10:48:19 +08:00
Michael Scire 876c197387 Update .vcproj with new files 2017-05-23 01:00:43 -07:00
Michael Scire 4c63561224 ctrtool: Add support for inline decryption 2017-05-23 00:53:04 -07:00
Thog a521cd7abd Cygwin support 2017-05-17 23:56:38 +02:00
profi200 dc81220cf6 Updated FIRM code in ctrtool according to 3dbrew/boot9. Removed -flto flag since this can cause problems. 2017-01-07 21:31:05 +01:00
infinicore 02ee3b99c1 Fix build with gcc on some platforms. 2016-07-20 14:12:56 +00:00
jakcron d24dda0bc0 Fixes issue #39 2016-07-09 16:38:05 +08:00
jakcron 01cd4cba7b [ctrtool] Improved efficiency of aes-ctr operations. 2016-06-14 20:35:05 +08:00
jakcron de5c4e1b2a License both ctrtool and makerom under MIT License. 2016-06-14 18:17:59 +08:00
Steven Smith d3be7adce1 Add seed DB access permission. 2016-05-25 18:54:47 -07:00
jakcron 9dc611bbbf Fix CIA content hash validation fail. 2016-03-20 11:34:50 +08:00
luigoalma b2206ea17b Fix newline on cia_print() 2016-02-17 19:15:08 +00:00
jakcron ed286878bd [ctrtool] removed silenced warning for hacky code. 2016-01-08 20:50:44 +08:00
jakcron 9b4415a7a0 [ctrtool] Fix compile errors
And comparisons which would have always returned false.
2016-01-08 20:45:14 +08:00
profi200 9de65b09ef Fix gcc compatibility. 2016-01-07 16:10:21 +01:00
Myria 11d4d2a5ed Supposedly, not having an fseeko64 is only a Visual Studio thing. Would fix mingw32, supposedly. 2015-12-26 18:13:59 -08:00
Myria 7e9893ec4d Added support for --showsyscalls, which shows the names of the system calls, rather than just their IDs. 2015-12-26 12:45:59 -08:00
Myria 57818a5677 keysize is unsigned. 2015-12-26 11:45:54 -08:00
Myria 35ab1ad3a0 Formatting fix for help text. 2015-12-26 11:40:09 -08:00
Myria a0ee2ae83c Disable lame "security" warnings from Visual Studio.
Changed C runtime library to static for release builds, so that no external .dll is required.
2015-12-26 11:39:36 -08:00
Myria fc8eb8ce8c Fix a bunch of Visual Studio compilation warnings, mostly related to truncating integers. 2015-12-26 11:38:48 -08:00
Myria a2f6616d21 Fix Windows compilation by mapping fseeko64 to _fseeki64. 2015-12-26 11:38:01 -08:00
jakcron acb8c37d36 [ctrtool] Misc 2015-11-26 19:59:02 +08:00
jakcron b17804b685 [ctrtool/makerom] Silenced warnings, fixed compiling on systems with libiconv installed. 2015-11-26 19:53:19 +08:00
jakcron 2f81642a69 [ctrtool] Misc. 2015-11-26 14:26:01 +08:00
jakcron 6ab7c2a0dc [ctrtool] Implemented --listromfs & --romfsdir to work directly with NCCH. Also implemented plainrgn extraction. 2015-11-26 14:21:46 +08:00
jakcron 9d29a4ba62 [makerom/ctrtool] Misc #include cleanup. 2015-11-25 11:54:05 +08:00
jakcron 40dabc5a46 [makerom/ctrool] Implemented ROMFS unicode support. (oschar.c) 2015-11-23 00:32:24 +08:00
jakcron 127d1161e5 [ctrtool] Fixed issue #7 2015-11-20 03:13:31 +08:00
jakcron 7116b5549f [ctrtool] Changed TMD title version representation. 2015-11-03 16:14:27 +08:00
jakcron d7d45411ba [makerom/ctrtool] Updated usage text. (now with build datestamp) 2015-10-22 01:35:53 +08:00
jakcron 4dba06b3be [ctrtool] Made makefile consistent with makerom. 2015-10-22 01:09:00 +08:00
jakcron 1e8a0a2391 [ctrtool] Corrected array size. 2015-10-22 01:08:13 +08:00
profi200 2444715bc2 Fixed static linking of ctrtool & added a few more gcc flags. 2015-10-20 16:26:57 +02:00
jakcron 0e6a981b72 [ctrtool] NCCH MakerCode is now displayed as a string. 2015-10-09 21:40:35 +08:00
jakcron 954c0cf126 [makerom/ctrtool] Made SystemMode(Ext) more meaningful. 2015-10-07 20:23:36 +08:00
jakcron 2d30a85832 ctrtool: fixed fprintf fail 2015-09-29 01:26:54 +08:00
jakcron 0fa36aa7dd ctrtool: n3ds core 2 access flag detection. 2015-09-29 00:08:46 +08:00
jakcron c1fb98960e ctrtool: added cpuspeed/enablel2cache to exheader output 2015-09-28 22:04:47 +08:00
jakcron f8993e198a ctrtool: Updated exheader validation and ncch spec/flag recognition 2015-09-14 21:52:04 +08:00
profi200 038aca268a Added detection for secure3 (New 3DS) crypto. 2014-12-24 04:17:56 +01:00