From bc18a5f08f0637830f4489c22dcc5d21e6e278f0 Mon Sep 17 00:00:00 2001 From: Validusername16 Date: Mon, 25 Mar 2019 10:29:10 -0400 Subject: [PATCH 1/4] Update Cleanup SD Card and add Deleting Friendlist --- GM9Megascript.gm9 | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/GM9Megascript.gm9 b/GM9Megascript.gm9 index 2d9dc38..eb1086e 100644 --- a/GM9Megascript.gm9 +++ b/GM9Megascript.gm9 @@ -1165,6 +1165,11 @@ rm -o -s 0:/gm9/scripts/cleanup_sd_card.gm9 rm -o -s 0:/arm9loaderhax.bin rm -o -s 0:/files9/aeskeydb.bin + +rm -o -s 0:/movable.sed +rm -o -s 0:/steelhax/ +rm -o -s 0:/484E4441.bin +rm -o -s 0:/484E4441.bin.patched echo "SD card now squeaky clean from setup files." goto MainMenu_Scripts_from_Plailect's_Guide @@ -1592,6 +1597,21 @@ mv -n -w "0:/Nintendo 3DSTEMP" $[DESIREDPATH] echo "Folders successfully swapped." goto MainMenu_Miscellaneous +################Clear Friendlist################## +@Miscellaneous_Clear_Friendlist +set PREVIEW_MODE "GODMODE9 ALL-IN-ONE MEGASCRIPT\nby annson24\n \nClear friendlist" + +if not ask "This script will delete friend code\nand friendlist,continue?" + echo "Operation Cancelled." + goto MainMenu_Miscellaneous +if not allow -a 1: + echo "Permissions denied. Aborting." + goto MainMenu_Miscellaneous +end +mv -w -k -n 1:/data/$[SYSID0]/sysdata/00010032/00000000 1:/data/$[SYSID0]/sysdata/00010032/00000001 +echo "Friend code and friendlist successfully deleted." +goto MainMenu_Miscellaenous + ################Lazarus3DS Options################ @Miscellaneous_Lazarus3DS_Options @@ -1928,4 +1948,4 @@ goto MainMenu_Miscellaneous #######################Wakas###################### -@MainMenu_Exit \ No newline at end of file +@MainMenu_Exit From 4d67e05185f3d0e62c8655466bb2a39be4e237ab Mon Sep 17 00:00:00 2001 From: Validusername16 Date: Sat, 30 Mar 2019 22:33:43 -0400 Subject: [PATCH 2/4] Add some other files to be deleted Thanks @eip618 --- GM9Megascript.gm9 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/GM9Megascript.gm9 b/GM9Megascript.gm9 index eb1086e..84cf288 100644 --- a/GM9Megascript.gm9 +++ b/GM9Megascript.gm9 @@ -1166,10 +1166,14 @@ rm -o -s 0:/gm9/scripts/cleanup_sd_card.gm9 rm -o -s 0:/arm9loaderhax.bin rm -o -s 0:/files9/aeskeydb.bin +rm -o -s 0:/steelhax rm -o -s 0:/movable.sed -rm -o -s 0:/steelhax/ -rm -o -s 0:/484E4441.bin -rm -o -s 0:/484E4441.bin.patched +rm -o -s 0:/3ds/steelhax_installer.3dsx +rm -o -s 0:/484E4441.bin.patched +rm -o -s 0:/frogcert.bin +rm -o -s 0:/private/ds/app/4B47554A/001/T00031_1038C2A757B77_000.ppm +rm -o -s 0:/3ds/Frogtool.3dsx +rm -o -s 0:/3ds/squirrelboot.3dsx echo "SD card now squeaky clean from setup files." goto MainMenu_Scripts_from_Plailect's_Guide From ad597cbbd0a6e55f58aeb5f2c636870e7f4dcbca Mon Sep 17 00:00:00 2001 From: Validusername16 Date: Sat, 30 Mar 2019 22:39:15 -0400 Subject: [PATCH 3/4] Add a couple more --- GM9Megascript.gm9 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GM9Megascript.gm9 b/GM9Megascript.gm9 index 84cf288..85e31b5 100644 --- a/GM9Megascript.gm9 +++ b/GM9Megascript.gm9 @@ -1168,7 +1168,9 @@ rm -o -s 0:/files9/aeskeydb.bin rm -o -s 0:/steelhax rm -o -s 0:/movable.sed -rm -o -s 0:/3ds/steelhax_installer.3dsx +rm -o -s 0:/3ds/steelhax_installer/* +rm -o -s 0:/3ds/steelhax_installer.* +rm -o -s 0:/484E4441.bin rm -o -s 0:/484E4441.bin.patched rm -o -s 0:/frogcert.bin rm -o -s 0:/private/ds/app/4B47554A/001/T00031_1038C2A757B77_000.ppm From e425cc4d1707cdb0275929a59534b97d2cdf09b0 Mon Sep 17 00:00:00 2001 From: eip618 <36315290+eip618@users.noreply.github.com> Date: Mon, 1 Apr 2019 21:30:38 +1100 Subject: [PATCH 4/4] add cias handling etc --- GM9Megascript.gm9 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/GM9Megascript.gm9 b/GM9Megascript.gm9 index 85e31b5..6e44329 100644 --- a/GM9Megascript.gm9 +++ b/GM9Megascript.gm9 @@ -1159,7 +1159,10 @@ rm -o -s 0:/ntrboot rm -o -s 0:/ntrboot.firm rm -o -s 0:/boot9strap -rm -o -s 0:/cias + +for 0:/cias * + rm -o -s $[FORPATH] +next rm -o -s 0:/gm9/scripts/setup_ctrnand_luma3ds.gm9 rm -o -s 0:/gm9/scripts/cleanup_sd_card.gm9