d0k3
145bf6de54
Improve ticket searching functions
...
This is applies to encTitlekeys.db / decTitlekeys.bin builders as well as to to legit CIA building
2020-10-28 00:01:36 +01:00
d0k3
ae32e63074
Handle seed crypto when installing game images
2020-10-28 00:01:36 +01:00
Gabriel Marcano
d010f2858b
Remove trailing white space
...
- Removed trailing whitespace from all source code files (.c, .h. and
.s) and the README.md
2020-08-26 23:01:58 +02:00
d0k3
f7c229b424
Properly handle TWL saves when installing
2020-08-20 19:43:52 +02:00
d0k3
253cb2849c
CIA building / installing: also take over SRL flags
2020-08-20 19:43:52 +02:00
d0k3
158fa78a5d
Properly take over extdata ID when installing
2020-08-20 19:43:52 +02:00
d0k3
62fd3e93c5
TitleDB entries: add NCCH version only if DLP exists
...
Thanks @ihaveamac & @TurdPooCharger
2020-08-20 19:43:52 +02:00
d0k3
50e3e1f19a
Properly remount last image after searching tickets
2020-08-20 19:43:51 +02:00
d0k3
8375434093
Properly handle TWL system data archives
2020-08-04 21:46:13 +02:00
d0k3
521fb25075
Fix titledb entry manual detection
2020-08-02 15:40:41 +02:00
d0k3
829880994f
Fix installer system CMD handling
2020-08-02 15:40:41 +02:00
aspargas2
e7fdf993a7
fix some tab/space indent mixing
...
shame on you, @d0k3 /s
2020-08-02 15:40:41 +02:00
aspargas2
89c5107733
Fix title info entry product code for TWL titles
2020-08-02 15:40:41 +02:00
aspargas2
9766a0be5e
fix handling of contents whose index and ID are unrelated
2020-08-02 15:40:41 +02:00
d0k3
d8aeb056cb
Fix CMD & NCSD handling
2020-08-02 15:40:41 +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
929cc7fdcf
better hints to reduce compiled size by a few kb
...
mostly just added static const to constant arrays/buffers
2020-07-23 13:46:42 -03: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
aspargas2
8ffe774f77
remove remaining uses of brute-force ticket.db parsing
2020-06-30 19:22:18 +02:00
aspargas2
127008a274
fix oversight in AddBDRIEntry
...
this would cause an uninitialized u64 to be used for the entry size in certain circumstances
2020-06-30 19:22:18 +02:00
aspargas2
2b94b585eb
improvements to bdri.c:
...
* fix a bug in ReadTicketFromDB that would fail to read tickets that were not a specific size
* fix the endianness of the title IDs outputted by ListBDRIEntryTitleIDs
* improve the speed of ReadBDRIEntry and GetBDRIEntrySize by taking advantage of the hash table
2020-06-30 19:22:18 +02:00
aspargas2
11c3a4a71b
remove inaccurate comment
...
the title size field in a title info entry is infact not in bytes
2020-06-30 19:22:18 +02:00
aspargas2
77b83bc89e
move structs that are only used locally from .h to .c in disadiff and bdri
2020-06-30 19:22:18 +02:00
luigoalma
978c4f8b86
Fake ticket building changes
2020-03-28 07:05:42 -03:00
luigoalma
ccc0ddf300
Adding ability to check ticket content rights
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
e0e72142bc
Add BDRI function for getting size
...
In part, partial copy of ReadBDRIEntry changed just for getting size.
2020-03-28 07:05:42 -03:00
Wolfvak
940284c8da
removed BEAT debug prints
2020-01-02 21:08:45 +01:00
Wolfvak
ce9f0a25ef
add BEAT interactivity, fix typos and other small bugs
2020-01-02 21:08:45 +01:00
Wolfvak
e4b98e0932
drop in replacement for old BEAT code, not yet interactive
2020-01-02 21:08:45 +01:00
Wolfvak
6fb60e007a
Fix #568
2020-01-02 21:08:44 +01:00
d0k3
da412226be
Fix #562
2020-01-02 21:07:03 +01:00
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