1561 Commits

Author SHA1 Message Date
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
d0k3
0ee1368153 Fix building on Windows (cygwin) 2020-08-02 15:40:42 +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
d0k3
d8aeb056cb Fix CMD & NCSD handling 2020-08-02 15:40:41 +02:00
d0k3
b8798f2aff Check for title.db before attempting install 2020-08-02 15:40:41 +02:00
d0k3
e559c2b4a1 Fix setting the CIA console ID 2020-08-02 15:40:41 +02:00
d0k3
32b6838d32 Fix TMD CDN CIA building 2020-08-02 15:40:26 +02:00
d0k3
8fcdde29c8 Misc code beautification 2020-08-02 15:40:26 +02:00
d0k3
77f1f94e13 Improved output for game install last step 2020-08-02 15:40:26 +02:00
d0k3
e568348086 Don't overwrite existing saves when installing
thanks @aspargas2
2020-08-02 15:40:26 +02:00
d0k3
6116545fef Fix batch install of game images 2020-08-02 15:40:26 +02:00
d0k3
e916476563 Take over @wolfvak's gameutil.c improvements 2020-08-02 15:40:26 +02:00
d0k3
d2c47b7977 Allow installation of game files
Should work for NCCH, NCSD, CIA, TMD from NUS/CDN and DSi eShop titles in NDS format
2020-08-02 15:40:26 +02:00
Wolfvak
8a7448995f fixed overlooked ARM9 exception handler issue where code would be dumped incorrectly, modified ARM11 exception vectors to not take an entire page of compiled code 2020-07-26 10:27:48 -03:00
Wolfvak
07c009de72 fix comments for bootrom functions 2020-07-24 23:38:31 -03:00
Wolfvak
f96daa407a potentially fix non-working FIRM builds, remove duplicated cycle wait functions
the sdmmc wait function is exactly the same as the one in the bootrom and worked as a drop in replacement
2020-07-24 14:22:38 -03:00
Wolfvak
f835469e19 rewrite the bootrom function header, add more operations and add ARM11 versions
- the bootrom is now mapped on the ARM11

- removed the waitClks in favor of a more canonical implementation (subs r0, r0, 4/5 + branch back)
2020-07-24 13:37:29 -03:00
d0k3
2791b42f6e Fix an exception for big file searches 2020-07-24 11:02:07 +02:00
Wolfvak
d7444e144a use a regular global pointer for sharedmem
fetching the thread id requires coprocessor access which means doing funky switches between thumb and arm -
it's faster to just allocate a single pointer and do an indirect load when necessary
2020-07-23 23:46:15 -03:00