Skip to content

Commit

Permalink
Update manual ctrtransfer script
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenChen authored Jan 3, 2021
1 parent 33d4414 commit f1ace62
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions 3ds/assets/manual_transfer.gm9
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
#Ctrnand fix manual
#Manual ctrnand Transfer Script
#Use Cases:
#Provide your own console uniques files for a ctrtransfer
#Do a complete replacement of the 3DS ctrnand
#How to use:
#By default the script tries to fetch console uniques
#from essential.exefs otherwise it will try to fetch them
#from /gm9/out/backup/ in the SD card

#Try getting console unique files, can be provided by the user manually
#by placing them in /gm9/out/backup/
#LAST UPDATED 2021/01/03

find -o -s S:/essential.exefs ESSENTIAL

if chk $[ESSENTIAL] ""
echo "essential.exefs in sysnand virtual is not accesible, using fallback."
echo "essential.exefs in sysnand virtual is not accesible, using fallback folder!"
find -o -s $[GM9OUT]/essential.exefs ESSENTIAL
end

Expand All @@ -27,15 +33,15 @@ if chk -u $[ESSENTIAL] ""
cp $[ESSENTIAL] $[BACKUP]/essential.exefs
end

set ERRORMSG "Missing console unique files"
set ERRORMSG "Missing console unique files in fallback folder!"

find $[BACKUP]/LocalFriendCodeSeed_B SEED
find $[BACKUP]/HWCAL0.dat HWCAL0
find $[BACKUP]/HWCAL1.dat HWCAL1
find $[BACKUP]/movable.sed MOVABLE
find $[BACKUP]/SecureInfo_A SECINFO

set ERRORMSG "No file found or selected"
set ERRORMSG "No ctrnand image found or selected"

if chk $[ONTYPE] "N3DS"
filesel "Select ctrnand image to use" $[GM9OUT]/*_ctrtransfer_n3ds.bin IMAGE
Expand Down

0 comments on commit f1ace62

Please sign in to comment.