Files
libretro/emulators/eden.yml
T
Abdessamad Derraz e1cbf79415 feat: collect the Switch firmware NCAs
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.
2026-11-20 05:36:15 +01:00

122 lines
5.7 KiB
YAML

emulator: Eden
type: standalone
core_classification: community_fork
source: "https://git.eden-emu.dev/eden-emu/eden"
upstream: "https://git.eden-emu.dev/eden-emu/eden"
# git.eden-emu.dev answers 403 to anything that is not a browser, so the
# Codeberg copy is what keeps this profile checkable.
source_mirror: "https://codeberg.org/eden-emu/eden"
profiled_date: "2026-03-26"
source_commit: "26a03d2473787abf3223b2d0e65b291eee00c1e1"
core_version: "v0.2.0-401-g26a03d2"
version_basis:
kind: tag
tag: "v0.2.0"
distance: 401
display_name: "Eden (Nintendo Switch)"
cores:
- eden
systems: [nintendo-switch]
analysis_date: "2026-03-26"
analysis_commit: "9347202 (depth=1)"
mode: standalone
# Eden is a community fork of yuzu, started by Camille LaVey.
# Key files loaded from <data_dir>/keys/ (src/common/fs/fs_paths.h:20, src/common/fs/path_util.cpp:158).
# On Linux: $XDG_DATA_HOME/eden/keys/
# On Windows: %APPDATA%/eden/keys/
# Firmware NCAs are installed via UI (Tools > Install Firmware) into nand/system/Contents/registered/.
# HLE fallbacks exist for fonts, timezone, system version, mii model, ng word lists.
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:574-575, 853"
- name: "dev.keys"
required: false
path: "keys/dev.keys"
note: "Development-unit keys, read instead of prod.keys when use_dev_keys is set"
source_ref: "src/core/crypto/key_manager.cpp:570-571, 852"
- 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:577-578, 850"
- name: "console.keys"
required: false
path: "keys/console.keys"
note: "Console-specific keys (BIS, SD seed)"
source_ref: "src/core/crypto/key_manager.cpp:579-580"
- 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:281-302"
- 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. A missing system data archive is
synthesized for MiiModel, NgWord, SystemVersion, TimeZoneBinary and the
shared fonts, any other one fails the service call. Firmware counts as
present when the MiiEdit program NCA is found. Without it the desktop
build warns before launching Mario Kart 8 Deluxe, the one title it lists,
and launches anyway on OK.
source_ref: "src/core/file_sys/bis_factory.cpp:20, src/core/hle/service/filesystem/filesystem.cpp:734-750, src/common/fs/fs_paths.h:24, src/common/fs/path_util.cpp:162, src/core/file_sys/registered_cache.cpp:58-64, 585-604, 659-693, src/core/hle/service/filesystem/fsp/fsp_srv.cpp:511-542, src/frontend_common/firmware_manager.h:23-25, 49-53, 66-82, src/qt_common/util/content.cpp:26-38, src/yuzu/main_window.cpp:1804"
- name: "<firmware>.zip"
aliases: ["<firmware>"]
required: false
storage: large_file
description: "Switch system firmware dump, a zip or folder of NCAs"
note: >-
Install medium chosen by the user, never read again. The desktop build
takes a folder, copying the .nca files at its top level, or a zip, which
it extracts and searches for .nca files at any depth. 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_window.cpp:1618-1619, src/qt_common/util/content.cpp:41-160, 182-202, 508-548, src/frontend_common/content_manager.h:262-331, src/core/loader/nca.cpp:143-223, src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InstallableActions.kt:132-178, src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/InstallableFragment.kt:136"
standalone_directories:
- "$XDG_DATA_HOME/eden"
- "$HOME/.local/share/eden"
- "PORTABLE_DIR"
data_root:
windows:
path: "%APPDATA%/eden"
source_ref: "src/common/fs/path_util.cpp:115-118"
note: "A user folder beside eden.exe is used instead when it exists."
linux:
path: "$XDG_DATA_HOME/eden, else ~/.local/share/eden"
source_ref: "src/common/fs/path_util.cpp:135-139, 368-377"
note: "A user folder in the working directory is used instead when it exists."
macos:
path: "$XDG_DATA_HOME/eden, else ~/.local/share/eden"
source_ref: "src/common/fs/path_util.cpp:135-139, 368-377"
note: "A user folder in the working directory is used instead when it exists."
android:
path: "Android/data/dev.eden.eden_emulator/files"
source_ref: "src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.kt:42-43, src/common/fs/path_util.cpp:130-131"
note: "Nightly, relWithDebInfo and debug builds append .nightly, .relWithDebInfo or .debug to the package name."
notes: |
Eden is a standalone Nintendo Switch emulator, community fork of yuzu by Camille LaVey.
Firmware (system NCAs) is installed through the UI from a zip or a folder of NCAs.
Commercial games need the keys. Homebrew (.nro, .nso) runs without keys or firmware.