Skip to content
项目

关于

Switch emulator written in rust and ported with LLMs initally from yuzu/eden

游戏与模拟器

这些数字如何统计

可以做什么

  • Game library: browse your game directories, manage per-game settings and view detected updates and add-ons.
  • Controller-friendly interface: navigate the library, menus and supported dialogs with a controller, as well as a keyboard and mouse.
  • Graphics backends: Vulkan and OpenGL, plus an experimental native Metal backend on macOS. Availability depends on the platform.
  • CPU emulation: ARM32 and ARM64 guest execution through the rdynarmic dynamic recompiler, with x86-64 and ARM64 host backends.

实测星标增长

24小时
0
7天
+2
15天
+10
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

⚠️ Ruzu has no official website ⚠️

[!CAUTION] Ruzu has no official website. Download Ruzu only from this repository's releases page. Any other "Ruzu" website or download is not ours and may contain malware.


ruzu
ruzu

An experimental, open-source Nintendo Switch emulator written in Rust.
For Linux, Windows and macOS.

Downloads | Features | Screenshots | Building | Discord | Report a bug

About

Ruzu is an experimental, open-source Nintendo Switch and Switch 2 emulator written in rust.

The project originally builds on the work of Yuzu/Eden, with development focused on compatibility, rendering correctness, performance and usability.

Ruzu is under active development. Compatibility and performance vary by game, hardware and graphics backend. Bugs, crashes and incomplete features are still expected; keep backups of your saves before testing new versions.

Features

  • Game library: browse your game directories, manage per-game settings and view detected updates and add-ons.
  • Controller-friendly interface: navigate the library, menus and supported dialogs with a controller, as well as a keyboard and mouse.
  • Graphics backends: Vulkan and OpenGL, plus an experimental native Metal backend on macOS. Availability depends on the platform.
  • CPU emulation: ARM32 and ARM64 guest execution through the rdynarmic dynamic recompiler, with x86-64 and ARM64 host backends.
  • Customizable interface: themes, translations, configurable hotkeys and game-list display options.
  • Homebrew support: run homebrew applications, with both a graphical frontend and a command-line frontend for testing.
  • System applets: experimental Home Menu and other applet support. Availability depends on the installed system content.

Downloads and platforms

Get prebuilt packages from the releases page. Check each release's notes for available packages and known issues.

Platform Package
Windows — x86-64 Installer or standalone ZIP
macOS — Apple Silicon Application bundle in a ZIP
macOS — Intel Application bundle in a ZIP
Linux — x86-64 AppImage
Ubuntu DEB package matching your Ubuntu release
Steam Deck Dedicated Zen 2 AppImage

The native Metal backend remains alpha. Steam Deck packages target its CPU; they are not a generic replacement for the Linux AppImage on older PCs. BSD build scripts are also available, but building successfully does not guarantee runtime compatibility.

Try a free homebrew game

FreeBrick is a free, open-source brick breaker available as Switch homebrew. Download freebrick.nro and open it in Ruzu using File → Load File.

Screenshots

Game configuration SuperTuxKart running in Ruzu
Chocolate Doom configuration in Ruzu SuperTuxKart running in Ruzu

Building

Clone the repository

Clone with submodules to include the external dependencies:

git clone --recurse-submodules https://github.com/vricosti/ruzu-emu.git
cd ruzu-emu

For an existing checkout:

git submodule update --init --recursive

Linux, macOS and BSD

From the repository root:

./build.sh

This is sufficient to check dependencies and build Ruzu in release mode; a separate Cargo command is not needed. The script asks for confirmation before installing missing system packages or Rust.

The workspace declares Rust 1.85 as its minimum version. Native dependencies include GTK 4.6 or newer, graphics and audio libraries, and a C/C++ build toolchain. Let the platform script handle the dependency list; SDL3 is built from source by Cargo.

Useful options:

./build.sh --debug           # Build in debug mode
./build.sh --deps-only       # Check and install dependencies only
./build.sh --skip-deps       # Build without dependency checks
./build.sh -- --bin ruzu-cmd  # Build the command-line frontend

Run the Linux/BSD executable with:

./target/release/ruzu

On macOS, the build creates an application bundle:

open ./target/release/ruzu.app

See macOS MoltenVK notes for the Vulkan dependency used by macOS builds.

Windows

From an ordinary Command Prompt:

build.bat

