64 Commits

Author SHA1 Message Date
d0k3
32b6838d32 Fix TMD CDN CIA building 2020-08-02 15:40:26 +02:00
d0k3
8fcdde29c8 Misc code beautification 2020-08-02 15:40:26 +02:00
d0k3
77f1f94e13 Improved output for game install last step 2020-08-02 15:40:26 +02:00
d0k3
e568348086 Don't overwrite existing saves when installing
thanks @aspargas2
2020-08-02 15:40:26 +02:00
d0k3
e916476563 Take over @wolfvak's gameutil.c improvements 2020-08-02 15:40:26 +02:00
d0k3
d2c47b7977 Allow installation of game files
Should work for NCCH, NCSD, CIA, TMD from NUS/CDN and DSi eShop titles in NDS format
2020-08-02 15:40:26 +02:00
Wolfvak
30f0b004c2 fixed screen init, hopefully the last commmit
- properly performs gpu/backlight reset

- nukes vram so the initrd had to be moved to arm9 memory, and have its size (at least temporarily) limited to 256k
2020-07-18 20:25:34 -03:00
d0k3
eb265e9575 NCSD CIA builder: Use proper index 2020-07-09 22:53:56 +02:00
aspargas2
8ffe774f77 remove remaining uses of brute-force ticket.db parsing 2020-06-30 19:22:18 +02:00
d0k3
da1dff7cd7 Legit CIAs: Change personalized ticket warning 2020-05-18 23:24:32 +02:00
d0k3
a7ce125d7f Allow building "pirate legit" CIAs (TMD & encryption intact) 2020-05-11 18:02:26 +02:00
d0k3
2793daa55f Take over title version when building CIA from NCSD 2020-05-11 17:19:27 +02:00
d0k3
182f1ebe43 Fix garbage data in converted CIAs
Partial fix for #587
2020-05-11 17:19:27 +02:00
luigoalma
e763cbaf72 Changes to CIA building for DLC on legit cases
Ignore unowned content implied by ticket.
Standard building still should include everything due to fake ticket.
2020-03-28 07:05:42 -03:00
luigoalma
f7b7459d9f Little stack usage optimization
Just in one function's buffer but still
2020-03-28 07:05:42 -03:00
luigoalma
d27cfc71e1 Indentation fixes
Indentation fixes everywhere
(mostly anyway under arm9/source/)
And some other tab to spaces
2020-03-28 07:05:42 -03:00
luigoalma
4e04849860 Support for variable sized tickets
Except for cia building or loading cia just yet.
Added more checks on ticket content index, mainly due to having effects
in the ticket format itself, and are unknown still.
Ability to determine ticket size.
Verify signature with ticket's proper size.
Changes to use the new Ticket struct with the flexible array member.
2020-03-28 07:05:42 -03:00
luigoalma
4e38973384 Fix a memory leak
When running CIA checker tool
2020-03-28 07:05:42 -03:00
d0k3
98c1b25bb0 Allow fixing improperly decrypted NCSD/NCCH
... use "verify" for this. Also, there's a hint now when trying to CIA convert such files.
2020-01-02 21:08:45 +01:00
d0k3
da412226be Fix #562 2020-01-02 21:07:03 +01:00
Wolfvak
cf7fa9e401 Fix #549 2019-10-28 14:16:55 -03:00
d0k3
5799d99c4c Fix installing FIRMs 2019-10-04 18:26:08 +02:00
d0k3
1633961707 Allow game icons as preview for scripting 2019-10-03 17:04:35 -03:00
aspargas2
f8b9332728 implement vdisadiff 2019-09-29 19:53:30 +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
d0k3
ab110bf73d Improved legit CIA build warning 2019-06-10 16:54:19 +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
d0k3
c86ebe4baa CIA checker tool: properly detect custom TMD 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
d4ea225677 Offer fixing of BOSS files on failed verification
Fixes #442
2018-12-08 18:12:25 +01:00
d0k3
9f25b6cf25 Improved TMD checks 2018-10-29 00:04:23 +01:00
d0k3
e7de8b9ca3 CIA builder: Better handling for personalized legit tickets 2018-10-24 00:21:39 +02:00
d0k3
449a89277e ticket.db: fix out of bounds reads 2018-10-23 01:47:16 +02:00
d0k3
2b8d4fcc04 Don't remove TMD crypto flags on non-existing contents 2018-10-18 00:11:07 +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
619242ef96 Improved verification for TMD 2018-09-05 23:53:45 +02:00
d0k3
a05cc1ff56 Properly verify CFA NCCHs
Also fixes NCSD verification
2018-09-03 22:55:37 +02:00
d0k3
3446a43127 Added CIA Checker Tool 2018-08-13 00:08:56 +02:00
d0k3
9467bd6050 Fix verification and decrypt for incomplete DLC CIAs 2018-08-10 14:59:23 +02:00
d0k3
81ad8a2c1e Add trimmer tool for FIRM, NAND images, NCSD, NCCH, NDS
Fixes #392
2018-07-16 01:07:59 +02:00
Steveice10
f9ece57eb0 Fix dumping DLC to CIA. 2018-07-10 01:05:34 +02:00
d0k3
a4a7b8f1e0 Fix GCC v8.1 (new dkA) warnings
... this also fixes #371
2018-05-24 01:08:00 +02:00
d0k3
2e07189a1b Allow .code extraction for .3ds files 2018-04-17 00:50:17 +02:00
d0k3
ed6e7a2b91 H&S Injection: set savedata size to zero
Thanks @TurdPooCharger!
2018-04-13 17:12:17 +02:00
d0k3
cea5fe49f9 Fix ARM9 crashes with injected H&S apps 2018-03-27 00:28:24 +02:00
d0k3
3b5755fc28 seedDB building: detect empty seeddb 2018-03-19 01:11:48 +01:00
d0k3
3581ee97d8 Fix #325 2018-03-17 16:38:09 +01:00