1521 Commits

Author SHA1 Message Date
d0k3
33a115b75c Fix strings -> chars 2021-07-06 18:48:04 +02:00
TimmSkiller
ef161bce42 Fix NDS / DSi names being cut off when renaming to good name 2021-07-06 17:14:44 +02:00
WaluigiWare64
d8d43c14f3 Detect transparent pixels in DS icon and set them to white 2021-06-23 18:46:39 +01:00
Wolfvak
37c8c50097
fix the "conact" typo (#709)
also adds a direct link to the irc channel
2021-06-02 09:03:37 -03:00
Wolfvak
c2d96c0d9c add a "contact info" section in readme
contains both irc and discord links, and removes the discord link at the bottom
2021-06-01 20:07:02 +02:00
luigoalma
41d36c620f Make safe for editing certificate function
As long memory max bounds are still respected
2021-05-22 14:12:19 +02:00
luigoalma
4b5ac1a8e0 Certificate provide signature verification call 2021-05-22 14:12:19 +02:00
luigoalma
be289b4c55 Just search both nands for certs on callee
Since in all cases that LoadCertFromCertDb is called
is always twice, one for sysnand and another for emunand
just make it a single call and quit early when cert found.
2021-05-22 14:12:19 +02:00
luigoalma
3bfb9ef6ec Make cert bundle building nicer
At least in the caller perspective.
Also break down some functionalities into separate funcs,
interally calling them on cert.c to avoid too many checks.
And tried to avoid too much repeated code.
2021-05-22 14:12:19 +02:00
luigoalma
1f96b5e9e6 Certificate static storage
Decrease repeated load times
At least for retail/dev certs
2021-05-22 14:12:19 +02:00
luigoalma
8427e0776c Adjusting ticket.h
Just because there's a more neat to look at definition
on types.h for packed and aligned
2021-05-22 14:12:19 +02:00
luigoalma
61c17e491f Load from certs.db more accordingly
Also extra cert handling code
2021-05-22 14:12:19 +02:00
d0k3
236d2dc09c Fix CIA good renaming (add version) 2021-04-29 20:50:13 +02:00
d0k3
8680358aa1 Fix #702 2021-04-29 19:58:12 +02:00
d0k3
7e01954e48 Properly handle emanuals in update images 2021-04-01 09:29:49 +02:00
d0k3
0825139cb2 Scripting: add SDSIZE, SDFREE and NANDFREE global variables
fixes #691
2021-03-31 17:33:05 +02:00
clach04
9f431a5fde
helper text for SysNAND backup size
https://3ds.hacks.guide/finalizing-setup Section VIII, 3 - recommends 1.3 Gb free

On a Japanese firmware 11.10.0-43J - needed 950Mb free.
2021-03-31 17:07:01 +02:00
Balint Kovacs
cc99734fac Fix IR card support
This is based on the latest update of GBATEK.
2021-03-31 17:01:32 +02:00
Balint Kovacs
6799b24730 Fix a bug on 512B EEPROM saves
Fixes #690
2021-03-31 17:01:32 +02:00
Balint Kovacs
adb8ad260f Add some documentation to cart types, and remove old exports 2021-03-31 17:01:32 +02:00
Balint Kovacs
5c2ab6958c I found a new type of flash chip on a bootleg cart 2021-03-31 17:01:32 +02:00
Balint Kovacs
7af76b91bb Detect save size by the last byte of JEDEC id, if possible
This is my second attempt to resolve #553

Props to @wwylele for pointing out that the last byte of the JEDEC ID is
just the exponent of the size (base 2)
2021-03-31 17:01:31 +02:00
d0k3
ce50bd63a8 Add 5th anniversary splash screen v2.0.0 2021-03-22 17:43:33 +01:00
d0k3
1a27dcb1e8 Remove possibly faulty tickets when installing CIAs
fixes #685
2021-03-22 17:42:31 +01:00
d0k3
c20911047a Don't allow ticket installations from mounted media 2021-03-22 17:37:24 +01:00
d0k3
fd8c5d1897 Show title id & game icon in file handler menu 2021-03-18 22:44:33 +01:00
d0k3
0bbbc7c324 gamecart.c: fix indentation, a small merging mistake 2021-03-18 00:33:58 +01:00
Balint Kovacs
9f52deedad Card-2 saves: Detect save size from ExHeader
This also limits the save blanking to the actual save area. This way
every byte of the cart can be read again.
2021-03-18 00:28:44 +01:00
Balint Kovacs
60f2c5192d Add save chip JEDEC ID to gamecard info 2021-03-18 00:28:44 +01:00
Balint Kovacs
f2e52bd1c7 Initial support for CARD2 read
Can I get card2 writing to work?

Am I _that_ good?

Will I break by copy of X?

I won't know until I try!
2021-03-18 00:28:44 +01:00
Balint Kovacs
dfb2dff352 Some groundwork for CARD2 save support 2021-03-18 00:28:44 +01:00
d0k3
1cb72a87e1 Allow verifying incomplete DLCs 2021-03-18 00:08:14 +01:00
Margen67
3952de3a1e ci.yml: changes
Change image to ubuntu-latest.
Remove redundant :latest from container.
Make python3 pip install into one less line.
Add -j to make to speed it up.
Replace cd with working-directory and remove unneeded cd.
Add if-no-files-found: error to upload-artifact.
2021-03-14 14:59:05 +01:00
d0k3
294890057f Display full filename in file info (for long filenames) 2021-03-14 14:56:35 +01:00
d0k3
4e00b8b7b6 Include version number in renamed CIA / titles 2021-03-14 14:56:35 +01:00
d0k3
ddfdf81cf7 Combine & improve game info and CIA/title checker 2021-03-11 20:24:39 +01:00
SirNapkin1334
8b5af2c22f Update Discord Link :/ 2021-03-11 08:39:28 +01:00
MechanicalDragon
445688c5fb fix clear friendlist script missing end statement 2021-03-09 18:04:27 +01:00
d0k3
8fa85437dd Added ability to dump tickets in title manager 2021-03-08 23:52:55 +01:00
d0k3
2cd6acb31e Enabled title checker tool in Title Manager 2021-03-08 18:35:49 +01:00
Garrett Holmstrom
c70a7db0f3 Include scripts in ntr firms
Unless the SD card happens to both be accessible and contain a
`gm9/scripts` directory, a system booted with a NTR cartridge isn't going
to have access to the stock scripts and will just show an error upon
going to the menu and selecting `Scripts...`.  This patch adds scripts
to the vram tarball only for ntr builds so they can be available even
on completely untouched systems.  It shouldn't be necessary when we've
booted from something else because in those cases we've already written
GodMode9.firm to flash using some other means and could have copied all
the scripts then.

One might argue this is sub-optimal because the menu will point there
even if a scripts directory happens to exist on the SD card.  One might
instead argue that that behavior is preferable because there's no telling
what gm9 version the scripts on the SD card were intended for.
2021-03-08 18:31:40 +01:00
d0k3
7bdd01738a Show a wait... message when uninstalling a single title 2021-02-27 12:18:39 +01:00
d0k3
152c6c4d5a Allow in-place encryption/decryption only on SD card 2021-02-27 12:18:14 +01:00
d0k3
32936345a6 Change support file recommendations 2021-02-23 16:10:44 +01:00
d0k3
30c5e1fd67 Add firstrun instructions to software keyboard
Adresses #601
2021-02-23 16:10:10 +01:00
d0k3
3f7eb872b8 Remove aeskeydb.bin warning for entrypoints other than b9s
Fixes #676
2021-02-23 15:45:09 +01:00
d0k3
bea16124a4 Readme updates v1.9.3pre1 2021-02-22 17:12:07 +01:00
d0k3
71e3b6f73c Trimming functionality for GBA cart dumps 2021-02-22 16:41:21 +01:00
d0k3
ee43fe328f Fix a compiler warning 2021-02-21 14:40:33 +01:00
Wolfvak
31389687ab event model seems to work
refactors all the ugly "pendingX" atomic operations into a single "Event" subsystem/interface thing with two operations

moves all existing code to use this instead

also changes the "bkpt" macro to also indicate unreachable code
2021-02-21 14:40:33 +01:00