From ae45b9f3d200b9d90ff9cfff3df03d40bd854b38 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 26 Jan 2026 16:21:42 +0000 Subject: [PATCH] Add README.md Added a comprehensive README file to document the three PowerShell scripts in the repository: - Better Auto-Save - CertToggle - DPTS The README includes features, requirements, and usage instructions for each tool. --- README.md | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..e752e83 --- /dev/null +++ b/README.md @@ -0,0 +1,78 @@ +# PowerShell Utilities + +This repository contains a collection of useful PowerShell scripts for various tasks, ranging from Minecraft world backups to system management utilities. + +## Tools + +### 1. Better Auto-Save (`Better_Auto-Save_R1.ps1`) + +A robust Minecraft world backup and restore tool designed to prevent data loss while minimizing disk usage. + +**Features:** +- **Auto-Save:** Automatically creates checkpoints of your Minecraft worlds. +- **Smart Backups:** Supports both **Full** and **Incremental** backups. +- **Consolidation:** Ability to merge incremental checkpoints into a consolidated "Master" backup. +- **Rollback:** Easy-to-use menu to rollback your world to a specific checkpoint or master backup. +- **Performance:** Uses embedded C# for fast file operations and size calculations. +- **Safety:** Detects Minecraft's `level.dat` changes to ensure safe backups. + +**Usage:** +Run the script in PowerShell: +```powershell +.\Better_Auto-Save_R1.ps1 +``` +Follow the interactive menu to select your world, configure settings, or start monitoring. + +--- + +### 2. CertToggle (`CertToggle.ps1`) + +A simple utility to quickly add or remove a specific CA Certificate to/from the Windows Trusted Root Certificate Authorities store. + +**Features:** +- **Single-File Operation:** Automatically detects a `.cer` or `.crt` file in the script's directory. +- **Toggle Functionality:** Checks if the certificate is installed and offers to Add or Remove it. +- **Safety:** Verifies the certificate thumbprint before performing actions. + +**Requirements:** +- **Administrator Privileges:** This script must be run as Administrator to modify the system certificate store. + +**Usage:** +1. Place your certificate file (`.cer`, `.crt`, etc.) in the same folder as the script. +2. Run the script as Administrator: +```powershell +.\CertToggle.ps1 +``` +3. Follow the on-screen menu to install or remove the certificate. + +--- + +### 3. DPTS - Dynamic Per-Application Touchpad Sensitivity (`DPTS.ps1`) + +A background utility that automatically adjusts your touchpad sensitivity based on the currently active application. + +**Features:** +- **Per-Application Settings:** Configure specific sensitivity levels (0-4) for individual applications. +- **Default Sensitivity:** Set a global default for unconfigured applications. +- **Monitoring Mode:** Runs continuously to detect window changes and apply settings instantly. + +**Requirements:** +- **Windows 11 Build 26027 or later** (Required for the `SystemParametersInfo` touchpad constants). + +**Usage:** + +**Configuration Mode:** +To configure applications and defaults: +```powershell +.\DPTS.ps1 -Settings +``` + +**Monitoring Mode:** +To start the background monitor: +```powershell +.\DPTS.ps1 +``` + +## License + +This project is licensed under the [MIT License](LICENSE).