David Korth
d63db4bc6d
gamecart: Use the chip ID's TWL flag to check if we should do TWL secure area init.
...
It's possible to flash a TWL-enhanced ROM image to an NTR dev cart.
This cart would function properly as a Nintendo DS game, but might
have issues on a DSi or 3DS.
GodMode9 couldn't dump this type of cartridge before because the ROM
header indicates TWL, but the cartridge doesn't understand the 0x3D
TWL secure area init command, so key exchange failed.
2020-12-09 21:53:43 +01:00
David Korth
cadd21508f
gamecart: Use the chip ID to determine the ROM size.
...
Some development carts have an incorrect ROM header, but the cart ID
is always correct, so prefer the chip ID. If the chip ID is invalid
(unlikely), then fall back to the ROM header.
2020-12-09 21:53:30 +01:00
d0k3
01dd46ced3
Fix CMAC handling for TWLN and IMGNAND
...
Fixes #653
2020-11-25 23:48:36 +01:00
d0k3
e95e0fe90c
Fix saves being deleted on uninstall
2020-11-25 23:08:00 +01:00
d0k3
608cf39e12
Fix #601
...
This adds SELECT as a shortcut ot the old button based input tool in the software keyboard
2020-11-11 00:07:09 +01:00
d0k3
df4619b213
Fix building standard CIA from TMD
2020-11-10 23:58:58 +01:00
d0k3
145bf6de54
Improve ticket searching functions
...
This is applies to encTitlekeys.db / decTitlekeys.bin builders as well as to to legit CIA building
2020-10-28 00:01:36 +01:00
d0k3
355519285a
Verify TMD when installing / building CIA
2020-10-28 00:01:36 +01:00
d0k3
ae32e63074
Handle seed crypto when installing game images
2020-10-28 00:01:36 +01:00
d0k3
d5db8c7216
Fix signed integer sXX types
...
Greetings from 2017 @Wolfvak /s
2020-10-28 00:01:36 +01:00
d0k3
f2876b2a61
Fix #628
2020-10-28 00:01:36 +01:00
d0k3
3b59b0bbfb
Properly clear system saves on uninstall
2020-10-28 00:01:36 +01:00
Gabriel Marcano
d010f2858b
Remove trailing white space
...
- Removed trailing whitespace from all source code files (.c, .h. and
.s) and the README.md
2020-08-26 23:01:58 +02:00
Gabriel Marcano
d682a65df6
Fix GCC warning, snprintf limit too long ( #623 )
...
- One snprintf in arm9/source/godmode.c call had a limit that was past
the size of the datestr variable it was writing into. Fixed to match
the size of the variable.
2020-08-24 23:42:56 -03:00
aspargas2
9189320e8b
fix installing from CDN files
2020-08-20 14:31:16 -04:00
d0k3
896d548851
Additional functionality for .tie files
2020-08-20 19:43:52 +02:00
d0k3
df9b84fc66
Installer: show an error message for missing .dbs
2020-08-20 19:43:52 +02:00
d0k3
f7c229b424
Properly handle TWL saves when installing
2020-08-20 19:43:52 +02:00
d0k3
253cb2849c
CIA building / installing: also take over SRL flags
2020-08-20 19:43:52 +02:00
d0k3
158fa78a5d
Properly take over extdata ID when installing
2020-08-20 19:43:52 +02:00
d0k3
62fd3e93c5
TitleDB entries: add NCCH version only if DLP exists
...
Thanks @ihaveamac & @TurdPooCharger
2020-08-20 19:43:52 +02:00
d0k3
ffeb551a3f
Don't allow game installs from images
2020-08-20 19:43:52 +02:00
d0k3
c7f10be1b4
CIA installer: only fix console ID when different
2020-08-20 19:43:51 +02:00
d0k3
f48bb58bac
TicketDB mount: show console ID as big endian
2020-08-20 19:43:51 +02:00
d0k3
15bf632143
Fix building CIA from TMD
2020-08-20 19:43:51 +02:00
d0k3
50e3e1f19a
Properly remount last image after searching tickets
2020-08-20 19:43:51 +02:00
d0k3
99b69754b2
Handle cleanup before installs and after failed installs
2020-08-20 19:43:51 +02:00
aspargas2
4af0268e5a
visual fix
2020-08-20 19:43:51 +02:00
aspargas2
e5ffa885b6
fix directly remounting the file which is already mounted
2020-08-20 19:43:51 +02:00
d0k3
f0ad45dd60
Basic uninstaller support for title.db entries
2020-08-20 19:43:51 +02:00
d0k3
6eb546dfab
Game installer: Misc code improvements
2020-08-20 19:43:51 +02:00
d0k3
18e6d9f0db
Basic support for handling title.db entries
...
"Show title info"
2020-08-20 19:43:51 +02:00
d0k3
0af181ac6a
Check for import.db and title.db before attempting install
2020-08-20 19:43:51 +02:00
d0k3
3aa9a1633a
Fix game image installs to SD
...
Yes, I broke this (again)
2020-08-20 19:43:51 +02:00
Wolfvak
68a4ceac5b
add another pxi barrier for firmlaunch
...
fixes a race condition when booting gm9 from itself (especially noticeable on new3DS consoles)
2020-08-19 23:11:45 -03:00
d0k3
8375434093
Properly handle TWL system data archives
2020-08-04 21:46:13 +02:00
d0k3
8863979a99
Merge branch 'thumb'
2020-08-02 15:43:28 +02:00
d0k3
a051b07791
Don't allow the rom renamer in incompatible drives
2020-08-02 15:40:42 +02:00
d0k3
596e7e499c
Scripting: install command for game images
2020-08-02 15:40:41 +02:00
d0k3
d4d8c9a0ff
Remove force_nand from the game file installer options
2020-08-02 15:40:41 +02:00
d0k3
7fb194caea
Allow batch fixing of borked NCCH crypto flags
...
Fixes #609
2020-08-02 15:40:41 +02:00
d0k3
521fb25075
Fix titledb entry manual detection
2020-08-02 15:40:41 +02:00
d0k3
829880994f
Fix installer system CMD handling
2020-08-02 15:40:41 +02:00
aspargas2
e744be504b
perform DISA/DIFF cmac fixing automatically upon unmounting
2020-08-02 15:40:41 +02:00
aspargas2
e7fdf993a7
fix some tab/space indent mixing
...
shame on you, @d0k3 /s
2020-08-02 15:40:41 +02:00
aspargas2
89c5107733
Fix title info entry product code for TWL titles
2020-08-02 15:40:41 +02:00
aspargas2
9766a0be5e
fix handling of contents whose index and ID are unrelated
2020-08-02 15:40:41 +02:00
aspargas2
24d2a4ea5b
fix install destination logic
2020-08-02 15:40:41 +02:00
aspargas2
214edfc399
don't sort tickets until a virtual ticket dir is read
...
this makes mounting of a ticket.db almost instantaneous regardless of number of tickets it contains
2020-08-02 15:40:41 +02:00
aspargas2
cb870d2b02
fix problems with vbdri new filename handling
...
this should now disallow having non-hex characters in the title id and allow changing of the NAME_TIK and NAME_TID macros
2020-08-02 15:40:41 +02:00