diff --git a/.github/workflows/deploy_configurator.yml b/.github/workflows/deploy_pages.yml
similarity index 55%
rename from .github/workflows/deploy_configurator.yml
rename to .github/workflows/deploy_pages.yml
index e01792b7..54e3bfc8 100644
--- a/.github/workflows/deploy_configurator.yml
+++ b/.github/workflows/deploy_pages.yml
@@ -1,5 +1,5 @@
# Simple workflow for deploying static content to GitHub Pages
-name: Deploy static content to Pages (Configurator)
+name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
@@ -32,22 +32,11 @@ jobs:
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v2
- - name: HTML/CSS/JS Minifier
- # You may pin to the exact commit or the version.
- # uses: devatherock/minify-js@a25175eaf2c438680b21b73882d4837418e9d58b
- uses: devatherock/minify-js@v1.0.3
- with:
- # File to minify or a folder containing files to minify. By default, all files in current folder and its subfolders will be minified
- directory: './pages/dist' # optional
- # Path where the minified files will be saved. By default, the minified files will be saved in the original file path
- output: './pages/dist_min' # optional
- # Indicates if the output files should have the suffix '.min' added after the name. Default is true
- add_suffix: false # optional
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
- path: './pages/dist_min'
+ path: './pages/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
diff --git a/pages/build.sh b/pages/build.sh
index a3fbff59..3fa553df 100755
--- a/pages/build.sh
+++ b/pages/build.sh
@@ -1,6 +1,15 @@
#!/bin/bash
+[ -d "./tmp" ] || mkdir ./tmp
[ -d "./dist" ] || mkdir ./dist
-cp -Rf ./src/*.html ./dist/
+
# README_HTML=`pandoc -f gfm -t html5 ../README.md`
-tsc ./src/main.ts --outDir ./dist/ -lib es2015,dom -t es2015
+
+cp -Rf ./src/*.html ./tmp/
+tsc ./src/main.ts --outDir ./tmp/ -lib es2015,dom -t es2015
+
+for FILE in ./tmp/*; do
+ minify "${FILE}" > "./dist/${FILE/.\/tmp\/}"
+done
+
+rm -fr ./tmp
\ No newline at end of file
diff --git a/pages/dist/index.html b/pages/dist/index.html
index 45262af2..4059701a 100644
--- a/pages/dist/index.html
+++ b/pages/dist/index.html
@@ -1,403 +1 @@
-
-
-
-
-
-
- Switch OC Suite | Overclocking suite for Horizon OS (HOS) running on Atmosphere CFW. Licensed under GPL v2.
-
-
-
-
-
-
-
-
-
-
-
-
Switch OC Suite
-
Overclocking suite for Horizon OS (HOS) running on Atmosphere CFW. Licensed under GPL v2.
-
-
-
-
-
-
-
-
-
Read Me
-
🚨DISCLAIMER: THIS IS PROVIDED AS IS. USE AT YOUR OWN RISK!🚨
-
-
- Overclocking in general will shorten the lifespan of some
- hardware components. YOU ARE RESPONSIBLE for any problem or
- potential damage if unsafe frequencies are ENABLED in
- sys-clk-OC. Issues like asking for bypassing limit will BE IGNORED OR
- CLOSED WITHOUT REPLY.
-
-
- Due to HorizonOS design, instabilities from unsafe RAM clocks may
- cause filesystem corruption. Always make backup before enabling
- DRAM OC.
-
Enable CPU Boost (1785 MHz) when CPU Core#3 (System Core) is
- stressed (mainly I/O operations).
-
Effective only when charger is connected.
-
-
-
CPU & GPU frequency governor (Experimental)
-
-
Adjust frequency based on load. Might decrease power draw but can
- introduce stutters. Can be turned off for specific titles.
-
-
-
Set charging current (100 mA - 2000 mA) and charging limit (20% -
- 100%)
-
-
Long-term use of charge limit may render the battery gauge
- inaccurate. Performing full cycles could help recalibration, or try battery_desync_fix_nx.
Configure and run test_patch.sh to generate patched pcv & ptm sysmodules in nca
-
Replace nca in SYSTEM:/Contents/registered/ with TegraExplorer
-
ValidateAcidSignature() should be stubbed to allow unsigned sysmodules to load (a.k.a.
- loader_patch)
-
-
-
-
- How to build this project
-
-
Grab necessary patches from the repo, then compile sys-clk, ReverseNX-RT and Atmosphere loader with
- devkitpro.
-
Before compiling Atmosphere loader, run patch.py in
- Atmosphere/stratosphere/loader/source/ to insert oc module into loader sysmodule.
-
-
When compilation is done, uncompress the kip to make it work with configurator:
- hactool -t kip1 Atmosphere/stratosphere/loader/out/nintendo_nx_arm64_armv8a/release/loader.kip --uncompress=./loader.kip
-
-
-
-
Frequently Asked Questions
-
- How to enable unsafe frequencies in sys-clk-OC?
-
See the end of README in sys-clk-OC. Add this line allow_unsafe_freq=1 into
- /config/sys-clk/config.ini
-
-
-
- I would like to bypass limit enforced in sys-clk to improve handheld performance without charger
- connected.
-
Never will it be implemented here, or work out of the box.
-
You have to modify the code yourself for your own use. If you are to share modified binaries you have
- made based on this project publicly, make sure to comply with GPL v2 licenses.
-
-
-
-
-
-
-
-
-
-
-
-
Download
-
Get latest version of Switch OC Suite and its corresponding Atmosphere package here.
Configure frequencies and voltages to suit your hardware and preferences.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+Switch OC Suite | Overclocking suite for Horizon OS (HOS) running on Atmosphere CFW. Licensed under GPL v2.
Switch OC Suite
Overclocking suite for Horizon OS (HOS) running on Atmosphere CFW. Licensed under GPL v2.
Read Me
🚨DISCLAIMER: THIS IS PROVIDED AS IS. USE AT YOUR OWN RISK!🚨
Overclocking in general will shorten the lifespan of some hardware components. YOU ARE RESPONSIBLE for any problem or potential damage if unsafe frequencies are ENABLED in sys-clk-OC. Issues like asking for bypassing limit will BE IGNORED OR CLOSED WITHOUT REPLY.
Due to HorizonOS design, instabilities from unsafe RAM clocks may cause filesystem corruption. Always make backup before enabling DRAM OC.
Configure and run test_patch.sh to generate patched pcv & ptm sysmodules in nca
Replace nca in SYSTEM:/Contents/registered/ with TegraExplorer
ValidateAcidSignature() should be stubbed to allow unsigned sysmodules to load (a.k.a. loader_patch)
How to build this project
Grab necessary patches from the repo, then compile sys-clk, ReverseNX-RT and Atmosphere loader with devkitpro.
Before compiling Atmosphere loader, run patch.py in Atmosphere/stratosphere/loader/source/ to insert oc module into loader sysmodule.
When compilation is done, uncompress the kip to make it work with configurator: hactool -t kip1 Atmosphere/stratosphere/loader/out/nintendo_nx_arm64_armv8a/release/loader.kip --uncompress=./loader.kip
See the end of README in sys-clk-OC. Add this line allow_unsafe_freq=1 into /config/sys-clk/config.ini
I would like to bypass limit enforced in sys-clk to improve handheld performance without charger connected.
Never will it be implemented here, or work out of the box.
You have to modify the code yourself for your own use. If you are to share modified binaries you have made based on this project publicly, make sure to comply with GPL v2 licenses.
Download
Get latest version of Switch OC Suite and its corresponding Atmosphere package here.
0: AUTO_ADJ_MARIKO_SAFE: Auto adjust timings for LPDDR4 ≤3733 Mbps specs, 8Gb density. (Default)
\
-
1: AUTO_ADJ_MARIKO_4266: Auto adjust timings for LPDDR4X 4266 Mbps specs, 8Gb density.
\
-
2: NO_ADJ_ALL: No timing adjustment for both Erista and Mariko. Might achieve better performance on Mariko but lower maximum frequency is expected.", 0, [0, 2], 1),
- new CustEntry("marikoCpuMaxClock", "Mariko CPU Max Clock in kHz", CustPlatform.Mariko, 4, "
System default: 1785000
\
-
2397000 might be unreachable for some SoCs.
", 2397000, [1785000, 3000000], 1),
- new CustEntry("marikoCpuBoostClock", "Mariko CPU Boost Clock in kHz", CustPlatform.Mariko, 4, "
System default: 1785000
\
-
Boost clock will be applied when applications request higher CPU frequency for quicker loading.
\
-
This will be set regardless of whether sys-clk is enabled.
", 1785000, [1020000, 3000000], 1, false),
- new CustEntry("marikoCpuMaxVolt", "Mariko CPU Max Voltage in mV", CustPlatform.Mariko, 4, "
System default: 1120
\
-
Acceptable range: 1100 ≤ x ≤ 1300
", 1235, [1100, 1300], 5),
- new CustEntry("marikoGpuMaxClock", "Mariko GPU Max Clock in kHz", CustPlatform.Mariko, 4, "
System default: 921600
\
-
Tegra X1+ official maximum: 1267200
\
-
1305600 might be unreachable for some SoCs.
", 1305600, [768000, 1536000], 100),
- new CustEntry("marikoEmcMaxClock", "Mariko RAM Max Clock in kHz", CustPlatform.Mariko, 4, "
Values should be ≥ 1600000, and divided evenly by 3200.
\
-
WARNING: RAM overclock could be UNSTABLE if timing parameters are not suitable for your DRAM
", 1996800, [1600000, 2400000], 3200),
- new CustEntry("marikoEmcVddqVolt", "EMC Vddq (Mariko Only) Voltage in uV", CustPlatform.Mariko, 4, "
Acceptable range: 550000 ≤ x ≤ 650000
\
-
Value should be divided evenly by 5000
\
-
Default: 600000
\
-
Not enabled by default.
\
-
This will not work without sys-clk-OC.
", 0, [550000, 650000], 5000),
- new CustEntry("eristaCpuMaxVolt", "Erista CPU Max Voltage in mV", CustPlatform.Erista, 4, "
Acceptable range: 1100 ≤ x ≤ 1300
", 1235, [1100, 1300], 1),
- new CustEntry("eristaEmcMaxClock", "Erista RAM Max Clock in kHz", CustPlatform.Erista, 4, "
Values should be ≥ 1600000, and divided evenly by 3200.
\
-
WARNING: RAM overclock could be UNSTABLE if timing parameters are not suitable for your DRAM
", 1862400, [1600000, 2400000], 3200),
- new CustEntry("commonEmcMemVolt", "EMC Vddq (Erista Only) & RAM Vdd2 Voltage in uV", CustPlatform.All, 4, "
Acceptable range: 1100000 ≤ x ≤ 1250000, and it should be divided evenly by 12500.
0: AUTO_ADJ_MARIKO_SAFE: Auto adjust timings for LPDDR4 ≤3733 Mbps specs, 8Gb density. (Default)
1: AUTO_ADJ_MARIKO_4266: Auto adjust timings for LPDDR4X 4266 Mbps specs, 8Gb density.
2: NO_ADJ_ALL: No timing adjustment for both Erista and Mariko. Might achieve better performance on Mariko but lower maximum frequency is expected.",0,[0,2],1),new CustEntry("marikoCpuMaxClock","Mariko CPU Max Clock in kHz",CustPlatform.Mariko,4,"
System default: 1785000
2397000 might be unreachable for some SoCs.
",2397e3,[1785e3,3e6],1),new CustEntry("marikoCpuBoostClock","Mariko CPU Boost Clock in kHz",CustPlatform.Mariko,4,"
System default: 1785000
Boost clock will be applied when applications request higher CPU frequency for quicker loading.
This will be set regardless of whether sys-clk is enabled.
",1785e3,[102e4,3e6],1,!1),new CustEntry("marikoCpuMaxVolt","Mariko CPU Max Voltage in mV",CustPlatform.Mariko,4,"
System default: 1120
Acceptable range: 1100 ≤ x ≤ 1300
",1235,[1100,1300],5),new CustEntry("marikoGpuMaxClock","Mariko GPU Max Clock in kHz",CustPlatform.Mariko,4,"
System default: 921600
Tegra X1+ official maximum: 1267200
1305600 might be unreachable for some SoCs.
",1305600,[768e3,1536e3],100),new CustEntry("marikoEmcMaxClock","Mariko RAM Max Clock in kHz",CustPlatform.Mariko,4,"
Values should be ≥ 1600000, and divided evenly by 3200.
WARNING: RAM overclock could be UNSTABLE if timing parameters are not suitable for your DRAM
",1996800,[16e5,24e5],3200),new CustEntry("marikoEmcVddqVolt","EMC Vddq (Mariko Only) Voltage in uV",CustPlatform.Mariko,4,"
Acceptable range: 550000 ≤ x ≤ 650000
Value should be divided evenly by 5000
Default: 600000
Not enabled by default.
This will not work without sys-clk-OC.
",0,[55e4,65e4],5e3),new CustEntry("eristaCpuMaxVolt","Erista CPU Max Voltage in mV",CustPlatform.Erista,4,"
Acceptable range: 1100 ≤ x ≤ 1300
",1235,[1100,1300],1),new CustEntry("eristaEmcMaxClock","Erista RAM Max Clock in kHz",CustPlatform.Erista,4,"
Values should be ≥ 1600000, and divided evenly by 3200.
WARNING: RAM overclock could be UNSTABLE if timing parameters are not suitable for your DRAM
",1862400,[16e5,24e5],3200),new CustEntry("commonEmcMemVolt","EMC Vddq (Erista Only) & RAM Vdd2 Voltage in uV",CustPlatform.All,4,"
Acceptable range: 1100000 ≤ x ≤ 1250000, and it should be divided evenly by 12500.