# Pokémon Ultra Sun gets static recompilation build scripts for PC

> New scripts translate Pokémon Ultra Sun (3DS) into a native Windows and Linux program using the Bergamota runtime.

- Published: 2026-11-18T00:26:52Z
- Score: 8/10
- Tags: recomp, 3ds
- Port / platforms: 3DS -> PC (Windows), Linux / Steam Deck (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/pokemon-ultra-sun-native-recomp/
- Sources: https://github.com/SirWinstonChurchillTheFirst/pokemon-ultra-sun-native

Static recompilation hits the Nintendo 3DS library. Developer SirWinstonChurchillTheFirst published <a href="https://github.com/SirWinstonChurchillTheFirst/pokemon-ultra-sun-native">pokemon-ultra-sun-native</a>, a set of scripts that builds <a href="https://github.com/SirWinstonChurchillTheFirst/pokemon-ultra-sun-native">Pokémon Ultra Sun</a> (Nintendo 3DS, title id 00040000001B5000) as a native Windows and Linux program.

The project translates the game's ARM code into C ahead of time and runs it on <a href="https://github.com/ShiromiyaG/Bergamota">Bergamota</a>, a small 3DS system with a Vulkan renderer. No emulator is involved. The release is in beta, put together and tested in one evening on November 17, 2026. It starts, plays into the game, and saves; nobody has played it through, and you should keep your emulator.

The author points to <a href="https://gitlab.com/tsukimi-labs/Solstice-recomp">Solstice</a> by the runtime's author as the real port with widescreen, options, and a launcher. This repository provides only the plain game on the plain runtime via two setup scripts.

## How to try it

You need your own decrypted dump in `.3ds`, `.cci`, or `.cxi` format, as game data is not included.

**Windows** (requires git, CMake, MSYS2 CLANG64 packages, and a Vulkan card):
```powershell
powershell -ExecutionPolicy Bypass -File setup-windows.ps1 -Rom "D:\dumps\game.3ds"
```

**Linux** (requires packages named at the top of the script):
```sh
./setup-linux.sh /path/to/game.3ds
```

The scripts clone Bergamota at commit `2100733`, apply a local patch, build the player and recompiler, and compile the game into a `build/play` folder. Controls map via SDL for gamepads, or keyboard arrows with X as A and Z as B, while the bottom screen takes mouse input.