The script checks the Visual Studio Build Tools, Rust and vcpkg dependencies and stages the executable and runtime libraries under build\x86_64-pc-windows-msvc\release. It also copies runtime DLLs beside target\release\ruzu.exe (or target\debug with -Debug), so that executable can be launched directly from Explorer.

If the C++ tools are missing, it asks before adding the Desktop development with C++ workload to an existing Visual Studio or Build Tools installation, or installing Build Tools 2026 with that workload. Refusing stops the script before any download or installation. After accepting, approve the Windows administrator prompt to install MSVC, the Windows SDK and CMake.

Use build.bat -Debug for a debug build, or build.bat -VcpkgRoot D:\path\to\vcpkg to select an existing vcpkg installation.

Installed native libraries are reused on later builds. vcpkg also keeps compiled packages in %LOCALAPPDATA%\vcpkg\archives by default, so a matching package can be restored without compiling its sources again.

To download precompiled dependencies on a new machine, provide a shared vcpkg binary cache. The script already respects VCPKG_BINARY_SOURCES. For example, in PowerShell:

# Replace the example URL with a server containing your vcpkg package archives.
$env:VCPKG_BINARY_SOURCES = 'clear;default,readwrite;http,https://cache.example.com/{sha}.zip,read'
.\build.bat

Remote packages must match the compiler, x64-windows-ruzu triplet, port recipes and dependency features. Missing or incompatible cached packages are built locally. A remote cache must first be populated and hosted; the Windows Ruzu release ZIP contains the application, rather than a dependency SDK. Sharing an SDK through vcpkg export is another option, but exported SDKs are not currently accepted by build.bat -VcpkgRoot, which expects a standalone vcpkg checkout. Cargo still builds Ruzu and SDL3 separately.

Packaging

Target Command
Linux AppImage ./build.sh appimage
Steam Deck AppImage (Docker) ./build.sh steamdeck
Linux DEB / macOS ZIP ./build.sh package
Windows ZIP and installer build.bat package

Windows installer packaging also requires NSIS 3.

See the Linux AppImage guide and Steam Deck packaging guide for requirements, output locations and testing instructions.

These commands package the current checkout without committing, tagging or pushing. Package names use the exact version tag at HEAD when available, otherwise the branch and commit; local modifications add a -dirty suffix.

Maintainers can explicitly start the interactive release workflow with ./build.sh package --official or build.bat package -Official. That workflow updates the version, builds, tags and pushes the current branch and tag after successful packaging. It does not upload release assets.

Development and testing

The code is organized as a Cargo workspace under src/. Core components include the emulated kernel and services, graphics and shader processing, audio, input, and the desktop frontend.

The project also includes:

  • rdynarmic: the ARM dynamic recompiler.
  • rxbyak: a Rust x86-64 JIT assembler based on Xbyak.

Read AGENTS.md before changing emulation code. Changes should remain traceable to their upstream counterparts where applicable, and behavior changes should have focused regression tests.

Example test commands:

cargo test -p common
cargo test -p core
cargo test -p rdynarmic

For command-line testing with a homebrew application:

cargo run --release --bin ruzu-cmd -- -g "/path/to/freebrick.nro"

Tests are complemented by runtime validation: passing unit tests alone does not establish game compatibility or performance.

Community and bug reports

Join the Ruzu Discord community to discuss the emulator, share feedback and help test new builds.

Report reproducible problems through GitHub Issues. Include:

  • the Ruzu version or commit;
  • your operating system, CPU, GPU and graphics driver;
  • the graphics backend and relevant settings;
  • steps to reproduce, logs, and screenshots or a short recording when useful.

Remove personal information from logs before sharing them. Do not upload copyrighted game files, keys or system files.

License

Ruzu is licensed under GPL-3.0-or-later. Third-party dependencies retain their respective licenses.

Ruzu does not include Nintendo games, keys or system files and is not affiliated with Nintendo. This software should not be used to play games you have not legally obtained.

Acknowledgements

Ruzu would not exist without the work of the wider emulation and open-source communities. Special thanks to:

  • the yuzu/eden team and its contributors, for the foundations of the emulator and years of hardware research;
  • Merry (MerryMage) and the dynarmic contributors, including Lioncash, for their work on ARM dynamic recompilation;
  • Mitsunari Shigeo (herumi), author of Xbyak;
  • the maintainers of Rust, GTK, SDL, Vulkan, and the libraries and tools used throughout the project;
  • everyone contributing code, testing builds, reporting bugs and helping other users.

探索相关项目

加载中…