1453 Commits

Author SHA1 Message Date
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
Wolfvak
eadc1ab6b9 simplify the sharedmem buffers
also made the wait on boot unconditional
2021-02-21 14:40:33 +01:00
Wolfvak
9ecb90a2ba make interrupt handlers more lazy, most processing is done in interruptible context now
- completely moved MCU interrupt handling outside of the critical section
- refactored a bit of the PXI code and command names
- merge the I2C read and write cmds to be one
- remove SET_VMODE cmd, now it's always initialized to BGR565 on boot and to RGB565 on firmlaunch
- atomic-ize more stuff
2021-02-21 14:40:33 +01:00
Wolfvak
a6e20c641a initial mcu events implementation
- backlight power control is reinstated but currently buggy, for some reason the __builtin_trap is tripped on GFX_powerOnBacklights and GFX_powerOffBacklights

- also refactored a bunch of other code pertaining to mcu and other hw init, moved the gpu init to a later point since lcd init now depends on mcu events
2021-02-21 14:40:32 +01:00
d0k3
c4b3b582a7 Improved good renamer
... includes better naming for CIAs
2021-02-21 13:14:08 +01:00
d0k3
c31737c257 Title info and CIA metadata handling for encrypted CIA/CDN content 2021-02-20 12:21:40 +01:00
d0k3
2f61722aa4 Replace Tabs -> Spaces 2021-02-18 19:06:31 +01:00
d0k3
ab4316fd4e Prevent titleentry deletion in title manager 2021-02-18 18:55:36 +01:00
d0k3
24195c319a Install, build CIA, verify handling for TWL CDN content 2021-02-18 18:34:20 +01:00
d0k3
f9408a9c10 Improved CIA building, proper names for legit CIAs 2021-02-17 15:50:52 +01:00
d0k3
8114a0bd26 Higher level warning for editing 0:/Nintendo 3DS/ folder 2021-02-15 17:58:59 +01:00
d0k3
7620310b73 Build CIA and verify handling for TADs 2021-02-12 15:02:55 +01:00
d0k3
1e9fb36582 Check TMD signature when attempting legit CIA build 2021-02-12 12:50:23 +01:00
d0k3
9191a3244f Fix splash title underline for long build names 2021-02-09 19:14:24 +01:00
d0k3
af5e1a218e Show title id in title info 2021-02-08 19:04:12 +01:00
d0k3
667a1bf2c0 Install, verify, info handling for tickets 2021-02-06 14:47:40 +01:00
d0k3
48347c947a Reset to default splash.png 2021-02-05 13:16:01 +01:00
d0k3
e41b098843 Misc code improvements 2021-02-05 13:16:01 +01:00
d0k3
58fb9913d5 Fix possible overwriting of memory in vff.c 2021-02-01 18:59:55 +01:00