Skip to content

Commit

Permalink
Merge pull request #10 from Validusername16/master
Browse files Browse the repository at this point in the history
Update Cleanup SD Card and add Deleting Friendlist
  • Loading branch information
annson24 authored Apr 4, 2019
2 parents 5f7c62a + da394aa commit 2b5bff9
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions GM9Megascript.gm9
Original file line number Diff line number Diff line change
Expand Up @@ -1159,12 +1159,26 @@ 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

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:/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
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
Expand Down Expand Up @@ -1592,6 +1606,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
Expand Down Expand Up @@ -1928,4 +1957,4 @@ goto MainMenu_Miscellaneous

#######################Wakas######################

@MainMenu_Exit
@MainMenu_Exit

0 comments on commit 2b5bff9

Please sign in to comment.