70e82e627b
More cleanup
Aurora
2016-04-19 17:17:39 +02:00
67e229e5a9
Cleanup of the injector
Aurora
2016-04-18 20:50:52 +02:00
d0d6baaa85
We do not need this anymore (D9/E9/GM9 were updated)
Aurora
2016-04-18 18:51:55 +02:00
fd4352a1d6
Remove useless sdmmc code (we do not need NAND init/read from loader, or write at all
Aurora
2016-04-18 18:29:37 +02:00
08808da741
Update FatFs to 0.12
Aurora
2016-04-18 18:04:04 +02:00
a11124a3d6
Remove LFN support from the loader FatFs as it is not used. Slims down the binary by ~4 KBs
v5.1.1
Aurora
2016-04-18 04:47:53 +02:00
d2d6e786c7
Fixed L+SELECT payload being broken (annoying LFN to 8.3 conversion rules). Now the payload is sel_NAME.bin
Aurora
2016-04-18 02:55:54 +02:00
a76c943c01
Reinstated the L+SELECT payload
v5.1
Aurora
2016-04-17 19:34:35 +02:00
06060c67b5
Changed the chainloader to load payloads named "BUTTON_NAME.bin", to remember which payload is which. Original idea and code by @habbbe (many thanks!)
Aurora
2016-04-17 18:57:25 +02:00
0f64fd73ec
Fix bug when quitting AGB_FIRM The wrong config.bin section was used to remember the last-used FIRM
Aurora
2016-04-16 20:27:52 +02:00
be83d77187
Fix buffer overflow due to null character
Eric Chu
2016-04-15 12:54:30 -04:00
615cf81a9f
Further compatibility fix for language/region emulation, now works with games like Kirby Triple Deluxe
v5.0
Aurora
2016-04-15 17:53:40 +02:00
c60ef7fe82
Better to reboot here
Aurora
2016-04-15 16:10:32 +02:00
fea5a111a9
Misc fixes, renamed "Updated SysNAND" to reflect what the option actually does now
Aurora
2016-04-15 15:58:40 +02:00
7eebfd4f6a
Added improved language emulation from @TuxSH (improves compatibility), fixed language emulation only working for the first launched game/app and not being applied on demos
Aurora
2016-04-15 03:34:08 +02:00
a0334120a6
Added region/language emulation feature, thanks to the hard work of @TuxSH Create a "locales" folder inside aurei, and one .txt for each game, with the title id of the game. The txt must be exactly 6 bytes long: 3 characters for the region ("JPN", "USA", "EUR", "AUS", "CHN", "KOR", "TWN"), a space, and two for the language ("JP", "EN", "FR", "DE", "IT", "ES", "ZH", "KO", "NL", "PT", "RU", "TW"). You can enable the feature globally in the config menu. This should also make DLCs for foreign games work.
Aurora
2016-04-14 00:46:36 +02:00
308417a48e
Added region/language emulation feature, thanks to the hard work of @TuxSH Create a "locales" folder inside aurei, and one .txt for each game, with the title id of the game. The txt must be exactly 6 bytes long: 3 characters for the region ("JPN", "USA", "EUR", "AUS", "CHN", "KOR", "TWN"), a space, and two for the language ("JP", "EN", "FR", "DE", "IT", "ES", "ZH", "KO", "NL", "PT", "RU", "TW"). You can enable the feature globally in the config menu. This should also make DLCs for foreign games work.
Aurora
2016-04-14 00:46:36 +02:00
85533411c9
Config menu cleanup
Aurora
2016-04-13 15:19:35 +02:00
6d4a84a325
Remove unneeded stuff from the loader injection
Aurora
2016-04-13 14:23:08 +02:00
89350b1edd
Fixed config.bin getting recreated on each boot
Aurora
2016-04-13 01:08:13 +02:00
9e58e4ed7a
Screwed up the order of the CPU settings
Aurora
2016-04-13 00:33:03 +02:00
f8f4ecea27
Add better code to the FIRM finding function to convert from integer to its hex representation array
Aurora
2016-04-13 00:15:09 +02:00
e9449f86bf
Rewrote config menu to allow for multiple choice settings, made the N3DS CPU patch configurable in the NTR way, changed the config.bin format to be more future-proof (settings are on the leftmost part), added more macros to read settings
Aurora
2016-04-12 23:18:07 +02:00
4fabe1f704
Added new and working N3DS CPU patch from @TuxSH
Aurora
2016-04-12 15:25:36 +02:00
7dbded99a2
First commit of the AuReiNand rewrite! - Gotten rid of the patched FIRMs, AuReiNand now finds and loads all the FIRMs from CTRNAND by default. If you are booting an emuNAND, the FIRMs will be loaded from its CTRNAND. This also applies to AGB and TWL FIRM, and allows for a very fast boot with no firmware files on the SD card. - If for some reason (like using NTR) you do not want to use the CTRNAND FIRM, you can place a firmware.bin in the aurei folder and it will be loaded just for the default NAND. - The way AuReiNand works has changed. Now you can specify to autoboot SysNAND or not, and a NAND is no more tied to a FIRM (since 9.0 FIRM is autodetected). If you press nothing the default NAND is booted with its own FIRM, L boots the non-default NAND with its own FIRM, R boots EmuNAND with the SysNAND FIRM if you picked "Updated SysNAND", and vice-versa. - In order for AuReiNand to handle FIRM reboots, the .bin path needs to be hardcoded in the program. The default is /arm9loaderhax.bin (the AuReiNand.dat is also supported for 9.0 people). A PC tool was written to make changing the path easier. - Bug fixes and stuff I forgot. - Gelex is a saint.
Aurora
2016-04-11 05:15:44 +02:00
6351e5b8c3
Implement "friends" and "ErrDisp" patches
TuxSH
2016-04-08 23:28:40 +02:00
5a0f2e4dfc
Fix Makefile (by including 3ds_rules)
TuxSH
2016-04-08 19:52:37 +02:00
4180261f1f
Small changes, added a macro for reading options
Aurora
2016-04-06 14:51:07 +02:00
e882dd7aaf
Rewrote the config menu (no longer prints the whole menu on each button press), cleaned up the reboot patch, boot options will keep being forced if a GBA game was lanched from SysNAND, added option to have a splash screen with the built-in screen-init
Aurora
2016-04-05 23:01:46 +02:00
9e851d2dfd
Small code reorganization
Aurora
2016-04-05 05:27:28 +02:00
21a3edb150
Get rid of double options reading
Aurora
2016-04-05 03:08:38 +02:00
3aacbd17ce
Upped patch version
v4.2
Aurora
2016-04-05 02:29:36 +02:00
6f8a9421ef
Added basic support for configuring the brightness level for the built-in screen init
Aurora
2016-04-05 02:20:05 +02:00
0001f301f8
Cleanup, fixed the second emuNAND patched FIRM still getting created, removed injector SOAP patch as it changes nothing without going to great lengths to change the region of a NNID, made L not needed to load payloads except for R and Select (Start is now default)
Aurora
2016-04-04 18:07:13 +02:00
f7bbc4bfec
Made the AGB_FIRM splash screen optional Apparently it causes compatibility issues
Aurora
2016-04-04 01:08:42 +02:00
a181bba9f2
Added TWL/AGB FIRM patching/SD loading for New and Old 3DS (thanks to mid-kid of CakesFW for making it possible!)
Aurora
2016-04-03 17:56:09 +02:00
956829864c
This looks unused (my AUS N3DS has 2)
Aurora
2016-04-02 18:57:52 +02:00
24186a7148
Some more tidying up
Aurora
2016-04-02 18:48:31 +02:00
3475cfe1e6
Changed indentation style across the code to make it more readable, added newlines before comments, moved patches to separate functions, made memory operations slightly faster by compiling them with O3 (thanks TuxSH!)
Aurora
2016-04-02 17:58:06 +02:00
060d8e9945
Comment things better
Aurora
2016-03-31 16:04:12 +02:00
1026471842
Leftover from testing
Aurora
2016-03-31 15:59:40 +02:00
645208ec82
EmuNAND is detected almost instantly when the CFW configures itself, if the user is attempting to load an EmuNAND and none is found, SysNAND and 9.6/10.x FIRM are forced. Also prevents the second EmuNAND patched FIRM from being created if no second EmuNAND exists.
Aurora
2016-03-31 15:57:02 +02:00
f4c48a64ca
Fixed loading the alternate EmuNAND if 9.0 FIRM was set as default, improved comments and further cleanup of the injector
Aurora
2016-03-31 01:38:28 +02:00
c80ac985fe
Further clean-up of the patcher code
Aurora
2016-03-29 22:43:15 +02:00
ac9bdc7665
Fixed exiting GBA games with updated SysNAND
v4.0.1
Aurora
2016-03-29 18:56:51 +02:00
217d75024d
These should be u32s
Aurora
2016-03-29 18:47:30 +02:00
945f80993b
Zero the last-FIRM-booted flag when exiting config
v4.0
Aurora
2016-03-29 17:58:33 +02:00
5f32779ceb
Lots of changes/new features - To override the last used boot mode on soft reboot, you only need to press A if you want to boot to the default option. Holding L(+payload button)/R is enough for the other modes. - Added version number to the config menu - Replaced the memsearch algorithm with a faster one - Integrated 3ds_injector from @yifanlu. This brings us region free and all the other FreeMultiPatcher patches. Other than that, you now have the possibility to display the currently booted NAND/FIRM in System Settings! - Rewritten most code for the config menu. You now can navigate to the first/last options with left and right. - You can now choose the 9.0 FIRM to be default in the config menu. This will essentially switch "no buttons" and L in both modes. - You can now choose the second emuNAND to be default in the config menu. This will essentially switch "B is not pressed" and "B is pressed". - When the second emuNAND is booted, it will persist like the other boot options on soft reboot - Bugfixes
Aurora
2016-03-29 17:43:53 +02:00
e8ebb2f7fe
Fixed signature patterns searching area, aligned variable/function names to the latest ReiNand
Aurora
2016-03-27 19:19:35 +02:00
c75ed567fc
Added version number to the config menu
Aurora
2016-03-27 18:39:16 +02:00
1e2bf61dcf
Possibly makes FatFs faster, does not affect loader size much
Aurora
2016-03-27 16:42:19 +02:00
de4fea77a1
Make the code more readable by defining variables locally, avoid useless redefinitions, when rebooting from TWL and NATIVE_FIRM you can now override with just A (same as pressing nothing), L(+payload buttons) or R
Aurora
2016-03-27 16:26:09 +02:00
441c143b3e
No reason for these not to be u8s
Aurora
2016-03-26 19:21:17 +01:00
feff28a4fe
Added multi redNAND support (thanks to @Desterly for the original commit)
v3.14
Aurora
2016-03-26 17:47:33 +01:00