跳到正文

正在自动登录…

← 返回项目列表

hffgzktbcc-blip/ounce-core

Switch2模拟

ounce-core 是一个用纯 Rust 编写的任天堂 Switch 2 模拟器引擎,能够启动并执行未修改的 Switch 2 原生 AArch64 二进制文件(如 .xci、.nsp 等)以及捕获的固件机器码。它面向对 Switch 2 硬件和系统软件感兴趣的开发者、研究人员和模拟器爱好者。

AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/25 21:26:23 · 查看原文

Rust应用与服务
累计 Stars
51
当前热度
1 天内 · 小火
仓库创建时间
打开 GitHub ↗

选用指南

AI 根据 README 整理 · 2026/10/25 21:26:23

使用方式

通过命令行使用,可运行测试套件或直接启动 XCI、NSP 等二进制文件。

查看 README 依据
- **Test 15 (`test_nvn_and_romfs_asset_boot`)**: Boots an encrypted multi-section `NCA3` package containing Section 0 (`ExeFS`) and Section 1 (`RomFS`), automatically decrypts and mounts assets (`romfs:/shaders/t239_ampere.glsl`, `romfs:/textures/switch2_logo.bin`, `romfs:/manifest.json`), executes guest AArch64 code building an `NVN` command buffer, and submits via fast-path `SVC #0x2D` (`svcNvnSubmitCommandBuffer`). ## Quick Start ```bash # Run all 27 unit tests cargo test --release # Run the 15-stage full-stack integration & real Switch 2 binary verification suite
cargo run --release -- test # Boot an XCI, NSP, NCA3, NSO0, or NRO0 executable directly cargo run --release -- run ns2jb_ro_payload.bin ```
部署要求

需要 Rust 工具链和 Cargo 包管理器,以编译和运行项目。

查看 README 依据
- **Test 15 (`test_nvn_and_romfs_asset_boot`)**: Boots an encrypted multi-section `NCA3` package containing Section 0 (`ExeFS`) and Section 1 (`RomFS`), automatically decrypts and mounts assets (`romfs:/shaders/t239_ampere.glsl`, `romfs:/textures/switch2_logo.bin`, `romfs:/manifest.json`), executes guest AArch64 code building an `NVN` command buffer, and submits via fast-path `SVC #0x2D` (`svcNvnSubmitCommandBuffer`). ## Quick Start ```bash # Run all 27 unit tests cargo test --release # Run the 15-stage full-stack integration & real Switch 2 binary verification suite
已知限制

目前仅支持特定的 Switch 2 固件版本(23.0.1)和硬件配置(Tegra T239),且为引擎实现,可能不包含完整的图形界面或用户友好功能。

查看 README 依据
`ounce-core` is a pure-Rust, clean-room Nintendo Switch 2 (`Ounce` / NVIDIA Tegra T239 / Horizon OS Firmware 23.0.1) emulator engine capable of booting and executing both **unaltered real Switch 2 native AArch64 (`.xci` / `.nsp` / `HFS0` / `PFS0` / `NCA3` / `NSO0` / `NRO0`) binaries** and **captured Switch 2 Firmware 23.0.1 `nnSdk` & `nnCompatThin` machine code**. ## Key Features & Architecture 1. **Pure-Rust ARMv8.3-A / ARMv8.5-A AArch64 CPU, NEON & Basic-Block JIT Cache (`src/cpu`)**

README

正在加载 README…

收录信息

仓库创建时间
2026/10/25 03:32:45
首次达标收录
2026/10/25 21:21:14
统计更新时间
2026/10/25 21:51:19

按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。

仓库信息

最近推送
2026/10/25 21:38:27
许可证标识
未识别,请查看仓库说明
Fork 数
7
当前状态
未归档

收录记录

按创建时长与累计 Stars 首次收录:小火
首次发现项目