1
0
mirror of https://github.com/hacks-guide/Guide_3DS.git synced 2025-08-15 13:14:39 +02:00

Move assets to VitePress

This commit is contained in:
lifehackerhansol
2024-09-16 01:39:24 -07:00
parent 75fd318ab3
commit cf408fbf94
148 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,61 @@
# last changed: 20171107
# author: Some1CP
set SUCCESSMSG "Cleanup completed successfully"
set ERRORMSG "Cleanup failed"
ask "This will clean the final setup files from your SD.\n\nContinue?"
#allow SD modifications
allow -a 0:/
# remove existing files
#2xrsa
rm -o -s 0:/arm9.bin
rm -o -s 0:/arm11.bin
#Cubic Ninja
rm -o -s 0:/ntr.bin
#Soundhax
rm -o -s 0:/soundhax-usa-o3ds.m4a
rm -o -s 0:/soundhax-usa-n3ds.m4a
rm -o -s 0:/soundhax-eur-o3ds.m4a
rm -o -s 0:/soundhax-eur-n3ds.m4a
rm -o -s 0:/soundhax-jpn-o3ds.m4a
rm -o -s 0:/soundhax-jpn-n3ds.m4a
rm -o -s 0:/soundhax-kor-o3ds.m4a
rm -o -s 0:/soundhax-kor-n3ds.m4a
rm -o -s 0:/otherapp.bin
rm -o -s 0:/3ds/safehax.3dsx
rm -o -s 0:/3ds/udsploit.3dsx
rm -o -s 0:/safehaxpayload.bin
#mset
rm -o -s 0:/Launcher.dat
rm -o -s 0:/SafeB9SInstaller.dat
#DSiWareHax
rm -o -s 0:/public.sav
rm -o -s 0:/boot.nds
rm -o -s 0:/savedata
rm -o -s 0:/sudoku_v0.app
rm -o -s 0:/4swords.app
#ntrboot_flasher
rm -o -s 0:/luma/payloads/ntrboot_flasher.firm
rm -o -s 0:/ntrboot
rm -o -s 0:/ntrboot.firm
#Common files
rm -o -s 0:/boot9strap
rm -o -s 0:/cias
rm -o -s 0:/gm9/scripts/setup_ctrnand_luma3ds.gm9
rm -o -s 0:/gm9/scripts/cleanup_sd_card.gm9
#A9LH files
rm -o -s 0:/arm9loaderhax.bin
rm -o -s 0:/files9/aeskeydb.bin
set ERRORMSG "Cleanup completed successfully"

View File

