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
aspargas2
cebc43792e
remove travis CI configuration
2020-10-28 18:40:26 -04:00
aspargas2
89be93384d
enable github workflows CI
2020-10-28 18:29:27 -04: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
aspargas2
bd7658a808
revert megascript refactor
...
because the refactor didn't work at all. my screwup.
2020-10-04 14:30:29 +00:00
aspargas2
7c01e1dfe9
allow exiting the megascript by pressing B
2020-09-26 15:27:22 -04:00
aspargas2
8e2d1d465e
update the SD cleanup section of the megascript
2020-09-24 22:09:09 -04: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
Wolfvak
1f2514f19e
forgot to update non-FIXED_BRIGHTNESS mode
2020-08-22 17:15:10 -03:00
Wolfvak
a2e574a451
fix #622
2020-08-22 16:37:27 -03:00
aspargas2
9189320e8b
fix installing from CDN files
v1.9.2pre1
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
ce498103e1
change barrier ids
...
should allow old and bugged GM9 versions to boot the newer ones
2020-08-20 09:59:52 -03:00
Wolfvak
7edf8a998b
Merge pull request #620 from d0k3/barrier_racefix
...
add another pxi barrier for firmlaunch
2020-08-20 08:47:42 -03: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
0038e7d0ab
Fix building via Travis CI
2020-08-16 22:31:08 +02:00
Wolfvak
03007c2b42
fix shared memory optimization problem
2020-08-15 20:30:27 -03:00
d0k3
8375434093
Properly handle TWL system data archives
2020-08-04 21:46:13 +02:00
Wolfvak
bf767f2c01
add a needed delay for new 3ds consoles ( #617 )
2020-08-04 16:41:10 -03:00
Wolfvak
4dc5661d58
use hardcoded configuration for ARM11 interrupts
2020-08-02 11:40:18 -03:00
d0k3
8863979a99
Merge branch 'thumb'
2020-08-02 15:43:28 +02:00