Kyujo Trilogy

Kyujo Trilogy is a native port of the Pokémon Stadium Trilogy for Windows, Linux, Android, and Switch that unifies all three games into one application.

README

Pokémon Stadium Trilogy icon: a floodlit stadium at night with fireworks

Pokémon Stadium Trilogy

One unified native application for all three Pokémon Stadium N64 games (including an English translation for the original Japanese-only release Pokemon Stadium 0) on Windows, Linux, Android, and Nintendo Switch, played from your own game files:

Game Pak (left to right)Port (bundled in games/)Game file it needs (.z64, .n64, or .v64)
Pokémon Stadium 0 — Japan exclusive, playable in Englishgames/Kyujo0Pokémon Stadium (Japan)
Pokémon Stadiumgames/KyujoPokémon Stadium (USA) — Rev 0, Rev 1, or Rev 2
Pokémon Stadium 2games/kyujo2Pokémon Stadium 2 (USA)

This repository is completely standalone — Nothing from the games or their decompilations is stored here; your own game files provide the ROM assets at runtime and the pinned upstream decompilations are fetched automatically when building.

Not affiliated with or endorsed by Nintendo, Game Freak, Creatures Inc. or The Pokémon Company. See NOTICE.md.

Get started (pick your platform)

You never download a prebuilt game binary from GitHub: a finished program contains compiled game code and cannot be redistributed (see NOTICE.md). Instead, each platform has a simple setup that builds the program on your own computer from your own game files:

PlatformWhat to do
Windows 10 / 11 (x64)1. Download KyujoTrilogy-Setup-Windows.zip from the latest release and unzip it to a short folder such as C:\KyujoTrilogy.
2. Double-click Setup.bat (or drag your ROMs folder onto it) and select your ROMs folder.
3. Wait for the first build to finish, then launch Play Kyujo Trilogy from the same folder.
Linux (x86-64 / AppImage)Clone this repo (or download the source zip), put your ROMs in ./roms (or pass --roms <dir>), and run ./build-linux.sh. Run dist/KyujoTrilogy-Linux/KyujoTrilogy or the single-file dist/KyujoTrilogy-x86_64.AppImage.
Android 7+ (arm64-v8a, x86_64)Run ./build-android.sh --roms <dir>, install dist/KyujoTrilogy-Android.apk, open Kyujo Trilogy, and pick your ROMs folder.
Nintendo Switch (homebrew)Run ./build-switch.sh --roms <dir>, unzip dist/KyujoTrilogy-Switch.zip onto the root of your SD card, put your ROMs in switch/kyujo_trilogy/roms/, and start Kyujo Trilogy from the Homebrew Menu (hold R while opening a game for full memory).

To build all four platforms in one command on Linux or WSL:

./build.sh all --roms ~/path/to/your/roms

Full setup and build details: BUILDING.md · Windows setup kit maintainer notes: docs/windows-setup.md.

Features

  • All three games in one native program per platform (.exe, Linux binary/AppImage, .apk, .nro), with all three Pokémon Stadium (USA) revisions (Rev 0, Rev 1, Rev 2) built in and detected automatically at runtime.
  • Authentic Game Pak Check launcher: displays the three Game Paks on the games' own wallpaper, using the games' own lettering and title cards read directly from your game files at startup.
  • Unified window & display settings: on Windows and Linux, Fullscreen and Widescreen are enabled by default (both can be changed in Settings or toggled with F11 / Alt+Enter). Window size, fullscreen state, picture scaling, and volume stay synchronized across the launcher and all three games.
  • Shared controls: keyboard bindings and gamepad mappings (Nintendo face-button layout: right = A, bottom = B) are shared across the launcher and all three games, and can be edited in Settings → Controls or in any game's menu.
  • Unified Transfer Pak & GB Tower: configure Red, Blue, Yellow, Green (all three games) and Gold, Silver, Crystal (Stadium 2) once in Game Paks (P / X). All three games share the same .sav files next to your Game Boy ROMs (with automatic one-time .sav.bak backup).
  • Consistent in-game menus: press F1 or Esc (or the gamepad menu/Back button) in any game. Exit to Main Menu returns to the Game Pak selector; Quit Stadium Trilogy closes everything cleanly.
  • Optional battle cheat: hold L + R in battle to win after your next move (enabled by default; can be turned off in each game's Options).
  • Android external saves folder: in Settings → Stadium saves folder, pick any folder on your device to automatically keep Stadium saves synced outside private app storage.

Controls

ActionKeyboardGamepadMouse
Choose a Game PakLeft / RightD-pad or stickPoint
PlayEnterA (right button) or StartClick
Game Paks (Game Boy cartridges)PX (left button)—
Find game filesF2Y (top button)Click bottom panel
SettingsTabSelect / Back—
Toggle full screenF11 or Alt+Enter——
Back / quitEscB (bottom button)Right click

Default in-game keyboard bindings: A = X, B = Z, Z = C, Start = Enter, D-pad = W A S D, Stick = Arrow keys, C buttons = I J K L, L / R = Q / E, In-game menu = F1 or Esc.

Platforms

SystemPackageStatus
Windows 10 / 11 (x64)dist/KyujoTrilogy-Windows/ & .zip (built via Setup.bat or ./build-windows.sh)Tested on hardware
Linux (x86-64)dist/KyujoTrilogy-Linux/, .tar.gz, & .AppImage (./build-linux.sh)Tested on hardware
Android 7+ (arm64-v8a, x86_64)dist/KyujoTrilogy-Android.apk (./build-android.sh, app name Kyujo Trilogy)Tested on hardware
Nintendo Switch (homebrew)dist/KyujoTrilogy-Switch/ & .zip (./build-switch.sh, app name Kyujo Trilogy)Tested on hardware
Android notes

Install KyujoTrilogy-Android.apk and open Kyujo Trilogy. Tap the panel below the Game Paks to pick the folder holding your N64 and Game Boy ROMs/saves. To manage saves easily outside private app storage, open Settings → Stadium saves folder and choose a folder on your device; saves sync automatically before launching a game and when returning to the menu.

Nintendo Switch notes

Unzip KyujoTrilogy-Switch.zip onto the root of your SD card (this creates switch/kyujo_trilogy/KyujoTrilogy.nro). Copy your N64 ROMs and Game Boy ROMs/saves into switch/kyujo_trilogy/roms/. Open the Homebrew Menu in application mode (hold R while launching any game so Pokémon Stadium 2 has full memory) and start Kyujo Trilogy. Each game keeps its saves in switch/kyujo0, switch/kyujo, and switch/Kyujo2 on the SD card.

How it works

The trilogy compiles into one program per platform containing the menu and all three games:

  • Pokémon Stadium 0 (games/Kyujo0) and Pokémon Stadium (games/Kyujo, all 3 US revisions) compile to WebAssembly, translate to C (wasm2c), and run in their sandboxed SDL shell (software + Direct3D 2D presentation on Windows; OpenGL ES 3 with a 2048×2048 ring texture atlas on Linux, Android, and Switch).
  • Pokémon Stadium 2 (games/kyujo2) is statically recompiled from your cartridge with N64Recomp on N64ModernRuntime.
  • tools/make_module.py and tools/build_modules.py turn each game into an isolated relocatable module exposing only its entry point, then link all modules with launcher/ into a single binary.

Licence

GPL-3.0-only for this repository's own files (LICENSE). The games, upstream decompilations, and third-party libraries keep their own terms (NOTICE.md, THIRD-PARTY.md).