370 Commits

Author SHA1 Message Date
Steveice10 52dbe5e187 Only extract contents marked in the CIA content index. 2018-07-06 17:01:51 -07:00
Khangaroo 046bb359ee Always assume exheader is 1024 bytes long (#70)
* always assume exheader is 1024 bytes long

* oops
2018-06-04 01:02:50 +02:00
profi200 060cb1c8cd Merge pull request #68 from letsdecrypt/master
makefile fix: make complains "Extraneous text after `else' directive"
2018-05-15 23:33:48 +02:00
Jonir Rings 148811d8b2 makefile fix: make complains "Extraneous text after `else' directive" and cause incorrect platform judgement on osx makerom-v0.16 2018-05-16 01:04:33 +08:00
jakcron acb110323e [ctrtool] Fixes issue #60 2018-01-12 21:00:53 +08:00
profi200 bbd9a90d8a Merge pull request #63 from d0k3/patch-1
Always link compiler libs statically on Windows.
2017-10-29 19:48:20 +01:00
d0k3 61bf664fda Always link compiler libs statically on Windows. 2017-10-29 14:58:55 +01:00
jakcron b14842897c [ctrtool] Fixed decryption of exefs. 2017-07-12 16:34:07 +10:00
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