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
aspargas2
fd93df60c5
deinit filesystems before booting a firm payload
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
d0k3
da28c0ef40
Fix #585
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
Wolfvak
9f50d2f03c
Fix #573
2020-01-02 21:08:44 +01:00
d0k3
42f7fcfb7b
Improved scroll speeds for wordwrapped texts
2020-01-02 21:08:44 +01:00
d0k3
479fed35ef
Further improvements to GBA VC save injection
...
... taking over @TurdPooChargers proposal.
2020-01-02 21:07:21 +01:00
d0k3
23a7ea7fd3
Beautified the GBA VC SD save handling code
2020-01-02 21:07:03 +01:00
d0k3
da412226be
Fix #562
2020-01-02 21:07:03 +01:00
d0k3
cfae228bcf
Disarm anti savegame restore on CTRtransfer
2019-10-28 22:31:21 +01:00
TurdPooCharger
a145e8d4a9
Add handling for SD GBA VC .sav CMAC.
...
When identifying a selected `00000001.sav`, cmac type testing is first attempted for 3DS saves with the **DISA** format. If a 3DS save data is not detected, the search continues at expected offsets for gba vc bottom slots in increasingly larger save sizes. For the GBA VC saves, this only calculates and corrects whichever of the two slots is newer or has the higher counter. There are five additional **CMAC_AGBSAVE_** types to differentiate the different gba save sizes. If a bottom slot was found but determined to be older based on comparing the counter values, the search defaults to **CMAC_AGBSAVE_SD**.
For the save counters, there are two scenarios where the value `00` is considered bigger than `FF` depending which slot has what value. If clarification is required, I will post a diagram at [issue #494 ](https://github.com/d0k3/GodMode9/issues/494 ) explaining what is meant by `00` bigger than `FF`.
Please make corrections and improvements to the coding as you see fit in your review. I am not well versed or efficient in the C/C++ programming language.
2019-10-28 21:47:43 +01:00
d0k3
624ac571e4
Improve GBA VC save injection
...
... see #548
2019-10-28 14:16:55 -03:00
Wolfvak
cf7fa9e401
Fix #549
2019-10-28 14:16:55 -03:00
d0k3
c847618048
Some minor cleanup
2019-10-14 23:48:15 +02:00
d0k3
422e54dca4
FIRMInstaller: Remove crypto check
...
... this interfered with installation to corrupted partitions and is no more required anyways.
2019-10-14 22:18:00 +02:00
d0k3
f24db1442e
Fix #543
2019-10-12 17:14:16 +02:00
d0k3
2372340e6d
Updated touchscreen playground
2019-10-06 22:28:57 +02: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
Wolfvak
524a86e9a4
fix issue #512
2019-09-29 19:53:27 +02:00
Wolfvak
d6c6f56526
fix compilation warnings due to unaligned packed structures in newer gcc
2019-09-29 19:53:27 +02:00
d0k3
e7e800d44f
Fix booting FIRMs from scripts
2019-06-30 23:51:15 +02:00
d0k3
1403dc8ef9
Improved touchscreen playground
2019-06-30 23:50:45 +02:00
d0k3
ab110bf73d
Improved legit CIA build warning
2019-06-10 16:54:19 +02:00
d0k3
87d4152d4e
Add handling for SD / TWLN & DLC CMD CMACs
...
Fixes #340
2019-06-10 16:30:40 +02:00
d0k3
40b4e3f541
Use software keyboard instead of string input prompt
2019-06-03 02:28:27 +02:00
d0k3
73e3a18ea8
Remove legacy A9LH support
2019-06-03 02:28:27 +02:00
d0k3
ff491f2993
Scripting: allow NO_CANCEL flag for fill command
2019-06-03 02:28:27 +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
Wolfvak
50e97d2dab
Moved most things to RGB565
2019-06-03 02:28:25 +02:00
d0k3
73d8d14bd5
Fix #478
2019-06-03 02:28:25 +02:00
d0k3
ca8c2070f5
Change how TouchboxGet() works
2019-06-03 02:28:25 +02:00
d0k3
9cc31b6f56
Fix several alignment assumptions
2019-06-03 02:28:24 +02:00
d0k3
c3152838db
Move touchbox functions to hid.c / hid.h
2019-06-03 02:28:24 +02:00
d0k3
df21331218
New & improved touchscreen playground
2019-06-03 02:27:44 +02:00
d0k3
c86ebe4baa
CIA checker tool: properly detect custom TMD
2019-04-17 00:45:48 +02:00