Commit Graph

262 Commits

Author SHA1 Message Date
jakcron e5b79babc8 [ctrtool] Catch failure to load ncch keyX properly. 2017-06-06 14:00:46 +08:00
jakcron cbfa5398a9 [ctrtool] Fix compiling on Visual Studio. 2017-06-06 12:58:49 +08:00
jakcron b53b2ce8fe [ctrtool] Fix typo. 2017-06-06 12:57:10 +08:00
jakcron 20f708450b [ctrtool] Fixed seed crypto. 2017-06-06 12:44:12 +08:00
Jack 4cba5c83df Merge pull request #56 from Myriachan/syscalls-11_x
Add system calls for 11.3 and 11.4
2017-06-05 11:40:00 +08:00
jakcron b8b92d8bfa [ctrtool] Rewrote NCCH crypto. "--exefs" is still broken. 2017-06-05 11:32:13 +08:00
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 de70592574 [makerom] Unbroke -target t 2017-05-28 20:53:13 +08:00
jakcron 5757ba20de [makerom] Fix encryption for production target. 2017-05-28 20:46:30 +08:00
jakcron d185b18f27 [ctrtool] fix bug with seeddb 2017-05-28 13:52:32 +08:00
jakcron b0896ecee2 [makerom] Typo 2017-05-28 11:57:14 +08:00
jakcron 7e4c0d7a60 [ctrtool] Replace specifying a specific seed, with a seeddb. 2017-05-28 11:39:14 +08:00
jakcron 6e858be07b [makerom] Relaxed support for bad signatures (-ignoresign). Warns user when something cannot be signed, instead of treating it like a fatal error. 2017-05-28 10:27:55 +08:00
jakcron 4f875b0d0b [makerom] Implemented support for secure crypto. Secure crypto is now default. Seeded keyY crypto not yet supported. Time for version 0.16!!! 2017-05-25 13:50:03 +08:00
jakcron 183d95bffa [ctrtool] fixed keygen add()/sub() functions 2017-05-25 12:56:51 +08:00
Jack 5c23014435 Merge pull request #50 from Reisyukaku/master
fixed subtle titlekey issue
2017-05-25 04:24:32 +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
profi200 5578ee4888 Merge pull request #48 from Thog/cygwin
Cygwin support
2017-05-20 22:27:07 +02:00
Thog a521cd7abd Cygwin support 2017-05-17 23:56:38 +02:00
profi200 7dcc166403 Merge pull request #47 from jpmac26/master
Fix the "-micro" arg breaking the generated file's version number
2017-02-18 02:49:48 +01:00
James Pelster "CaptainSwag101 dbe356686c Revert "Edited Makefile"
This reverts commit 90dca52c8d.
2017-02-09 11:43:42 -08:00
James Pelster "CaptainSwag101 2b3bc5f2a2 The '-micro' version arg no longer breaks the version number 2017-01-30 19:04:58 -08:00
James Pelster "CaptainSwag101 90dca52c8d Edited Makefile 2017-01-30 19:04:47 -08:00
profi200 70e0d1280f Fixed more warnings. 2017-01-19 00:47:58 +01:00
profi200 cf1a6fb41e Fix a few warnings (excluding polarssl ones). 2017-01-18 23:13:54 +01:00
profi200 dfabf8daa2 Added unique ID range check in makerom. Removed -flto flag since this can cause problems. 2017-01-07 22:01:23 +01: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
jakcron 7b384c6213 [makerom] Do not include logo as a ncch region if it is included in the ExeFS archive (toggled by cmd arg -exefslogo) 2016-10-06 14:12:22 +08:00
Jack d32f096e3e Merge pull request #40 from infinicore/master
Fix build with gcc on some platforms.
2016-07-21 12:50:36 +08: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 b85775479b [makerom] Warn user for not specifying any services, instead of erroring out. 2016-06-27 15:59:03 +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
Jack bbf49e7230 Merge pull request #27 from piratesephiroth/master
Fix CategoryFlags always being considered invalid
2016-06-14 12:42:35 +08:00
Jack a8570b7f7f Merge pull request #33 from drizzt/master
[makerom] Fix parsing of -content option
2016-06-14 11:36:25 +08:00
Jack 045d777c4a Merge pull request #36 from Steveice10/master
Add seed DB access permission.
2016-05-26 09:58:51 +08:00
Steven Smith d3be7adce1 Add seed DB access permission. 2016-05-25 18:54:47 -07:00
Timothy Redaelli 65e6974494 [makerom] Fix parsing of -content option 2016-04-13 19:03:15 +02:00
Jack Kron 02159e17ee Merge pull request #31 from yifanlu/master
Added support for disabling padding between segments for code
2016-03-25 09:22:05 +08:00
Yifan Lu cf2ba24d69 Added support for disabling padding between segments for code
Fixed potential bug where code size is calculated by taking the page size of combined segments rather than the combined padded segment size. This could be a problem, for example, if two segments add up to require two pages of padding.
Fixed potential bug where memory-size is used for codeDetails.rwSize; this counts .bss which is not in the file
2016-03-24 17:53:02 -05:00
jakcron 9dc611bbbf Fix CIA content hash validation fail. 2016-03-20 11:34:50 +08:00
jakcron 925d1297f3 Merge branch 'master' of https://github.com/profi200/Project_CTR.git 2016-02-18 19:51:36 +08:00