jakcron
c57a691c2f
Properly detect SMDH magic.
2022-03-13 08:42:10 +08:00
jakcron
70f253152d
Misc formatting logging text.
2022-03-13 08:41:53 +08:00
jakcron
800f5776bc
Add source code for ctrtool
2022-03-12 16:00:33 +08:00
jakcron
ef3a1bc2e6
Remove old ctrtool source code.
2022-03-12 14:13:01 +08:00
Jack
85a0ba610e
Update windows ctrtool makefile.
2020-05-11 17:00:52 +08:00
3DSGuy
b3cb4aa1dc
Add version text to CTRTool.
2020-04-28 21:17:22 +08:00
Muh Muhten
8cbeb744d7
Fix UTF-16 to UTF-8 conversion on non-Windows
...
U+800 to U+FFFF encode as one UTF-16 code unit, but three byte in UTF-8.
Filenames containing more characters in this range than the ASCII range
would be cut off.
This range includes all BMP Japanese characters.
2020-04-08 03:14:40 -04:00
Steven Smith
7b0a7bfaab
Fix verifying incomplete DLC CIAs. ( #76 )
2018-10-17 14:08:29 +02:00
jakcron
b941838adb
[ctrtool] Fix ctrtool bug where content wouldn't extract.
2018-08-20 14:17:32 +08:00
profi200
f585df73a4
Fixed CFA handling which broke in commit 046bb359. Fixes #73 .
2018-07-28 22:17:33 +02:00
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
Jonir Rings
148811d8b2
makefile fix: make complains "Extraneous text after `else' directive" and cause incorrect platform judgement on osx
2018-05-16 01:04:33 +08:00
jakcron
acb110323e
[ctrtool] Fixes issue #60
2018-01-12 21:00:53 +08: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
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