A comprehensive tool for the Nintendo Switch that allows you to:
- Fetch HATS Pack - Download and install HATS pack releases
- Fetch Firmware - Download firmware for installation via Daybreak
- Uninstall Components - Remove installed components (except Atmosphere/Hekate)
- File Browser - Browse, manage, and extract files on your SD card
- Cheats Manager - Download and manage game cheats from multiple sources
- Download HATS-Tools: Download the latest
hats-tools.zipfrom the Releases page - Extract to SD Card: Extract the zip file directly to the root of your Nintendo Switch SD card
- Download HATS Installer Payload: For the installer functionality to work, you must also download the HATS Installer Payload from sthetix/HATS-Installer-Payload
- Download the payload zip file
- Extract it to the root of your SD card as well
Important: The HATS Installer Payload is required for the installer function to work. Without it, the installation feature will not function properly.
The cheats manager provides a comprehensive solution for managing game cheats on your Switch:
- Multiple Sources: Download cheats from CheatSlips and nx-cheats-db (local database)
- View Installed Cheats: Browse all games with cheats currently installed on your system
- Cheat Preview: Preview cheat codes before downloading them
- Easy Management: Delete individual cheat files or view detailed cheat information
- Automatic Detection: Automatically detects installed games and their build IDs
- CheatSlips Integration: Login support for CheatSlips to access premium cheat content
Before installing a HATS pack, the tool can automatically back up your existing /atmosphere and /bootloader folders to /sdbackup/ with timestamps (e.g., /sdbackup/atmosphere_20231225_143000). This feature can be toggled in the Advanced Options menu.
A red warning popup reminds you to backup your SD card before installation. This reminder can be disabled in Advanced Options if you prefer.
HATS-Tools allows you to customize the source URLs for HATS packs and firmware downloads by editing the configuration file. This is useful if you want to use your own forks or self-hosted releases.
To customize the URLs, edit /config/hats-tools/config.ini on your SD card:
[pack]
# HATS pack source (default: sthetix/HATS releases)
pack_url=https://api.github.com/repos/sthetix/HATS/releases
[installer]
# HATS installer payload location
payload=/bootloader/payloads/hats-installer.bin
# Staging path for HATS extraction
staging_path=/hats-staging
# Installation mode (options: overwrite, replace_ams, replace_ams_bl, clean)
# overwrite - Only overwrite files, no deletion (safest, preserves cheats/mods)
# replace_ams - Delete and replace /atmosphere only
# replace_ams_bl - Delete and replace /atmosphere and /bootloader
# clean - Delete and replace /atmosphere, /bootloader, and /switch (fresh install)
install_mode=overwrite
[firmware]
# Firmware source (default: sthetix/NXFW releases)
firmware_url=https://api.github.com/repos/sthetix/NXFW/releasesThis allows you to:
- Use custom HATS pack releases from your own repository
- Point to alternative firmware sources
- Maintain internal deployments with custom hosts
- Test personal builds without affecting the default configuration
Note: If these settings are not present in your config.ini, the application will use the default official sources automatically.
This project is based on Sphaira code, but stripped down to the essentials.
You will first need to install devkitPro.
Next you will need to install the dependencies:
sudo pacman -S switch-dev deko3d switch-cmake switch-curl switch-glm switch-zlib switch-mbedtlsAlso you need to have on your environment the packages git, make, zip and cmake
Once devkitPro and all dependencies are installed, you can now build HATS-Tools.
git clone https://github.com/sthetix/HATS-Tools.git
cd HATS-Tools
./build_release.shThe output will be found in out/hats-tools.zip
- libpulsar
- nanovg-deko3d
- stb
- yyjson
- minIni
- libnxtc
- zstd
- dr_libs
- id3v2lib
- nxdumptool (for RSA verify code)
- nx-hbloader
- Everyone who has contributed to this project!
If you find this project useful, please consider supporting me by buying me a coffee!