@@ -0,0 +1,24 @@
# CTRTransfer Ticket Copy script
# last changed: 20170716
# author: Plailect
set SUCCESSMSG "Copied tickets successfully"
ask "This will copy CTRTransfer tickets,\nallowing for your games to work correctly.\n\nContinue?"
allow 1:/
# Mount ticket image backup
set ERRORMSG "Could not find ticket backup.\nSomething has gone wrong with your CTRTransfer."
imgmount 1:/dbs/ticket.bak
# Check for "eshop" or "unknown" tickets, ignore "system" tickets (because "system" has no "o" in it)
# AFAIK there's no better way to do this because I can't do && in a "find" command
set ERRORMSG "No user tickets found.\nSkip the 'Reinstalling Tickets' section."
find T:/*o* NULL
set ERRORMSG ""
rm -o -s $[GM9OUT]/ctrtransfer_tickets
mkdir $[GM9OUT]/ctrtransfer_tickets
cp -o -s T:/eshop $[GM9OUT]/ctrtransfer_tickets/eshop
cp -o -s T:/unknown $[GM9OUT]/ctrtransfer_tickets/unknown

View File

@@ -0,0 +1,23 @@
# last changed: 20171118
# author: figgyc
set ERRORMSG "HOME Menu extdata removal failed"
set SUCCESSMSG "HOME Menu extdata removal success"
ask "This will remove the HOME Menu extdata from your SD.\n\nContinue?"
# allow "SYSNAND SD" (Nintendo 3DS folder) modifications
allow -a A:/
# EUR
rm -o -s A:/extdata/00000000/00000098
# JPN
rm -o -s A:/extdata/00000000/00000082
# USA
rm -o -s A:/extdata/00000000/0000008f
# CHN
rm -o -s A:/extdata/00000000/000000A1
# KOR
rm -o -s A:/extdata/00000000/000000A9
# TWN
rm -o -s A:/extdata/00000000/000000B1

View File

@@ -0,0 +1,12 @@
# last changed: 20171118
# author: figgyc
ask "This will remove the NNID from your device.\n\nContinue?"
set ERRORMSG "NNID removal failed"
set SUCCESSMSG "NNID removal success"
# allow NAND modifications
allow -a 1:/
mv -w 1:/data/$[SYSID0]/sysdata/00010038/00000000 1:/data/$[SYSID0]/sysdata/00010038/10000000

View File

@@ -0,0 +1,19 @@
# SafeB9SInstaller reverter script (restores the backed up data)
# Not recommended on custom NCSDs(!)
# last changed: 20170706
# author: d0k3
set SUCCESSMSG "SB9SI reverted successfully"
# check for boot9strap firm backup
set ERRORMSG "SB9SI FIRM backup not found"
find 0:/boot9strap/firm0_enc.bak NULL
find 0:/boot9strap/firm1_enc.bak NULL
# inject the backups @ the correct locations
set ERRORMSG "SB9SI not reverted.\nNo changes written to the system."
ask "!!WARNING!!\nThis will restore the backups\nfound in 0:/boot9strap.\n \nProceed?"
allow S:/nand.bin
inject -n -s -o 0:/boot9strap/sector0x96_enc.bak S:/nand.bin@12C00
inject -n 0:/boot9strap/firm0_enc.bak S:/nand.bin@B130000
inject -n 0:/boot9strap/firm1_enc.bak S:/nand.bin@B530000

View File

@@ -0,0 +1,17 @@
# SafeB9SInstaller reverter script (restores the backed up data)
# Not recommended on custom NCSDs(!)
# last changed: 20170706
# author: d0k3
set SUCCESSMSG "SB9SI reverted successfully"
# check for boot9strap firm backup
set ERRORMSG "SB9SI (pre0.0.7) FIRM backup not found"
find 0:/boot9strap/firm0firm1.bak NULL
# inject the backups @ the correct locations
set ERRORMSG "SB9SI not reverted.\nNo changes written to the system."
ask "!!WARNING!!\nThis will restore the backups\nfound in 0:/boot9strap/.\n \nProceed?"
allow S:/nand.bin
inject -n -s -o 0:/boot9strap/sector0x96.bak S:/nand.bin@12C00
inject -n 0:/boot9strap/firm0firm1.bak S:/nand.bin@B130000

View File

@@ -0,0 +1,10 @@
ask "!!! CAREFUL !!!\nThis script will temporarily boot the\nconsole STOCK to check if it will work\nproperly after CFW is uninstalled.\n \nYou should only be using this script\nwhile following the instructions on\n3ds.hacks.guide/uninstall-cfw.\n \nThe console will remain in 'stock mode'\nuntil it is rebooted. Note that entering\nand exiting DS mode or System Settings\nwill reboot the console.\n \nUpdating from this environment may\nlead to UNINTENDED CONSEQUENCES!\n \nContinue?"
if chk $[ONTYPE] "N3DS"
set D 2
else
set D 0
end
find 1:/title/00040138/$[D]0000002/content/????????.app A
imgmount $[A]
verify G:/exefs/.firm
boot G:/exefs/.firm

View File

@@ -0,0 +1,19 @@
# Luma3DS CTRNAND Setup script
# last changed: 20170716
# author: ihaveamac
set SUCCESSMSG "Luma3DS copied successfully"
ask "This will copy Luma3DS to your CTRNAND,\nallowing for the system to work without\nan SD card.\n\nContinue?"
allow 1:/
# remove existing files just in case
rm -o -s 1:/boot.firm
rm -o -s 1:/rw/luma
# copy specific files over
cp 0:/boot.firm 1:/boot.firm
mkdir 1:/rw/luma
cp 0:/luma/payloads 1:/rw/luma/payloads
cp 0:/luma/config.bin 1:/rw/luma/config.bin

View File

@@ -0,0 +1,30 @@
# SigHax Uninstaller script (reverts from SigHax to stock)
# This is for retail N3DS units only
# Not recommended on custom NCSDs(!)
# last changed: 20170716
# author: d0k3
set SUCCESSMSG "CFW uninstalled successfully"
# check sector 0x96
set ERRORMSG "Sector 0x96 is not genuine.\nCan't continue."
sha S:/sector0x96.bin 82F2730D2C2DA3F30165F987FDCCAC5CBAB24B4E5F65C981CD7BE6F438E6D9D3
# grab NATIVE_FIRM out of the NCCH
set ERRORMSG "NATIVE_FIRM not found.\nIs this a N3DS?"
find -f 1:/title/00040138/20000002/content/????????.app NATIVE_NCCH
imgmount $[NATIVE_NCCH]
verify G:/exefs/.firm
set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm
cp -w G:/exefs/.firm $[NATIVE_FIRM]
imgumount
# Write NATIVE_FIRM to the FIRM partitions
set ERRORMSG "Sighax not uninstalled.\nNo changes written to the system."
ask "!!WARNING!!\nThis will remove sighax and\nrevert your system to stock.\n \nProceed?"
allow S:/firm0.bin # same permission level for all firms
allow 1:/ # for ctrnand file removal
rm -o -s 1:/boot.firm
rm -o -s 1:/rw/luma
cp -n $[NATIVE_FIRM] S:/firm0.bin
cp -n $[NATIVE_FIRM] S:/firm1.bin

View File

@@ -0,0 +1,26 @@
# SigHax Uninstaller script (reverts from SigHax to stock)
# This is for retail O3DS units only
# Not recommended on custom NCSDs(!)
# last changed: 20170716
# author: d0k3
set SUCCESSMSG "CFW uninstalled successfully"
# grab NATIVE_FIRM out of the NCCH
set ERRORMSG "NATIVE_FIRM not found.\nIs this a O3DS?"
find -f 1:/title/00040138/00000002/content/????????.app NATIVE_NCCH
imgmount $[NATIVE_NCCH]
verify G:/exefs/.firm
set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm
cp -w G:/exefs/.firm $[NATIVE_FIRM]
imgumount
# Write NATIVE_FIRM to the FIRM partitions
set ERRORMSG "Sighax not uninstalled.\nNo changes written to the system."
ask "!!WARNING!!\nThis will remove sighax and\nrevert your system to stock.\n \nProceed?"
allow S:/nand.bin # same permission level for all firms
allow 1:/ # for ctrnand file removal
rm -o -s 1:/boot.firm
rm -o -s 1:/rw/luma
cp -n $[NATIVE_FIRM] S:/firm0.bin
cp -n $[NATIVE_FIRM] S:/firm1.bin