93 Commits

Author SHA1 Message Date
d0k3
5799d99c4c Fix installing FIRMs 2019-10-04 18:26:08 +02:00
d0k3
760052f20d Fix #541 2019-10-03 17:04:35 -03:00
aspargas2
50770616d7 refactor bdri to operate on a file representing the diff ivfc lvl4
intended use here is now to mount the diff file as an image, then use bdri calls on partitionA.bin
2019-09-29 19:53:30 +02:00
aspargas2
7322e31f43 refactor disadiff to cater more nicely to a vdisadiff 2019-09-29 19:53:29 +02:00
aspargas2
0283692e83 add BDRI handling 2019-09-29 19:53:29 +02:00
aspargas2
0b3b5529f2 add DISA/DIFF writing
this has only been tested with DIFF, specifically title database type files, but there's no reason it shouldn't work on all DISA/DIFF files
2019-09-29 19:53:29 +02:00
Wolfvak
1a0fe17b6c better FIRM checks, fix unchecked NULL that triggered a data abort 2019-09-29 19:53:28 +02:00
Wolfvak
d6c6f56526 fix compilation warnings due to unaligned packed structures in newer gcc 2019-09-29 19:53:27 +02:00
d0k3
87d4152d4e Add handling for SD / TWLN & DLC CMD CMACs
Fixes #340
2019-06-10 16:30:40 +02:00
Wolfvak
8b098fa91a improvements over the last couple of RGB565 related commits 2019-06-03 02:28:26 +02:00
Wolfvak
256f2465d8 converted all bitmaps to RGB565 2019-06-03 02:28:26 +02:00
d0k3
9cc31b6f56 Fix several alignment assumptions 2019-06-03 02:28:24 +02:00
Wolfvak
2f64a8046a - compile with size optimizations, reduces inst cache pressure
- removed most of lodepng's optional features
- lodepng now uses the already existing CRC32 code instead of using its own copy
- fixed GIC interrupt priority
2019-06-03 02:28:24 +02:00
d0k3
500333b011 Some source code reorganisation 2019-06-03 02:27:43 +02:00
d0k3
151e6389ac Use iomemcpy for registers (thanks @profi200) 2019-04-17 00:45:48 +02:00
d0k3
21fdb9543a Added ability to convert DSiWare .nds to CIA
Fixes #465
2019-03-20 02:07:34 +01:00
d0k3
449a89277e ticket.db: fix out of bounds reads 2018-10-23 01:47:16 +02:00
d0k3
8f24ccec0c Full / proper verification for romFS in NCCH 2018-09-25 01:42:52 +02:00
Hyarion Sanyënóna
5c138e1219 Add scripting commands extrcode, cmprcode, cp -p
* extrcode already existed, but now has a progress bar and an entry in HelloScript.
* cmprcode recompresses a code binary into its original format. It takes 2-3 minutes.
* cp -p appends file 2 to the end of file 1 rather than overwriting it.
2018-09-19 00:47:28 +02:00
d0k3
29b05aee54 Less strict checks for AGBSAVE
This fixes weird issue #412
2018-09-11 00:00:24 +02:00
d0k3
619242ef96 Improved verification for TMD 2018-09-05 23:53:45 +02:00
d0k3
79a00b09f9 Use correct crypto for padding in ExeFS
Fixes #413
2018-08-29 00:07:38 +02:00
d0k3
3446a43127 Added CIA Checker Tool 2018-08-13 00:08:56 +02:00
d0k3
5e51805ea0 Allow handling of DLC CIAs with up to 1000 contents 2018-08-02 01:23:56 +02:00
d0k3
f74d9ddfd7 Include ARM9 footer when mounting .nds files 2018-06-27 01:33:17 +02:00
d0k3
87890ebc83 Compatibility for mounting fb3ds.firm
This allows handling of the superhaxed fb3ds firm.
2018-05-11 17:45:39 +02:00
d0k3
cea5fe49f9 Fix ARM9 crashes with injected H&S apps 2018-03-27 00:28:24 +02:00
d0k3
05af82a4ad Fix UTF-16 handling for titles (3DS/NDS) 2018-03-17 17:00:10 +01:00
d0k3
ac514669a1 Properly handle UTF-8 filenames 2018-03-16 03:00:26 +01:00
d0k3
4087a2a2d7 Stricter checking for ExeFS files
fixes #321
2018-03-07 01:22:15 +01:00
d0k3
a7d17ccd22 Increase CIA content count limit 2018-02-21 01:58:49 +01:00
d0k3
3d7ac49f87 Improved encdecTitlekeys.bin / seeddb.bin builder 2018-02-21 01:57:35 +01:00
d0k3
cabe185016 Added simple DISA / DIFF decoder 2018-02-20 22:54:16 +01:00
d0k3
03a9ca6a44 Separate ticket.c/.h and ticketdb.c/.h 2018-02-19 02:54:21 +01:00
d0k3
689f6f7cf4 Rewitten .code extraction to require less of the heap 2018-02-08 00:49:34 +01:00
d0k3
a0d2d27b06 Replace TEMP_BUFFER & MAIN_BUFFER with heap 2018-02-07 00:43:18 +01:00
d0k3
24c31f482d Validate tickets via RSA signature
-> only proper / signed tickets in T:/ drive
-> 100% safe way of telling a ticket is legit
2018-01-10 02:08:29 +01:00
d0k3
1a63575caa Rewritten support file handling
Support files are now also accepted from CTRNAND.
2017-12-11 02:47:29 +01:00
d0k3
87743357c3 FIRM installer: Allow Nintendo style entrypoints 2017-12-02 12:28:50 +01:00
d0k3
b5f2c64e77 NCCH crypto: Workaround for unrecognized seeds in internal SEEDDB 2017-11-20 17:01:43 +01:00
d0k3
20d2772056 DSiWare Export -> TAD 2017-11-17 19:37:46 +01:00
d0k3
fc97df6466 On-the-fly decryption for DSiWare Exports 2017-11-17 19:37:46 +01:00
Wolfvak
beeea37d07 Revised Makefile 2017-11-17 19:37:45 +01:00