Skip to content

Commit

Permalink
all comands and cosmetic things
Browse files Browse the repository at this point in the history
  • Loading branch information
i3sey committed Sep 8, 2023
1 parent ac8aae1 commit 60de8d0
Show file tree
Hide file tree
Showing 21 changed files with 163 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/build
*.nacp
*.elf
*.ovl
*.ovl
.vscode
3 changes: 3 additions & 0 deletions site/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,6 @@ callouts:
note:
title: Note
color: purple
pro-tip:
title: Pro Tip 💡
color: yellow
8 changes: 3 additions & 5 deletions site/about.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ This is the wiki of Uberhand Overlay for developers.
You can find the source code on our [GitHub](https://github.com/efosamark/Uberhand-Overlay)
### Credits

[Efosamark](https://t.me/Efosamark)

[Irene](https://t.me/irene0344)

[I3sey](https://t.me/i3sey)
>[Efosamark](https://t.me/Efosamark)\
>[Irene](https://t.me/irene0344)\
>[I3sey](https://t.me/i3sey)
13 changes: 13 additions & 0 deletions site/docs/Filesystem/Hex/hex-by-cust-offset-dec.md
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
13 changes: 13 additions & 0 deletions site/docs/Filesystem/Hex/hex-by-cust-offset.md
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
12 changes: 12 additions & 0 deletions site/docs/Filesystem/Hex/hex-by-decimal.md
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>
```


2 changes: 1 addition & 1 deletion site/docs/Filesystem/Hex/hex-by-offset.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: page
title: hex-by-offset
parent: Hex
parent: Hex commands
grand_parent: Filesystem
---
Edits the contents of a file at a specified offset with the provided hexadecimal data. Usage:
Expand Down
12 changes: 12 additions & 0 deletions site/docs/Filesystem/Hex/hex-by-rdecimal.md
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>
```


12 changes: 12 additions & 0 deletions site/docs/Filesystem/Hex/hex-by-string.md
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>
```


12 changes: 12 additions & 0 deletions site/docs/Filesystem/Hex/hex-by-swap.md
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>
```


17 changes: 17 additions & 0 deletions site/docs/Filesystem/Hex/json_mark_current.md
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
9 changes: 9 additions & 0 deletions site/docs/Filesystem/download.md
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>
```
2 changes: 1 addition & 1 deletion site/docs/Filesystem/hex.md
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
---
9 changes: 9 additions & 0 deletions site/docs/Filesystem/unzip.md
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>
```
2 changes: 1 addition & 1 deletion site/docs/Misc/back.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: page
title: Back
title: back
parent: Misc
---
The back command allows you to exit the current submenu after selecting an option. Example:
Expand Down
20 changes: 20 additions & 0 deletions site/docs/Misc/catch_errors.md
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.
20 changes: 20 additions & 0 deletions site/docs/Misc/ignore_errors.md
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.
2 changes: 1 addition & 1 deletion site/docs/Misc/reboot.md
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.\
Expand Down
2 changes: 1 addition & 1 deletion site/docs/Misc/shutdown.md
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.\
Expand Down
Binary file added site/images/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions site/index.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

layout: home
---
![](/images/banner.png)
Craft, Share, and Customize Your Commands!

Uberhand is a rework of Ultrahand Overlay, that provides expanded functionality, better user experience and built-in support for various overclocking-related features for your packages. Uberhand enables you to create and share packages, providing enhanced functionality for managing files and directories on your SD card.
Expand Down

0 comments on commit 60de8d0

Please sign in to comment.