Appearance
Installing kaiHEN (CivSwitch)
CivSwitchFS-kaiHEN extends the previous CivSwitch loader with more capabilities, including filesystem access, and integrates with kaiHEN for homebrew support. It is semi-untethered, meaning that it can be activated without a computer and will remain active until the console is restarted.
This process is experimental and can permanently damage the console. It is especially important not to reboot or close Civilization VII while the payload is running.
DANGER
Before continuing, read the brick risk information. If you are not comfortable with this, you should wait for a more mature release.
- Multiple people have reported that this exploit has caused their console to brick.
- Never reboot or close Civilization VII while the payload is running.
- If a log line begins with
STATE IS UNSAFE, hard-reboot by holding the power button for 15 seconds. - If the log reports
STATE IS UNKNOWN, a crash, or no result, assume the worst and hard-reboot before retrying. - Use this only on firmware 23.0.1. The upstream project has only tested exFAT firmware; FAT32 should work but is less tested.
Requirements
- A Switch 2 running firmware 23.0.1
- Civilization VII v1.0.0
- The CivSwitch Remote JS Loader running on the console
- Node.js 20 or later and npm on the PC
- A FAT32 or exFAT microSD card
- A system update is required for exFAT support. If you have not completed the update, you must use FAT32.
- A network connection that does not allow the console to reach Nintendo servers (Blocking Nintendo)
Prepare the PC
Clone the slop branch, because the repository's active development branch is not main:
sh
git clone --branch slop --single-branch https://github.com/s8n/CivSwitchFS-kaiHEN.git
cd CivSwitchFS-kaiHEN
npm installKeep this repository folder available and update it whenever the project is updated.
Prepare the microSD card
- Insert the microSD card into the PC.
- Format the microSD card as FAT32 or exFAT, depending on your system update status.
- Download the latest
.zipfile from CivSwitchFS-kaiHEN
Extract the ZIP contents onto the root of the microSD card and safely eject it. The card should contain:
text
/hbmenu.nro
/kaihen/bin/bootstrap.bin
/kaihen/bin/ro/main
/kaihen/bin/hen/main
/kaihen/bin/game/main
/switch/ounceshell/ounceshell.nroInsert the microSD card into the console before starting.
Start the persistence installer
- Open Civilization VII.
- From the main menu, select Load Game.
- Wait until the CivSwitch console reports
Awaiting payload. - Find the Switch 2's current IP address in the console's network settings.
- On the PC, run this command from the cloned repository folder:
sh
npm run persist:chain -- <console-ip>Replace <console-ip> with the console's IP address. Do not include angle brackets.
Wait for the save setup to finish. It normally takes about one minute.
WARNING
Do not close Civilization VII, start another application, or reboot the console during installation. If the console crashes or the installer hangs, follow the brick risk instructions before retrying.
Once the installer succeeds, close Civilization VII normally. Every later start of Civilization VII -> Load Game will acquire filesystem privileges and run kaiHEN automatically.
Launch kaiHEN
- Start Civilization VII and select Load Game.
- Wait for the payload to finish and kaiHEN to run.
- If it fails to run, reboot your console and try again.
- Close Civilization VII normally.
Now our homebrew environment should be installed, and you can start using kaiHEN to run homebrew applications on your Switch 2.