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
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