Uninstall CFW: Use correct NATIVE_FIRM version (#1359)

This commit is contained in:
saibotu 2017-09-26 00:03:29 +02:00 committed by Devon Maloney
parent 6c7f5f54a6
commit 8de4872f4d
2 changed files with 4 additions and 4 deletions

View file

@ -12,11 +12,11 @@ sha S:/sector0x96.bin 82F2730D2C2DA3F30165F987FDCCAC5CBAB24B4E5F65C981CD7BE6F438
# grab NATIVE_FIRM out of the NCCH # grab NATIVE_FIRM out of the NCCH
set ERRORMSG "NATIVE_FIRM not found.\nIs this a N3DS?" set ERRORMSG "NATIVE_FIRM not found.\nIs this a N3DS?"
find 1:/title/00040138/20000002/content/????????.app NATIVE_NCCH find -f 1:/title/00040138/20000002/content/????????.app NATIVE_NCCH
imgmount $[NATIVE_NCCH] imgmount $[NATIVE_NCCH]
verify G:/exefs/.firm verify G:/exefs/.firm
set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm
cp G:/exefs/.firm $[NATIVE_FIRM] cp -w G:/exefs/.firm $[NATIVE_FIRM]
imgumount imgumount
# Write NATIVE_FIRM to the FIRM partitions # Write NATIVE_FIRM to the FIRM partitions

View file

@ -8,11 +8,11 @@ set SUCCESSMSG "CFW uninstalled successfully"
# grab NATIVE_FIRM out of the NCCH # grab NATIVE_FIRM out of the NCCH
set ERRORMSG "NATIVE_FIRM not found.\nIs this a O3DS?" set ERRORMSG "NATIVE_FIRM not found.\nIs this a O3DS?"
find 1:/title/00040138/00000002/content/????????.app NATIVE_NCCH find -f 1:/title/00040138/00000002/content/????????.app NATIVE_NCCH
imgmount $[NATIVE_NCCH] imgmount $[NATIVE_NCCH]
verify G:/exefs/.firm verify G:/exefs/.firm
set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm
cp G:/exefs/.firm $[NATIVE_FIRM] cp -w G:/exefs/.firm $[NATIVE_FIRM]
imgumount imgumount
# Write NATIVE_FIRM to the FIRM partitions # Write NATIVE_FIRM to the FIRM partitions