mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-22 20:06:43 +00:00
Implement Tool for dumping User:/save
+ Finalize readme for release of 1.2.0
This commit is contained in:
parent
008d3ab494
commit
6724f364b5
5 changed files with 42 additions and 7 deletions
|
@ -9,11 +9,13 @@ Navigate around the menu's using the vol+, vol- and power buttons
|
|||
|
||||
## Functions
|
||||
- Navigate the SD card
|
||||
- Navigate the System partition of your sysnand
|
||||
- Navigate the System partition of your sysnand/sysmmc
|
||||
- Interact with files
|
||||
- Deleting, copying or moving files
|
||||
- Launching payloads files
|
||||
- Viewing the hex data of a file
|
||||
- Interacting with folders
|
||||
- Deleting or copying folders
|
||||
- Dumping your current firmware to sd
|
||||
- Formatting the sd card
|
||||
|
||||
|
@ -24,7 +26,7 @@ For general CFW support, go to the [Nintendo Homebrew](https://discord.gg/C29hYv
|
|||
For question specifically for TegraExplorer, go to [my discord](https://discord.gg/aH9rsuP)
|
||||
|
||||
# Credits
|
||||
Based on [Lockpick_RCM](https://github.com/shchmue/Lockpick_RCM), and thus based on [Hekate](https://github.com/CTCaer/hekate)
|
||||
Based on [Lockpick_RCM](https://github.com/shchmue/Lockpick_RCM), and thus also based on [Hekate](https://github.com/CTCaer/hekate)
|
||||
|
||||
Lots of help from:
|
||||
- shchmue
|
||||
|
|
|
@ -36,12 +36,13 @@ menu_item shutdownmenu[7] = {
|
|||
{"Reboot to Atmosphere", COLOR_GREEN, AMS, -1}
|
||||
};
|
||||
|
||||
menu_item toolsmenu[5] = {
|
||||
menu_item toolsmenu[6] = {
|
||||
{"-- TOOLS --\n", COLOR_VIOLET, -1, 0},
|
||||
{"Back", COLOR_WHITE, -1, 1},
|
||||
{"\nDisplay Console Info", COLOR_GREEN, DISPLAY_INFO, 1},
|
||||
{"Display GPIO pins", COLOR_VIOLET, DISPLAY_GPIO, 1},
|
||||
{"Dump Firmware", COLOR_BLUE, DUMPFIRMWARE, 1}
|
||||
{"Dump Firmware", COLOR_BLUE, DUMPFIRMWARE, 1},
|
||||
{"Dump User Saves", COLOR_YELLOW, DUMPUSERSAVE, 1}
|
||||
};
|
||||
|
||||
menu_item formatmenu[4] = {
|
||||
|
@ -125,7 +126,7 @@ void te_main(){
|
|||
break;
|
||||
|
||||
case TOOLS:
|
||||
res = makemenu(toolsmenu, 5);
|
||||
res = makemenu(toolsmenu, 6);
|
||||
|
||||
switch(res){
|
||||
case DISPLAY_INFO:
|
||||
|
@ -137,6 +138,9 @@ void te_main(){
|
|||
case DUMPFIRMWARE:
|
||||
dumpfirmware();
|
||||
break;
|
||||
case DUMPUSERSAVE:
|
||||
dumpusersaves();
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
@ -34,7 +34,8 @@ enum shutdownmenu_return {
|
|||
enum toolsmenu_return {
|
||||
DISPLAY_INFO = 1,
|
||||
DISPLAY_GPIO,
|
||||
DUMPFIRMWARE
|
||||
DUMPFIRMWARE,
|
||||
DUMPUSERSAVE
|
||||
};
|
||||
|
||||
enum formatmenu_return {
|
||||
|
|
|
@ -141,6 +141,33 @@ int dumpfirmware(){
|
|||
return fail;
|
||||
}
|
||||
|
||||
void dumpusersaves(){
|
||||
int res;
|
||||
|
||||
mount_emmc("USER", 2);
|
||||
clearscreen();
|
||||
|
||||
res = f_mkdir("sd:/tegraexplorer");
|
||||
gfx_printf("Creating sd:/tegraexplorer, res: %d\nCopying:\n", res);
|
||||
|
||||
SWAPCOLOR(COLOR_GREEN);
|
||||
|
||||
res = copy_recursive("emmc:/save", "sd:/tegraexplorer");
|
||||
|
||||
SWAPCOLOR(COLOR_ORANGE);
|
||||
gfx_printf("\rResult copy_recursive() %d\n\n", res);
|
||||
|
||||
if (res){
|
||||
SWAPCOLOR(COLOR_RED);
|
||||
gfx_printf("Dump failed!\n");
|
||||
}
|
||||
else
|
||||
gfx_printf("Saves are located in SD:/tegraexplorer/save\n");
|
||||
|
||||
gfx_printf("Press any key to continue");
|
||||
btn_wait();
|
||||
}
|
||||
|
||||
int format(int mode){
|
||||
clearscreen();
|
||||
int res;
|
||||
|
|
|
@ -3,4 +3,5 @@
|
|||
void displayinfo();
|
||||
void displaygpio();
|
||||
int format(int mode);
|
||||
int dumpfirmware();
|
||||
int dumpfirmware();
|
||||
void dumpusersaves();
|
Loading…
Reference in a new issue