Appearance
Preparing CivSwitch
CivSwitch uses the Civilization VII v1.0.0 game cartridge to gain Userland applications do not have full system access, but can still execute code within their limited environment. code execution on the Nintendo Switch 2.
This section covers preparing and flashing a Raspberry Pi Pico so it can send the CivSwitch payload. You will need:
- A compatible Raspberry Pi Pico 1 or Pico 2.
- A USB cable that supports data.
- A PC running Windows, macOS, or Linux.
- A Civilization VII v1.0.0 game cartridge.
TIP
Follow the Blocking Nintendo instructions before connecting the console to the internet. An incorrectly configured network can cause Nintendo to lock the game.
Download the firmware
Download the latest CivSwitch release and extract the ZIP file.
Choose the UF2 firmware that matches both your Pico board and your console's input language:
| Board | English (US) | Japanese |
|---|---|---|
| Raspberry Pi Pico 1 / RP2040 | civ7-pico1.uf2 | civ7-pico1-jis.uf2 |
| Raspberry Pi Pico 2 / RP2350 | civ7-pico2.uf2 | civ7-pico2-jis.uf2 |
Do not use the JIS firmware unless the Switch is configured for a JIS keyboard layout.
Flash the Pico
- Disconnect the Pico from all devices.
- Hold the Pico's BOOTSEL button.
- Connect the Pico to the PC with a USB data cable while continuing to hold BOOTSEL.
- Release BOOTSEL once a removable drive named
RPI-RP2orRP2350appears. - Copy the selected
.uf2file onto that drive. - The drive will disconnect and the Pico will reboot automatically.
The Pico is now ready to act as both a USB keyboard and controller macro.
Configure the console
Before using CivSwitch:
- Set System Language to English (US).
- In System Settings → Controllers & Accessories, set Change the USB Keyboard Layout to English (US).
- Ensure the console is connected to a network with Nintendo servers blocked by 90DNS.
- Insert the Civilization VII v1.0.0 cartridge and launch the game.
The language and keyboard layout can be restored after the boot-persistent trigger has been installed.
Send the initial payload
- From the Civilization VII main menu, select Multiplayer.
- Select Wireless.
- Create a lobby and host it.
- Open the lobby Chat screen and place the focus in the chat text box.
- In docked mode, connect the flashed Pico to the console.
- Wait for the Pico's LED to illuminate. The macro starts shortly after boot and types the payload automatically.
The payload takes about 20 minutes to type. Do not unplug the Pico or interact with the chat field while it is running.
Once it finishes, the Remote JS Loader should appear on the console and listen on TCP port 9026.
Install the boot-persistent trigger
The initial payload is only active while the loader session is running. Installing the trigger allows it to run again after reboot.
On a PC, clone the CivSwitch repository and install the required Node.js dependencies:
sh
git clone https://github.com/Gezine/CivSwitch.git
cd CivSwitch/installer-creator
npm installFind the Switch 2's IP address in the console's network settings, then run:
sh
python install.py <console-ip>The script uploads and installs the default Remote JS Loader payload. Wait until it prints INSTALL DONE.
WARNING
Do not close or interrupt install.py until installation completes.
After installation:
- Reboot the console.
- Launch Civilization VII.
- From the main menu, select Load Game.
- The boot trigger will start the payload automatically.
The trigger will run whenever you use Load Game after reboot.