From d7f0cd10b5f690916f84c1c555fc0a5805eae33c Mon Sep 17 00:00:00 2001 From: NiklasCFW Date: Thu, 30 Jan 2025 01:26:23 +0100 Subject: [PATCH] Cool Curves 0.2.0 --- Switch/.packages/Cool Curves/README.md | 53 ++++++++++++++++++++++++ Switch/.packages/Cool Curves/config.ini | 4 ++ Switch/.packages/Cool Curves/package.ini | 36 ++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 Switch/.packages/Cool Curves/README.md create mode 100644 Switch/.packages/Cool Curves/config.ini create mode 100644 Switch/.packages/Cool Curves/package.ini diff --git a/Switch/.packages/Cool Curves/README.md b/Switch/.packages/Cool Curves/README.md new file mode 100644 index 0000000..a8030ac --- /dev/null +++ b/Switch/.packages/Cool Curves/README.md @@ -0,0 +1,53 @@ +# Cool Curves + +The "Cool Curves" package is a part of the Ultrahand Overlay project, which provides a fully craft-able overlay executor. This example demonstrates how to configure and set temperature-related settings in the system_settings.ini file for different temperature ranges. + +## Configuration + +To configure the temperature-related settings yourself, follow these steps: + +1. Make sure you have the necessary tools and files for the Ultrahand-Overlay project. +2. Locate the `package.ini` file in the `examples/Cool Curves` directory. +3. Open the `package.ini` file in a text editor. + +## Temperature Settings + +The `package.ini` file contains temperature settings for different temperature ranges. Each temperature range is associated with specific configurations for the console and handheld devices. Here are the available temperature ranges and their configurations: + +### Max Temp 54°C + +- Console: `tskin_rate_table_console_on_fwdbg`: [[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 54000, 128, 255], [54000, 1000000, 255, 255]] +- Handheld: `tskin_rate_table_handheld_on_fwdbg`: [[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 54000, 128, 255], [54000, 1000000, 255, 255]] +- `holdable_tskin`: 60000 (hex value: 0xEA60) +- `touchable_tskin`: 60000 (hex value: 0xEA60) + +### Max Temp 56°C + +- Console: `tskin_rate_table_console_on_fwdbg`: [[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 56000, 128, 255], [56000, 1000000, 255, 255]] +- Handheld: `tskin_rate_table_handheld_on_fwdbg`: [[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 56000, 128, 255], [56000, 1000000, 255, 255]] +- `holdable_tskin`: 60000 (hex value: 0xEA60) +- `touchable_tskin`: 60000 (hex value: 0xEA60) + +### Max Temp 58°C + +- Console: `tskin_rate_table_console_on_fwdbg`: [[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 58000, 128, 255], [58000, 1000000, 255, 255]] +- Handheld: `tskin_rate_table_handheld_on_fwdbg`: [[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 58000, 128, 255], [58000, 1000000, 255, 255]] +- `holdable_tskin`: 60000 (hex value: 0xEA60) +- `touchable_tskin`: 60000 (hex value: 0xEA60) + +### Max Temp 60°C + +- Console: `tskin_rate_table_console_on_fwdbg`: [[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 60000, 128, 255], [60000, 1000000, 255, 255]] +- Handheld: `tskin_rate_table_handheld_on_fwdbg`: [[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 60000, 128, 255], [60000, 1000000, 255, 255]] +- `holdable_tskin`: 60000 (hex value: 0xEA60) +- `touchable_tskin`: 60000 (hex value: 0xEA60) + +## Important Notes + +- Before modifying any settings, it is recommended to create a backup of the original `system_settings.ini` file. +- Ensure that you understand the consequences of changing the temperature settings and their impact on your system's performance and stability. + + +## Acknowledgments + +Special thanks to B3711. diff --git a/Switch/.packages/Cool Curves/config.ini b/Switch/.packages/Cool Curves/config.ini new file mode 100644 index 0000000..81a9c15 --- /dev/null +++ b/Switch/.packages/Cool Curves/config.ini @@ -0,0 +1,4 @@ +[Max Temp 54°C] +system=default +mode=default +grouping=default diff --git a/Switch/.packages/Cool Curves/package.ini b/Switch/.packages/Cool Curves/package.ini new file mode 100644 index 0000000..dfb679e --- /dev/null +++ b/Switch/.packages/Cool Curves/package.ini @@ -0,0 +1,36 @@ +;creator=ppkantorski +;version=0.2.0 + +[Max Temp 54°C] +copy /atmosphere/config/system_settings.ini /atmosphere/config/system_settings.ini.bak +set-ini-val /atmosphere/config/system_settings.ini tc use_configurations_on_fwdbg u8!0x1 +set-ini-val /atmosphere/config/system_settings.ini tc tskin_rate_table_console_on_fwdbg 'str!"[[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 54000, 128, 255], [54000, 1000000, 255, 255]]"' +set-ini-val /atmosphere/config/system_settings.ini tc tskin_rate_table_handhelset-inid_on_fwdbg 'str!"[[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 54000, 128, 255], [54000, 1000000, 255, 255]]"' +set-ini-val /atmosphere/config/system_settings.ini tc holdable_tskin u32!0xEA60 +set-ini-val /atmosphere/config/system_settings.ini tc touchable_tskin u32!0xEA60 + +[Max Temp 56°C] +copy /atmosphere/config/system_settings.ini /atmosphere/config/system_settings.ini.bak +set-ini-val /atmosphere/config/system_settings.ini tc use_configurations_on_fwdbg u8!0x1 +set-ini-val /atmosphere/config/system_settings.ini tc tskin_rate_table_console_on_fwdbg 'str!"[[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 56000, 128, 255], [56000, 1000000, 255, 255]]"' +set-ini-val /atmosphere/config/system_settings.ini tc tskin_rate_table_handheld_on_fwdbg 'str!"[[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 56000, 128, 255], [56000, 1000000, 255, 255]]"' +set-ini-val /atmosphere/config/system_settings.ini tc holdable_tskin u32!0xEA60 +set-ini-val /atmosphere/config/system_settings.ini tc touchable_tskin u32!0xEA60 + +[Max Temp 58°C] +copy /atmosphere/config/system_settings.ini /atmosphere/config/system_settings.ini.bak +set-ini-val /atmosphere/config/system_settings.ini tc use_configurations_on_fwdbg u8!0x1 +set-ini-val /atmosphere/config/system_settings.ini tc tskin_rate_table_console_on_fwdbg 'str!"[[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 58000, 128, 255], [58000, 1000000, 255, 255]]"' +set-ini-val /atmosphere/config/system_settings.ini tc tskin_rate_table_handheld_on_fwdbg 'str!"[[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 58000, 128, 255], [58000, 1000000, 255, 255]]"' +set-ini-val /atmosphere/config/system_settings.ini tc holdable_tskin u32!0xEA60 +set-ini-val /atmosphere/config/system_settings.ini tc touchable_tskin u32!0xEA60 + +[Max Temp 60°C] +copy /atmosphere/config/system_settings.ini /atmosphere/config/system_settings.ini.bak +set-ini-val /atmosphere/config/system_settings.ini tc use_configurations_on_fwdbg u8!0x1 +set-ini-val /atmosphere/config/system_settings.ini tc tskin_rate_table_console_on_fwdbg 'str!"[[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 60000, 128, 255], [60000, 1000000, 255, 255]]"' +set-ini-val /atmosphere/config/system_settings.ini tc tskin_rate_table_handheld_on_fwdbg 'str!"[[-1000000, 40000, 0, 0], [36000, 43000, 51, 51], [43000, 49000, 51, 128], [49000, 60000, 128, 255], [60000, 1000000, 255, 255]]"' +set-ini-val /atmosphere/config/system_settings.ini tc holdable_tskin u32!0xEA60 +set-ini-val /atmosphere/config/system_settings.ini tc touchable_tskin u32!0xEA60 + +[Package Info]