forked from ppkantorski/Ultrahand-Overlay
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
163 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/build | ||
*.nacp | ||
*.elf | ||
*.ovl | ||
*.ovl | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,3 +59,6 @@ callouts: | |
note: | ||
title: Note | ||
color: purple | ||
pro-tip: | ||
title: Pro Tip 💡 | ||
color: yellow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
layout: page | ||
title: hex-by-cust-offset-dec | ||
parent: Hex commands | ||
grand_parent: Filesystem | ||
--- | ||
Changes the value with offset from the word CUST ("C" letter) in loader.kip. (decimal -> hex with reverse). Usage: | ||
``` | ||
hex-by-cust-offset-dec <kip_path> <offset> <decimal_data_replacement> | ||
``` | ||
|
||
{: .exclusive } | ||
Exclusively for Uberhand |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
layout: page | ||
title: hex-by-cust-offset | ||
parent: Hex commands | ||
grand_parent: Filesystem | ||
--- | ||
Changes the hex value with offset from the word CUST ("C" letter) in loader.kip. (not reversed). Usage: | ||
``` | ||
hex-by-cust-offset <kip_path> <offset> <hex_data_replacement> | ||
``` | ||
|
||
{: .exclusive } | ||
Exclusively for Uberhand |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: page | ||
title: hex-by-decimal | ||
parent: Hex commands | ||
grand_parent: Filesystem | ||
--- | ||
Edits the contents of a file by replacing a specified decimal data with another. Usage: | ||
``` | ||
hex-by-decimal <file_path> <decimal_data_to_replace> <decimal_data_replacement> | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: page | ||
title: hex-by-rdecimal | ||
parent: Hex commands | ||
grand_parent: Filesystem | ||
--- | ||
Edits the contents of a file by replacing a specified reverse decimal data with another. Usage: | ||
``` | ||
hex-by-rdecimal <file_path> <decimal_data_to_replace> <decimal_data_replacement> | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: page | ||
title: hex-by-string | ||
parent: Hex commands | ||
grand_parent: Filesystem | ||
--- | ||
Edits the contents of a file by replacing a specified string data with another. Usage: | ||
``` | ||
hex-by-string <file_path> <string_data_to_replace> <string_data_replacement> | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: page | ||
title: hex-by-swap | ||
parent: Hex commands | ||
grand_parent: Filesystem | ||
--- | ||
Edits the contents of a file by replacing a specified hexadecimal data with another. Usage: | ||
``` | ||
hex-by-swap <file_path> <hex_data_to_replace> <hex_data_replacement> | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
layout: page | ||
title: json_mark_current | ||
parent: Hex commands | ||
grand_parent: Filesystem | ||
--- | ||
Creates a menu from the contents of the JSON file, marking the current value at the offset from CUST from the loader.kip. Usage: | ||
``` | ||
json_mark_current <path_to_json> name <offset> | ||
``` | ||
Example: | ||
``` | ||
json_mark_current '/switch/.packages/4IFIR Wizard/json/RAM/MHz.json' name 32 | ||
``` | ||
|
||
{: .exclusive } | ||
Exclusively for Uberhand |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: page | ||
title: download | ||
parent: Filesystem | ||
--- | ||
Downloads a file by url. Usage: | ||
``` | ||
download <file_url> <destination_directory_path> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
layout: default | ||
title: Hex | ||
title: Hex commands | ||
parent: Filesystem | ||
has_children: true | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: page | ||
title: unzip | ||
parent: Filesystem | ||
--- | ||
extracts the archive to the specified folder. Usage: | ||
``` | ||
unzip <zip_file_path> <destination_directory_path> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
layout: page | ||
title: catch_errors | ||
parent: Misc | ||
--- | ||
Enables error handling in the current config before the ignore_errors command. | ||
Catch_errors stops program execution, if a failure occurs at any step. \ | ||
Usage: | ||
``` | ||
catch_errors | ||
<some code in which errors are unacceptable> | ||
ignore_errors | ||
<some code in which errors should be ignored> | ||
``` | ||
|
||
{: .exclusive } | ||
Exclusively for Uberhand | ||
|
||
{: .pro-tip } | ||
One of the best use cases for catch_errors is to stop execution when a download or decompression fails. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
layout: page | ||
title: ignore_errors | ||
parent: Misc | ||
--- | ||
Disables error handling in the current config before the catch_errors command.\ | ||
Usage: | ||
``` | ||
<some code in which errors should be ignored> | ||
catch_errors | ||
<some code in which errors are unacceptable> | ||
ignore_errors | ||
<some code in which errors should be ignored> | ||
``` | ||
|
||
{: .exclusive } | ||
Exclusively for Uberhand | ||
|
||
{: .pro-tip } | ||
By default, error handling is **disabled** for backwards compatibility, so you don't need to use ```ignore_errors``` in every script. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
layout: page | ||
title: Reboot | ||
title: reboot | ||
parent: Misc | ||
--- | ||
Restarts the system.\ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
layout: page | ||
title: Shutdown | ||
title: shutdown | ||
parent: Misc | ||
--- | ||
Shuts down the system.\ | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters