13.0.0 patches for end users(untested); update sys-clk-OC with libnx 0cc2da7

This commit is contained in:
KazushiM
2021-09-21 12:28:19 +08:00
parent 5fa624c4ed
commit 7cae7ec1f4
16 changed files with 17 additions and 10 deletions

View File

@@ -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!**

View File

@@ -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!")
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.