English | 日本語
A Game Boy Color emulator, written in the Rux language with SDL3 for its multimedia layer. It's a command-line application.
The core is a port of BubiBoy Lite (Odin + SDL2, MIT License) to Rux.
RuxBoy is an experimental project exploring the Rux language by porting
BubiBoy Lite's core. Core emulation (CPU, PPU, APU, MBC1/2/3/5, GBC features,
savestates), the CLI frontend, and CI/CD covering macOS, Linux, and Windows
are all in place. It passes the Blargg, Mooneye acceptance, and
dmg-acid2/cgb-acid2 test suites, with 3 known Mooneye edge-case failures
(rapid_toggle, reti_timing, stat_lyc_onoff) that are tracked but not
yet fixed.
Because the Rux language is still immature and optimizations have little
effect, performance is poor.
- macOS 13.5+ (Intel / Apple Silicon)
- Ubuntu 26.04+ (amd64 / arm64)
- Windows 11+ (x64)
Download the zip for your platform from Releases and extract it.
- macOS / Linux: the SDL3 runtime must be installed separately.
On macOS,
brew install sdl3; on Ubuntu 26.04+,sudo apt-get install libsdl3-0(the-devpackage is not needed). - Windows: the zip already bundles
SDL3.dll, so no extra setup is required. Just keep it next toRuxBoy.exe. - macOS: since the binary is unsigned, Gatekeeper may warn on first launch
that the developer can't be verified. If that happens, run
xattr -d com.apple.quarantine ./RuxBoy, or right-click the binary in Finder and choose Open.
The compiler and standard library are fetched from a submodule (external/Rux).
git clone --recurse-submodules <this repository's URL>
cd RuxBoybrew install llvm@22 cmake ninja sdl3
(cd external/Rux && sh Run.sh build --compiler "$(brew --prefix llvm@22)/bin/clang++")
sh scripts/build_macos.sh --releasesudo apt-get install clang-22 cmake ninja-build libsdl3-dev
(cd external/Rux && sh Run.sh build --compiler /usr/bin/clang++-22)
sh scripts/build_linux.sh --releaseRequires Visual Studio (Desktop development with C++) and LLVM 22. Run the
build from inside the same shell session where you've loaded the Visual
Studio developer environment (vcvarsall.bat).
# Run inside Developer PowerShell for VS
cd external\Rux
.\Run.ps1 build -Compiler <path to LLVM 22's clang++.exe>
cd ..\..
sh scripts/fetch_sdl3_windows.sh
sh scripts/build_windows.sh --releaseThe build output is placed at Packages/App/Bin/Release/<OS>/<Arch>/RuxBoy[.exe].
Usage: RuxBoy [options] game.gbc
-h, --help Show command-line usage
-v, --version Show version
--scale N Display scale (1-8, values above 8 are clamped to 8, default 4)
--fullscreen Fullscreen display (--scale is ignored)
--shader KIND Shader: nearest, smooth (default nearest)
--recent List recently used ROMs and exit
| Key | Function |
|---|---|
| Arrow keys | D-pad |
| Z / X | B / A |
| Enter | Start |
| Right Shift | Select |
| F1 | Save a savestate to the current slot |
| F3 | Load a savestate from the current slot |
| Esc | Quit |