From 6cf3b22974337c77a79d48499eb8d05fb0883e3a Mon Sep 17 00:00:00 2001 From: NiklasCFW Date: Thu, 30 Jan 2025 01:26:51 +0100 Subject: [PATCH] Broomstick 0.4.0 --- Switch/.packages/Broomstick/README.md | 27 ++++++++++++++++ Switch/.packages/Broomstick/config.ini | 1 + Switch/.packages/Broomstick/package.ini | 43 +++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 Switch/.packages/Broomstick/README.md create mode 100644 Switch/.packages/Broomstick/config.ini create mode 100644 Switch/.packages/Broomstick/package.ini diff --git a/Switch/.packages/Broomstick/README.md b/Switch/.packages/Broomstick/README.md new file mode 100644 index 0000000..6491132 --- /dev/null +++ b/Switch/.packages/Broomstick/README.md @@ -0,0 +1,27 @@ +# Broomstick (now deprecated on v1.3.9+) + +The Broomstick package allows you to offload and restore specific overlays on your device. + +## Configuration + +The `package.ini` file contains the following configurations: + +- `[Offload Overlays]`: Moves selected overlays to a designated offload directory. +- `[Restore Overlays]`: Restores previously offloaded overlays back to their original location. + +Each configuration has a set of commands that perform the offloading or restoration of overlays. + +## Usage + +To use Broomstick: + +1. Open the `package.ini` file located in the `examples/Broomstick` directory. +2. Uncomment the desired configuration and its corresponding commands by removing the semicolon (`;`) at the beginning of each line. +3. Save the `package.ini` file after making the necessary changes. +4. Copy the `Broomstick` directory to your device under the appropriate location. + +Note: Offloading overlays can help improve performance and free up system resources, but it may also affect the functionality of certain features or applications that rely on those overlays. Use this feature with caution and ensure that you understand the potential implications. + +## Additional Information + +For more details on the Ultrahand Overlay project and its features, please refer to the [official GitHub repository](https://github.com/ppkantorski/Ultrahand-Overlay). diff --git a/Switch/.packages/Broomstick/config.ini b/Switch/.packages/Broomstick/config.ini new file mode 100644 index 0000000..1becba2 --- /dev/null +++ b/Switch/.packages/Broomstick/config.ini @@ -0,0 +1 @@ +404: Not Found \ No newline at end of file diff --git a/Switch/.packages/Broomstick/package.ini b/Switch/.packages/Broomstick/package.ini new file mode 100644 index 0000000..4b45d25 --- /dev/null +++ b/Switch/.packages/Broomstick/package.ini @@ -0,0 +1,43 @@ +;creator=ppkantorski +;version=0.4.0 +;about='This package contains commands to hide and show your overlays and packages.' + +[*Toggle Overlay] +;mode=toggle +filter /switch/.overlays/ovlmenu.ovl +on: + file_source /switch/.overlays/*.ovl + mkdir /switch/.overlays/.offload/ + move {file_source} /switch/.overlays/.offload/ +off: + file_source /switch/.overlays/.offload/*.ovl + move {file_source} /switch/.overlays/ + +[*Toggle Package] +;mode=toggle +filter /switch/.packages/Broomstick/ +on: + filter /switch/.packages/.offload/ + file_source /switch/.packages/*/ + mkdir /switch/.packages/.offload/ + move {file_source} /switch/.packages/.offload/{file_name}/ +off: + file_source /switch/.packages/.offload/*/ + move {file_source} /switch/.packages/{file_name}/ + +[Enable Overlays] +move /switch/.overlays/.offload/InfoNX-ovl.ovl /switch/.overlays/ +move /switch/.overlays/.offload/QuickNTP.ovl /switch/.overlays/ +move /switch/.overlays/.offload/sysdvr-overlay.ovl /switch/.overlays/ +move /switch/.overlays/.offload/ovlSysmodules.ovl /switch/.overlays/ +move /switch/.overlays/.offload/sys-patch-overlay.ovl /switch/.overlays/ + +[Disable Overlays] +mkdir /switch/.overlays/.offload/ +move /switch/.overlays/InfoNX-ovl.ovl /switch/.overlays/.offload/ +move /switch/.overlays/QuickNTP.ovl /switch/.overlays/.offload/ +move /switch/.overlays/sysdvr-overlay.ovl /switch/.overlays/.offload/ +move /switch/.overlays/ovlSysmodules.ovl /switch/.overlays/.offload/ +move /switch/.overlays/sys-patch-overlay.ovl /switch/.overlays/.offload/ + +[Package Info]