From 4e3910236da505d3ab44cf9abc72f1ce3f7d6428 Mon Sep 17 00:00:00 2001 From: saibotu Date: Tue, 26 Sep 2017 00:03:29 +0200 Subject: [PATCH] Uninstall CFW: Use correct NATIVE_FIRM version (#1359) --- gm9_scripts/uninstall_hax_retail_NEW.gm9 | 4 ++-- gm9_scripts/uninstall_hax_retail_OLD.gm9 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gm9_scripts/uninstall_hax_retail_NEW.gm9 b/gm9_scripts/uninstall_hax_retail_NEW.gm9 index 10ff457722..76a2e32e74 100644 --- a/gm9_scripts/uninstall_hax_retail_NEW.gm9 +++ b/gm9_scripts/uninstall_hax_retail_NEW.gm9 @@ -12,11 +12,11 @@ sha S:/sector0x96.bin 82F2730D2C2DA3F30165F987FDCCAC5CBAB24B4E5F65C981CD7BE6F438 # grab NATIVE_FIRM out of the NCCH 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] verify G:/exefs/.firm set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm -cp G:/exefs/.firm $[NATIVE_FIRM] +cp -w G:/exefs/.firm $[NATIVE_FIRM] imgumount # Write NATIVE_FIRM to the FIRM partitions diff --git a/gm9_scripts/uninstall_hax_retail_OLD.gm9 b/gm9_scripts/uninstall_hax_retail_OLD.gm9 index 43b5926de8..7af992b81e 100644 --- a/gm9_scripts/uninstall_hax_retail_OLD.gm9 +++ b/gm9_scripts/uninstall_hax_retail_OLD.gm9 @@ -8,11 +8,11 @@ set SUCCESSMSG "CFW uninstalled successfully" # grab NATIVE_FIRM out of the NCCH 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] verify G:/exefs/.firm set NATIVE_FIRM $[GM9OUT]/NATIVE_FIRM.firm -cp G:/exefs/.firm $[NATIVE_FIRM] +cp -w G:/exefs/.firm $[NATIVE_FIRM] imgumount # Write NATIVE_FIRM to the FIRM partitions