mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-22 17:47:48 -06:00
The yuzu family reads its firmware from nand/system/Contents/registered/, which EmuDeck links from bios/<emulator>/firmware and RetroBat places in the emulator folder. The 229 NCAs of the held firmware zip are now kept loose under that tail, so the directory entries resolve and the packs and install lists carry them. Each NCA is named after the first 16 bytes of its SHA-256, the comparison the firmware install runs, and a test holds every committed NCA to it. The NCAs are committed, so the entries no longer claim release storage.
115 lines
5.8 KiB
YAML
115 lines
5.8 KiB
YAML
emulator: Yuzu
|
|
type: standalone
|
|
core_classification: official_port
|
|
source: "https://github.com/yuzu-emu-mirror/yuzu"
|
|
upstream: "https://github.com/yuzu-emu/yuzu"
|
|
profiled_date: "2026-03-26"
|
|
source_commit: "15e6e48bef0216480661444a8d8b348c1cca47bb"
|
|
pin_frozen: "The analysed revision, the one the EA 4176 build documented here comes from. yuzu stopped in March 2024 and the mirror's later commits are a fork's."
|
|
upstream_gone: "GitHub withdrew the repository for legal reasons: the API answers HTTP 451 for both yuzu-emu/yuzu and the yuzu-emu-mirror copy. Observed 2026-09-04. The fork Zenfone-5-X00QD-4-19/yuzu, pushed 2024-03-05, still serves the analysed commit."
|
|
source_mirror: "https://github.com/Zenfone-5-X00QD-4-19/yuzu"
|
|
core_version: "EA 4176"
|
|
version_basis:
|
|
kind: unverified
|
|
why: host_gone
|
|
display_name: "Yuzu (Nintendo Switch)"
|
|
cores:
|
|
- yuzu
|
|
- "yuzu-sa"
|
|
systems: [nintendo-switch]
|
|
analysis_date: "2026-03-26"
|
|
analysis_commit: "15e6e48 (yuzu-emu-mirror, depth=1)"
|
|
mode: standalone
|
|
|
|
# Yuzu is the original Nintendo Switch emulator by bunnei and the yuzu team.
|
|
# Legally shut down by Nintendo in March 2024. Citron, Suyu, Eden are community forks.
|
|
# Key files loaded from <data_dir>/keys/ (fs_paths.h:18, path_util.cpp:124).
|
|
# On Linux: $XDG_DATA_HOME/yuzu/keys/
|
|
# On Windows: %APPDATA%/yuzu/keys/
|
|
# Firmware NCAs are installed via UI (main.cpp:4160) into nand/system/Contents/registered/.
|
|
# HLE fallbacks exist for fonts, timezone, system version, mii model, ng word lists.
|
|
# Original repo DMCA'd by Nintendo. Analysis from community mirror (yuzu-emu-mirror).
|
|
|
|
files:
|
|
- name: "prod.keys"
|
|
required: true
|
|
path: "keys/prod.keys"
|
|
note: "Production keys for NCA decryption (master, key area, header, titlekek)"
|
|
source_ref: "src/core/crypto/key_manager.cpp:655-656"
|
|
|
|
- name: "title.keys"
|
|
required: false
|
|
path: "keys/title.keys"
|
|
note: "Per-title encryption keys (rights_id to titlekey mappings)"
|
|
source_ref: "src/core/crypto/key_manager.cpp:659-660"
|
|
|
|
- name: "console.keys"
|
|
required: false
|
|
path: "keys/console.keys"
|
|
note: "Console-specific keys (BIS, SD seed)"
|
|
source_ref: "src/core/crypto/key_manager.cpp:661-662"
|
|
|
|
- name: "key_retail.bin"
|
|
required: false
|
|
path: "keys/key_retail.bin"
|
|
size: 160
|
|
note: "Amiibo decryption keys (two InternalKey structs, 0x50 bytes each)"
|
|
source_ref: "src/core/hle/service/nfc/common/amiibo_crypto.cpp:273-294"
|
|
|
|
- name: "registered/"
|
|
type: directory
|
|
path: "nand/system/Contents/registered/"
|
|
required: false
|
|
hle_fallback: true
|
|
description: "Installed Switch system firmware, the system title NCAs"
|
|
note: >-
|
|
Read as the system NAND content registry at every start. Files are named
|
|
<32 hex digits>.nca or <32 hex digits>.cnmt.nca, flat or under 000000XX
|
|
folders, a directory of the same name holding split parts 00, 01... also
|
|
accepted. The meta NCAs index the rest. Nothing is required to boot: a
|
|
missing system data archive is synthesized for MiiModel, NgWord,
|
|
SystemVersion, TimeZoneBinary and the five shared fonts, any other one
|
|
fails the service call, and the applet actions stay disabled until the
|
|
MiiEdit program NCA is present.
|
|
source_ref: "src/core/file_sys/bis_factory.cpp:20, src/core/hle/service/filesystem/filesystem.cpp:691-708, src/common/fs/fs_paths.h:21, src/common/fs/path_util.cpp:127, src/core/file_sys/registered_cache.cpp:50-57, 329-347, 379-413, src/core/hle/service/filesystem/fsp/fsp_srv.cpp:416-447, src/core/file_sys/system_archive/system_archive.cpp:26-68, src/yuzu/main.cpp:1613, 1640, 4804-4818"
|
|
|
|
- name: "<firmware>"
|
|
aliases: ["<firmware>.zip"]
|
|
required: false
|
|
storage: large_file
|
|
description: "Switch system firmware dump, a folder or zip of NCAs"
|
|
note: >-
|
|
Install medium chosen by the user, never read again. The desktop build
|
|
takes a folder and copies the .nca files at its top level, the Android
|
|
build takes a zip whose entries must all be .nca files at its root. Keys
|
|
must be installed first. The registry is emptied, the files copied under
|
|
their own names, then every non-meta NCA is hashed with SHA-256 and the
|
|
first 16 bytes compared with its file name.
|
|
source_ref: "src/yuzu/main.cpp:4160-4295, src/frontend_common/content_manager.h:257-336, src/core/loader/nca.cpp:86-159, src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt:373-418, src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/InstallableFragment.kt:135"
|
|
|
|
standalone_directories:
|
|
- "$XDG_DATA_HOME/yuzu"
|
|
- "$HOME/.local/share/yuzu"
|
|
- "PORTABLE_DIR"
|
|
data_root:
|
|
windows:
|
|
path: "%APPDATA%/yuzu"
|
|
source_ref: "src/common/fs/path_util.cpp:90-96, CMakeLists.txt:67"
|
|
note: "A user folder beside yuzu.exe is used instead when it exists."
|
|
linux:
|
|
path: "$XDG_DATA_HOME/yuzu, else ~/.local/share/yuzu"
|
|
source_ref: "src/common/fs/path_util.cpp:105-115, 303-311"
|
|
note: "A user folder in the working directory is used instead when it exists."
|
|
android:
|
|
path: "Android/data/org.yuzu.yuzu_emu/files"
|
|
source_ref: "src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.kt:41-42, src/common/fs/path_util.cpp:100-101"
|
|
note: "relWithDebInfo, debug and ea builds append .relWithDebInfo, .debug or .ea to the package name."
|
|
|
|
notes: |
|
|
Yuzu is the original standalone Nintendo Switch emulator, created by bunnei (author of Citra).
|
|
Legally shut down by Nintendo in March 2024 via lawsuit settlement. Permanently frozen.
|
|
dev.keys can be used instead of prod.keys when use_dev_keys is enabled (for Switch dev units).
|
|
Firmware (system NCAs) is installed through the UI from a folder, or a zip on Android.
|
|
Commercial games need the keys. Homebrew (.nro, .nso) runs without keys or firmware.
|
|
Community forks: Citron, Suyu, Eden. Original GitHub repos DMCA'd.
|