diff --git a/README.md b/README.md index d63c2406..7a442ff7 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,11 @@ # Switch OC Suite -Overclocking suite for Switch **(Mariko Only)** running on Atmosphere CFW. Support Horizon OS 12.1.0. +Overclocking suite for Switch **(Mariko Only)** running on Atmosphere CFW. Support Horizon OS 12.1.0/13.0.0. ## Notice -- AIO Package for 13.0.0 will be released once Atmosphere 1.1.0 is no longer in pre-release state. -- When 13.0.1 is released, support for 12.1.0 will be dropped. - ### Disclaimer **Proceed with caution!** diff --git a/SdOut/TegraExplorer/scripts/PCVPatcher.te b/SdOut/TegraExplorer/scripts/PCVPatcher.te index d27bfaf0..d738499d 100644 --- a/SdOut/TegraExplorer/scripts/PCVPatcher.te +++ b/SdOut/TegraExplorer/scripts/PCVPatcher.te @@ -1,10 +1,10 @@ #REQUIRE VER 4.0.0 #REQUIRE KEYS -targetVer = "12.1.0" +targetVer = "12.1.0/13.0.0" -#pcvModulePath = "bis:/Contents/registered/6b675f6f9c9ec3a4448d81fa2bbc895e.nca/00" -#OldBackupPath = "sd:/atmosphere/oc_patches/13-0-patch.bak" +13pcvModulePath = "bis:/Contents/registered/6b675f6f9c9ec3a4448d81fa2bbc895e.nca/00" +13OldBackupPath = "sd:/atmosphere/oc_patches/13-0-patch.bak" pcvModulePath = "bis:/Contents/registered/3067dd44caacf32f8bca54ecde4c56e2.nca/00" OldBackupPath = "sd:/atmosphere/oc_patches/12-1-patch.bak" @@ -80,8 +80,15 @@ if ( mount("SYSTEM") ) { } if ( ! fsexists(pcvModulePath) ) { - println("Targeted version: ", targetVer, "\n") - fatal(fatalMsg = "You are NOT using targeted Horizon OS version!") + pcvModulePath = 13pcvModulePath + if ( ! fsexists(pcvModulePath) ) { + println("Targeted version: ", targetVer, "\n") + fatal(fatalMsg = "You are NOT using targeted Horizon OS version!") + } + OldBackupPath = 13OldBackupPath + HOSVer = "13.0.0" +}.else() { + HOSVer = "12.1.0" } if ( fsexists(OldBackupPath) ) { @@ -93,6 +100,7 @@ if ( fsexists(OldBackupPath) ) { clear() header() +println(" Horizon OS version: ", HOSVer, "\n") menuOptions = ["Exit", "Dump PCV Module Backup", "Apply Patched PCV Module", "Restore PCV Module Backup"] @@ -131,7 +139,8 @@ Make sure you are following the instructions in README!") fatal(fatalMsg = "Failed to delete unpatched pcv module from MMC!") } if ( copyfile(PatchPath, pcvModulePath) ) { - fatal(fatalMsg = "Failed to apply patched pcv module!\nPLEASE RESTORE PCV BACKUP BEFORE BOOTING TO CFW!") + println("[INFO] COPY ", PatchPath, " --> ", pcvModulePath) + fatal(fatalMsg = "Failed to apply patched pcv module!\nPLEASE APPLY THE PATCHED PCV MODULE MANUALLY BEFORE BOOTING TO CFW!") } } @@ -144,6 +153,7 @@ if ( res == 3 ) { fatal(fatalMsg = "Failed to delete patched pcv module from MMC!") } if ( copyfile(BackupPath, pcvModulePath) ) { + println("[INFO] COPY ", BackupPath, " --> ", pcvModulePath) fatal(fatalMsg = "Failed to restore unpatched pcv module!\nPLEASE RESTORE THE BACKUP MANUALLY BEFORE BOOTING TO CFW!") } } diff --git a/SdOut/atmosphere/contents/00FF0000636C6BFF/exefs.nsp b/SdOut/atmosphere/contents/00FF0000636C6BFF/exefs.nsp index e388d8c4..508c5299 100644 Binary files a/SdOut/atmosphere/contents/00FF0000636C6BFF/exefs.nsp and b/SdOut/atmosphere/contents/00FF0000636C6BFF/exefs.nsp differ diff --git a/SdOut/atmosphere/exefs_patches/am_no_copyright/2C1AD224328D2AF8B2C1A240D0175A108916AC8C.ips b/SdOut/atmosphere/exefs_patches/am_no_copyright/2C1AD224328D2AF8B2C1A240D0175A108916AC8C.ips new file mode 100644 index 00000000..c68320df Binary files /dev/null and b/SdOut/atmosphere/exefs_patches/am_no_copyright/2C1AD224328D2AF8B2C1A240D0175A108916AC8C.ips differ diff --git a/SdOut/atmosphere/oc_patches/13-1600.0/pcv-bspatch b/SdOut/atmosphere/oc_patches/13-1600.0/pcv-bspatch new file mode 100644 index 00000000..16ff8f0f Binary files /dev/null and b/SdOut/atmosphere/oc_patches/13-1600.0/pcv-bspatch differ diff --git a/SdOut/atmosphere/oc_patches/13-1600.0/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips b/SdOut/atmosphere/oc_patches/13-1600.0/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips new file mode 100644 index 00000000..9295b803 Binary files /dev/null and b/SdOut/atmosphere/oc_patches/13-1600.0/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips differ diff --git a/SdOut/atmosphere/oc_patches/13-1728.0/pcv-bspatch b/SdOut/atmosphere/oc_patches/13-1728.0/pcv-bspatch new file mode 100644 index 00000000..42692760 Binary files /dev/null and b/SdOut/atmosphere/oc_patches/13-1728.0/pcv-bspatch differ diff --git a/SdOut/atmosphere/oc_patches/13-1728.0/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips b/SdOut/atmosphere/oc_patches/13-1728.0/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips new file mode 100644 index 00000000..70a3f742 Binary files /dev/null and b/SdOut/atmosphere/oc_patches/13-1728.0/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips differ diff --git a/SdOut/atmosphere/oc_patches/13-1795.2/pcv-bspatch b/SdOut/atmosphere/oc_patches/13-1795.2/pcv-bspatch new file mode 100644 index 00000000..482cc61f Binary files /dev/null and b/SdOut/atmosphere/oc_patches/13-1795.2/pcv-bspatch differ diff --git a/SdOut/atmosphere/oc_patches/13-1795.2/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips b/SdOut/atmosphere/oc_patches/13-1795.2/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips new file mode 100644 index 00000000..feccd106 Binary files /dev/null and b/SdOut/atmosphere/oc_patches/13-1795.2/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips differ diff --git a/SdOut/atmosphere/oc_patches/13-1862.4/pcv-bspatch b/SdOut/atmosphere/oc_patches/13-1862.4/pcv-bspatch new file mode 100644 index 00000000..f9533b5a Binary files /dev/null and b/SdOut/atmosphere/oc_patches/13-1862.4/pcv-bspatch differ diff --git a/SdOut/atmosphere/oc_patches/13-1862.4/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips b/SdOut/atmosphere/oc_patches/13-1862.4/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips new file mode 100644 index 00000000..4cbdb436 Binary files /dev/null and b/SdOut/atmosphere/oc_patches/13-1862.4/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips differ diff --git a/SdOut/atmosphere/oc_patches/13-1996.8/pcv-bspatch b/SdOut/atmosphere/oc_patches/13-1996.8/pcv-bspatch new file mode 100644 index 00000000..c6cce6b6 Binary files /dev/null and b/SdOut/atmosphere/oc_patches/13-1996.8/pcv-bspatch differ diff --git a/SdOut/atmosphere/oc_patches/13-1996.8/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips b/SdOut/atmosphere/oc_patches/13-1996.8/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips new file mode 100644 index 00000000..1aaa9f47 Binary files /dev/null and b/SdOut/atmosphere/oc_patches/13-1996.8/ptm-patch/2CA78D4066C1C11317CC2705EBADA9A51D3AC981.ips differ diff --git a/SdOut/switch/.overlays/sys-clk-overlay.ovl b/SdOut/switch/.overlays/sys-clk-overlay.ovl index c8f02163..94f8184f 100644 Binary files a/SdOut/switch/.overlays/sys-clk-overlay.ovl and b/SdOut/switch/.overlays/sys-clk-overlay.ovl differ diff --git a/SdOut/switch/sys-clk-manager.nro b/SdOut/switch/sys-clk-manager.nro index c7812a2d..932134f7 100644 Binary files a/SdOut/switch/sys-clk-manager.nro and b/SdOut/switch/sys-clk-manager.nro differ