1335 Commits

Author SHA1 Message Date
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
d0k3
2fd6915075 Readme: fix an error
thanks @profi200 !
2020-06-02 17:04:32 +02:00
santiago
244d24ee2a fix compiling on dkA r54, libc is bloaty so please stick with r53 for now 2020-06-01 17:13:30 -03:00
d0k3
d6e09c9c15 Updated splash screen 2020-05-18 23:24:32 +02:00
d0k3
da1dff7cd7 Legit CIAs: Change personalized ticket warning 2020-05-18 23:24:32 +02:00
d0k3
43753535d7 Readme: Added "digital preservation" paragraph 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
73dc54a754 Readme: add a note about 4GiB cart dumps missing the last byte
As asked for in #593
2020-05-11 17:19:27 +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
aspargas2
c265e3ac2f fix config save dumping for citra in megascript 2020-05-11 17:19:27 +02:00
santiago
1e92163245 lazy fix for the screen init bug, hopefully 2020-05-09 16:24:40 -03:00
aspargas2
2aba1afb2e remove usm files in sd cleanup script
The unSAFE_MODE exploit that will be soon added to the 3ds guide adds a few more files that need to be removed.
2020-04-27 09:54:05 +02:00
aspargas2
52034cd41f
Always inject correct sighax signatures when installing b9s in the megascript (#592)
* megascript: always inject correct sigs when installing b9s

someone just bricked by accidentally using the dev firm because there was no check for it and this was not being done

* split up sighax literal
2020-03-30 01:08:06 -03:00
luigoalma
6541e52f05 Reinforcing alignment to buffer size 2020-03-28 07:05:42 -03: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
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
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
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
luigoalma
4e38973384 Fix a memory leak
When running CIA checker tool
2020-03-28 07:05:42 -03:00
luigoalma
2760bb4a38 Fixes to mymalloc functions 2020-03-28 07:05:42 -03:00
aspargas2
130ff694e2 GM9Megascript: Move payloads when moving Luma
copy luma/payloads, and remove the unneeded `-a` in the allow command because only lvl 1 perms are needed here
v1.9.1
2020-01-02 21:08:45 +01: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
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
TurdPooCharger
12bc19cc43 Disarm anti savegame restore in scripts.
This stops certain games such as _Animal Crossing: New Leaf_, _Super Smash Bros._, and the _Pokemon_ series from erasing their saves due to changes in "Secure Value" after CTRTransfer or NAND restore.
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
Wolfvak
6fb60e007a Fix #568 2020-01-02 21:08:44 +01:00
d0k3
622d0b053c FatFS R0.14 customization: public.sav detection 2020-01-02 21:08:44 +01:00
d0k3
e446bdbfa5 Update FatFS R0.13c -> R0.14 2020-01-02 21:08:44 +01:00
aspargas2
9e1b5e0be2 add a9lh stage2 payload removal to hax uninstall 2020-01-02 21:08:44 +01:00
aspargas2
7729605f9a fix #563 2020-01-02 21:07:22 +01:00
d0k3
e58760231a Fix building with FIXED_BRIGHTNESS
@thanks uwabami
2020-01-02 21:07:22 +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
Wolfvak
499e301b7b - fix #555
- remove useless free(NULL) check
2019-10-28 14:16:55 -03:00
d0k3
624ac571e4 Improve GBA VC save injection
... see #548
2019-10-28 14:16:55 -03:00
d0k3
1889f4fd57 Simplify fsdrive code 2019-10-28 14:16:55 -03:00
d0k3
f184ad5701 Fix #554 2019-10-28 14:16:55 -03:00
d0k3
cfe535f20b Fix #551 2019-10-28 14:16:55 -03:00
Wolfvak
cf7fa9e401 Fix #549 2019-10-28 14:16:55 -03:00