mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-22 17:47:48 -06:00
feat: document the Switch firmware trees
Each yuzu-line profile (yuzu, suyu, sudachi, citron, eden) gains the installed tree nand/system/Contents/registered/ and the install medium the UI accepts, Ryujinx and Kenji-NX the bis/ tree and the zip, xci or folder ContentManager verifies. Citron and Suyu are pinned to their Software Heritage revisions.
This commit is contained in:
1 parent
56290f3bb7
commit
c7ea76fbfb
10 files changed
+344
-23
No files matched your search
+38
-4
@@ -4,7 +4,9 @@ core_classification: community_fork
|
||||
source: "https://git.citron-emu.org/citron-emu/Citron"
|
||||
upstream: "https://git.citron-emu.org/citron-emu/Citron"
|
||||
profiled_date: "2026-03-26"
|
||||
upstream_gone: "git.citron-emu.org no longer resolves, and git.citron-emu.com redirects to an unrelated survey site, the domain having been taken. Observed 2026-09-04, no mirror found."
|
||||
upstream_gone: "git.citron-emu.org no longer resolves, and git.citron-emu.com redirects to an unrelated survey site, the domain having been taken. Observed 2026-09-04. Software Heritage archived the repository on 2026-03-13, main and tag 2026.03.12 at the analysed commit below."
|
||||
source_commit: "79dee42601deff2077160906f9a89756fca820a9"
|
||||
source_mirror: "https://archive.softwareheritage.org/browse/revision/79dee42601deff2077160906f9a89756fca820a9/"
|
||||
core_version: "2026.03.12"
|
||||
version_basis:
|
||||
kind: unverified
|
||||
@@ -28,7 +30,7 @@ standalone_directories:
|
||||
# are relative to the data folder: $XDG_DATA_HOME/citron on Linux, or the
|
||||
# user folder (PORTABLE_DIR) beside the executable when it exists.
|
||||
# On Batocera: 002-adjust-paths.patch sets KeysDir to /userdata/bios/switch.
|
||||
# Firmware NCAs are installed into NAND via UI (main.cpp:1808), not placed as files.
|
||||
# Firmware NCAs are installed via UI (main.cpp:1808) into nand/system/Contents/registered/.
|
||||
# HLE fallbacks exist for fonts, timezone, system version, mii model, ng word lists.
|
||||
|
||||
files:
|
||||
@@ -57,8 +59,40 @@ files:
|
||||
note: "Amiibo decryption keys (two InternalKey structs, 0x50 bytes each)"
|
||||
source_ref: "src/core/hle/service/nfc/common/amiibo_crypto.cpp:274-292"
|
||||
|
||||
- name: "registered/"
|
||||
type: directory
|
||||
path: "nand/system/Contents/registered/"
|
||||
required: false
|
||||
hle_fallback: true
|
||||
storage: large_file
|
||||
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 where the core carries one
|
||||
and fails the service call otherwise, and the Album, Cabinet, Mii Edit,
|
||||
controller and home menu applets refuse to open until the firmware is
|
||||
installed.
|
||||
source_ref: "src/core/file_sys/bis_factory.cpp:20, src/core/file_sys/registered_cache.cpp:53-60, 332-351, 382-416, src/core/hle/service/filesystem/fsp/fsp_srv.cpp:491-521, src/citron/main.cpp:5435-5553, 5884-5898"
|
||||
|
||||
- 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
|
||||
offers a zip, extracted to a temporary folder, or a folder, and in both
|
||||
cases copies only the .nca files at the 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 each installed NCA is checked for integrity.
|
||||
source_ref: "src/citron/main.cpp:1808, 4834-4997, 4999-5159, src/android/app/src/main/java/org/citron/citron_emu/ui/main/MainActivity.kt:373-418"
|
||||
|
||||
notes: |
|
||||
Citron is a standalone Nintendo Switch emulator, community fork of yuzu by Zephyron.
|
||||
dev.keys can be used instead of prod.keys when use_dev_keys is enabled (for Switch dev units).
|
||||
Firmware (system NCAs) must be installed through Citron's UI from a firmware ZIP or NCA files.
|
||||
Required for commercial games. Homebrew (.nro, .nso) can run without keys or firmware.
|
||||
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.
|
||||
+37
-3
@@ -25,7 +25,7 @@ mode: standalone
|
||||
# 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), not placed as files.
|
||||
# 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:
|
||||
@@ -60,6 +60,40 @@ files:
|
||||
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
|
||||
storage: large_file
|
||||
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"
|
||||
@@ -84,5 +118,5 @@ data_root:
|
||||
|
||||
notes: |
|
||||
Eden is a standalone Nintendo Switch emulator, community fork of yuzu by Camille LaVey.
|
||||
Firmware (system NCAs) must be installed through Eden's UI from a firmware ZIP or NCA folder.
|
||||
Required for commercial games. Homebrew (.nro, .nso) can run without keys or firmware.
|
||||
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.
|
||||
+20
-3
@@ -63,9 +63,10 @@ notes: |
|
||||
zip or an xci with an update partition, verifies each NCA against the key set
|
||||
and refuses a package carrying unrelated archives, then registers the contents
|
||||
under bis/system/Contents/registered. Android passes a file descriptor instead
|
||||
of a path but reaches the same two methods. Nothing gates the launch on it:
|
||||
homebrew NRO goes through ProcessLoader without touching the key set, and the
|
||||
failure is deferred to the first service that needs a system archive.
|
||||
of a path but reaches the same two methods. On Android nothing gates the
|
||||
launch on it: homebrew NRO goes through ProcessLoader without touching the
|
||||
key set, and the failure is deferred to the first service that needs a
|
||||
system archive.
|
||||
ref: src/Ryujinx.HLE/FileSystem/ContentManager.cs:431-498,675-749,891-904,
|
||||
src/LibKenjinx/Android/JniExportedMethods.cs:462-498,
|
||||
src/Ryujinx.HLE/Loaders/Processes/ProcessLoader.cs:186-214
|
||||
@@ -148,6 +149,22 @@ files:
|
||||
"name = value" lines.
|
||||
source_ref: "src/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs:243,260-263,266, src/Ryujinx.HLE/FileSystem/ContentManager.cs:1104-1105"
|
||||
|
||||
- name: "registered/"
|
||||
type: directory
|
||||
path: "bis/system/Contents/registered/"
|
||||
required: false
|
||||
storage: large_file
|
||||
description: "Installed Switch system firmware, the system title NCAs"
|
||||
note: >-
|
||||
Read at every start: each folder <NCA id>.nca under registered/ is opened
|
||||
at its first file, the installer writing it as 00, and decrypted with the
|
||||
key set to index its title and content type. The installed version is
|
||||
read from title 0100000000000809. The desktop window refuses any launch
|
||||
other than an .nro or .nso without it. The Android entry point applies no
|
||||
such check, and a missing system archive fails only the service that asks
|
||||
for it.
|
||||
source_ref: "src/Ryujinx.HLE/FileSystem/ContentManager.cs:101-188, 1047-1080, src/Ryujinx.HLE/FileSystem/ContentPath.cs:33, src/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs:31, src/Ryujinx.Common/Configuration/AppDataManager.cs:36, src/Ryujinx.UI.Common/Helper/SetupValidator.cs:92-112, src/Ryujinx/AppHost.cs:695-755"
|
||||
|
||||
- name: "<firmware>.zip"
|
||||
aliases: ["<firmware>.xci"]
|
||||
required: false
|
||||
|
||||
+31
-2
@@ -37,7 +37,7 @@ data_root:
|
||||
# Key files are read from {BaseDirPath}/system/ (src/Ryujinx.Common/Configuration/AppDataManager.cs:229)
|
||||
# Also searched in ~/.switch/ (src/Ryujinx.Common/Configuration/AppDataManager.cs:47)
|
||||
# Batocera copied bios/switch/prod.keys to Ryujinx/system/prod.keys (batocera ryujinxGenerator.py:108 at 1f69a46e) until it dropped the package in ee8a418f
|
||||
# Firmware NCAs are installed via UI (src/Ryujinx.HLE/FileSystem/ContentManager.cs:429), not placed as files
|
||||
# Firmware NCAs are installed via UI (src/Ryujinx.HLE/FileSystem/ContentManager.cs:429) into bis/system/Contents/registered/
|
||||
|
||||
files:
|
||||
- name: "prod.keys"
|
||||
@@ -58,9 +58,38 @@ files:
|
||||
note: "Console-specific keys for encrypted content"
|
||||
source_ref: "src/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs:240"
|
||||
|
||||
- name: "registered/"
|
||||
type: directory
|
||||
path: "bis/system/Contents/registered/"
|
||||
required: true
|
||||
storage: large_file
|
||||
description: "Installed Switch system firmware, the system title NCAs"
|
||||
note: >-
|
||||
Read at every start: each folder <NCA id>.nca under registered/ is opened
|
||||
at its first file, the installer writing it as 00, and decrypted with the
|
||||
key set to index its title and content type. The installed version is
|
||||
read from title 0100000000000809. Without it every launch other than an
|
||||
.nro or .nso stops with the no-firmware error, unless the game is an xci
|
||||
carrying an update partition, which is then offered for install.
|
||||
source_ref: "src/Ryujinx.HLE/FileSystem/ContentManager.cs:99-186, 932-965, src/Ryujinx.HLE/FileSystem/ContentPath.cs:33, src/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs:31, src/Ryujinx.Common/Configuration/AppDataManager.cs:36, src/Ryujinx.UI.Common/Helper/SetupValidator.cs:13-26, 92-112, src/Ryujinx/AppHost.cs:603-662"
|
||||
|
||||
- name: "<firmware>.zip"
|
||||
aliases: ["<firmware>.xci", "<firmware>"]
|
||||
required: false
|
||||
storage: large_file
|
||||
description: "Switch system firmware package, a zip, an xci or a folder of NCAs"
|
||||
note: >-
|
||||
Install medium chosen by the user, never read again. Zip entries ending
|
||||
in .nca or .nca/00 are taken at any depth, an xci is opened at its update
|
||||
partition, a folder through its .nca entries. Before installing, each
|
||||
NCA is decrypted with the key set, title 0100000000000816 must be present,
|
||||
and every other NCA must be listed in its meta with a matching SHA-256 or
|
||||
the package is refused. The NCAs are then written as registered/<NCA id>.nca/00.
|
||||
source_ref: "src/Ryujinx.HLE/FileSystem/ContentManager.cs:429-556, 584-930, src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs:1007-1109, 1328-1373"
|
||||
|
||||
notes: |
|
||||
Ryujinx is a standalone Nintendo Switch emulator written in C#, created by gdkchan.
|
||||
Original repo discontinued October 2024 after Nintendo takedown.
|
||||
Firmware (system NCAs) must be installed through Ryujinx's UI from a ZIP or XCI.
|
||||
Firmware (system NCAs) is installed through the UI from a zip, an xci or a folder.
|
||||
Required for commercial games (.nsp, .xci). Homebrew (.nro, .nso) runs without firmware.
|
||||
Firmware provides shared fonts, timezone data, SSL certificates, system version info.
|
||||
+32
-1
@@ -46,7 +46,7 @@ notes: |
|
||||
Key loading stops when neither prod.keys nor title.keys exists
|
||||
(src/core/crypto/key_manager.cpp:649-652).
|
||||
Firmware (system NCAs) is installed through the UI (Tools, Install
|
||||
Firmware, src/sudachi/main.cpp:4130), not read as loose files.
|
||||
Firmware, src/sudachi/main.cpp:4130) into nand/system/Contents/registered/.
|
||||
Commercial games need the keys. Homebrew (.nro, .nso) runs without keys or firmware.
|
||||
|
||||
files:
|
||||
@@ -80,3 +80,34 @@ files:
|
||||
size: 160
|
||||
note: "Amiibo decryption keys (two InternalKey structs, 0x50 bytes each)"
|
||||
source_ref: "src/core/hle/service/nfc/common/amiibo_crypto.cpp:273-295"
|
||||
|
||||
- name: "registered/"
|
||||
type: directory
|
||||
path: "nand/system/Contents/registered/"
|
||||
required: false
|
||||
hle_fallback: true
|
||||
storage: large_file
|
||||
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 shared fonts, any other one fails
|
||||
the service call, and the applet actions need the MiiEdit program NCA.
|
||||
source_ref: "src/core/file_sys/bis_factory.cpp:20, src/core/file_sys/registered_cache.cpp:50-57, 329-348, 379-413, src/core/hle/service/filesystem/fsp/fsp_srv.cpp:416-447, src/sudachi/main.cpp:1604, 4839-4853"
|
||||
|
||||
- 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/sudachi/main.cpp:1597, 4130-4265, src/frontend_common/content_manager.h:257-336, src/core/loader/nca.cpp:86-159, src/android/app/src/main/java/org/sudachi/sudachi_emu/ui/main/MainActivity.kt:424-470, src/android/app/src/main/java/org/sudachi/sudachi_emu/fragments/InstallableFragment.kt:135"
|
||||
+37
-4
@@ -4,7 +4,9 @@ core_classification: community_fork
|
||||
source: "https://github.com/suyu-emu/suyu"
|
||||
upstream: "https://github.com/suyu-emu/suyu"
|
||||
profiled_date: "2026-03-26"
|
||||
upstream_gone: "GitHub withdrew the repository for legal reasons: the API answers HTTP 451. git.suyu.dev still serves a Forgejo page, but its API answers 403 and its raw paths 404, so it carries no readable tree. Observed 2026-09-04."
|
||||
upstream_gone: "GitHub withdrew the repository for legal reasons: the API answers HTTP 451. git.suyu.dev still serves a Forgejo page, but its API answers 403 and its raw paths 404, so it carries no readable tree. Observed 2026-09-04. Software Heritage archived git.suyu.dev on 2025-03-16, dev at the commit below, where the key and amiibo references land on the lines they cite. The analysed c096d16 is on no archived branch."
|
||||
source_commit: "ee365bad9501c73ff49936e72ec91cd9c3ce5c24"
|
||||
source_mirror: "https://archive.softwareheritage.org/browse/revision/ee365bad9501c73ff49936e72ec91cd9c3ce5c24/"
|
||||
core_version: "Yuzu EA 4176 based"
|
||||
version_basis:
|
||||
kind: unverified
|
||||
@@ -28,7 +30,7 @@ standalone_directories:
|
||||
# are relative to the data folder: $XDG_DATA_HOME/suyu on Linux,
|
||||
# %APPDATA%/suyu on Windows, or the user folder (PORTABLE_DIR) beside the
|
||||
# executable when it exists.
|
||||
# Firmware NCAs are installed via UI, not placed as files.
|
||||
# Firmware NCAs are installed via UI into nand/system/Contents/registered/.
|
||||
# HLE fallbacks exist for fonts, timezone, system version, mii model, ng word lists.
|
||||
# Original repos (GitHub + GitLab) are DMCA'd. Analysis from community mirror.
|
||||
|
||||
@@ -58,9 +60,40 @@ files:
|
||||
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
|
||||
storage: large_file
|
||||
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 shared fonts, any other one fails
|
||||
the service call, and the applet actions need the MiiEdit program NCA.
|
||||
source_ref: "src/core/file_sys/bis_factory.cpp:20, src/core/file_sys/registered_cache.cpp:50-57, 329-348, 379-413, src/core/hle/service/filesystem/fsp/fsp_srv.cpp:425-456, src/suyu/main.cpp:4828-4842"
|
||||
|
||||
- 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/suyu/main.cpp:4152-4287, src/frontend_common/content_manager.h:257-336, src/core/loader/nca.cpp:86-159, src/android/app/src/main/java/dev/suyu/suyu_emu/ui/main/MainActivity.kt:373-418"
|
||||
|
||||
notes: |
|
||||
Suyu is a standalone Nintendo Switch emulator, community fork of yuzu after legal takedown.
|
||||
dev.keys can be used instead of prod.keys when use_dev_keys is enabled (for Switch dev units).
|
||||
Firmware (system NCAs) must be installed through Suyu's UI from a firmware ZIP or NCA folder.
|
||||
Required for commercial games. Homebrew (.nro, .nso) can run without keys or firmware.
|
||||
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.
|
||||
Original repos DMCA'd by Nintendo. Analysis performed from community mirror (Hengle/suyu-emu).
|
||||
+35
-3
@@ -26,7 +26,7 @@ mode: standalone
|
||||
# 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), not placed as files.
|
||||
# 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).
|
||||
|
||||
@@ -56,6 +56,38 @@ files:
|
||||
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
|
||||
storage: large_file
|
||||
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"
|
||||
@@ -78,6 +110,6 @@ 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) must be installed through Yuzu's UI from a firmware directory.
|
||||
Required for commercial games. Homebrew (.nro, .nso) can run without keys or firmware.
|
||||
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.
|
||||
+54
-1
@@ -2182,7 +2182,7 @@
|
||||
"total_size": 9389534458,
|
||||
"pack_files": 16136,
|
||||
"pack_size": 8753125146,
|
||||
"total_omitted": 378,
|
||||
"total_omitted": 383,
|
||||
"omitted_files": [
|
||||
{
|
||||
"dest": "3dobios.zip",
|
||||
@@ -2844,6 +2844,17 @@
|
||||
"mame2009"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bis/system/Contents/registered",
|
||||
"root": "emulator",
|
||||
"name": "registered/",
|
||||
"system": "",
|
||||
"required": true,
|
||||
"reason": "outside_bios_folder",
|
||||
"cores": [
|
||||
"ryujinx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bubsys.zip",
|
||||
"root": "emulator",
|
||||
@@ -2975,6 +2986,16 @@
|
||||
],
|
||||
"held": true
|
||||
},
|
||||
{
|
||||
"dest": "citron/firmware",
|
||||
"name": "registered/",
|
||||
"system": "nintendo-switch",
|
||||
"required": false,
|
||||
"reason": "not_found",
|
||||
"cores": [
|
||||
"citron"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "cpzn1.zip",
|
||||
"root": "emulator",
|
||||
@@ -3305,6 +3326,16 @@
|
||||
],
|
||||
"category": "game_data"
|
||||
},
|
||||
{
|
||||
"dest": "eden/firmware",
|
||||
"name": "registered/",
|
||||
"system": "nintendo-switch",
|
||||
"required": false,
|
||||
"reason": "not_found",
|
||||
"cores": [
|
||||
"eden"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "extras.wad",
|
||||
"name": "extras.wad",
|
||||
@@ -4936,6 +4967,28 @@
|
||||
"azahar"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "nand/system/Contents/registered",
|
||||
"root": "emulator",
|
||||
"name": "registered/",
|
||||
"system": "",
|
||||
"required": false,
|
||||
"reason": "outside_bios_folder",
|
||||
"cores": [
|
||||
"suyu"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "nand/system/Contents/registered",
|
||||
"root": "emulator",
|
||||
"name": "registered/",
|
||||
"system": "",
|
||||
"required": false,
|
||||
"reason": "outside_bios_folder",
|
||||
"cores": [
|
||||
"yuzu"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "naomi2.zip",
|
||||
"root": "emulator",
|
||||
|
||||
+56
-1
@@ -1785,7 +1785,7 @@
|
||||
"total_size": 9639486696,
|
||||
"pack_files": 11252,
|
||||
"pack_size": 9651834655,
|
||||
"total_omitted": 418,
|
||||
"total_omitted": 423,
|
||||
"omitted_files": [
|
||||
{
|
||||
"dest": "3dobios.zip",
|
||||
@@ -3436,6 +3436,17 @@
|
||||
],
|
||||
"held": true
|
||||
},
|
||||
{
|
||||
"dest": "citron/user/nand/system/Contents/registered",
|
||||
"root": "emulators",
|
||||
"name": "registered/",
|
||||
"system": "nintendo-switch",
|
||||
"required": false,
|
||||
"reason": "not_found",
|
||||
"cores": [
|
||||
"citron"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "coh1000a.zip",
|
||||
"root": "emulator",
|
||||
@@ -4036,6 +4047,17 @@
|
||||
],
|
||||
"category": "game_data"
|
||||
},
|
||||
{
|
||||
"dest": "eden/user/nand/system/Contents/registered",
|
||||
"root": "emulators",
|
||||
"name": "registered/",
|
||||
"system": "nintendo-switch",
|
||||
"required": false,
|
||||
"reason": "not_found",
|
||||
"cores": [
|
||||
"eden"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "enhanced.gob",
|
||||
"name": "enhanced.gob",
|
||||
@@ -5941,6 +5963,17 @@
|
||||
"amiberry"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "ryujinx/portable/bis/system/Contents/registered",
|
||||
"root": "emulators",
|
||||
"name": "registered/",
|
||||
"system": "nintendo-switch",
|
||||
"required": true,
|
||||
"reason": "not_found",
|
||||
"cores": [
|
||||
"ryujinx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "sammymdl.zip",
|
||||
"root": "emulator",
|
||||
@@ -6156,6 +6189,17 @@
|
||||
],
|
||||
"held": true
|
||||
},
|
||||
{
|
||||
"dest": "sudachi/user/nand/system/Contents/registered",
|
||||
"root": "emulators",
|
||||
"name": "registered/",
|
||||
"system": "nintendo-switch",
|
||||
"required": false,
|
||||
"reason": "not_found",
|
||||
"cores": [
|
||||
"sudachi"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "sve.wad",
|
||||
"name": "sve.wad",
|
||||
@@ -6609,6 +6653,17 @@
|
||||
"cores": [
|
||||
"mame2016"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "yuzu/user/nand/system/Contents/registered",
|
||||
"root": "emulators",
|
||||
"name": "registered/",
|
||||
"system": "nintendo-switch",
|
||||
"required": false,
|
||||
"reason": "not_found",
|
||||
"cores": [
|
||||
"yuzu"
|
||||
]
|
||||
}
|
||||
],
|
||||
"core_names": {
|
||||
|
||||
@@ -664,7 +664,10 @@ class DataFolderPrinted(unittest.TestCase):
|
||||
self.assertIn(alternative, page)
|
||||
|
||||
def test_ryujinx_keys_sit_in_system(self) -> None:
|
||||
block = "\n".join(sitegen_install.data_folder_block("ryujinx", _profile("ryujinx")))
|
||||
# The installed firmware sits in bis/, so the keys name system/ alone.
|
||||
profile = _profile("ryujinx")
|
||||
keys = [f for f in profile["files"] if str(f.get("name", "")).endswith(".keys")]
|
||||
block = "\n".join(sitegen_install.data_folder_block("ryujinx", profile, keys))
|
||||
self.assertIn("`%APPDATA%/Ryujinx/system/`", block)
|
||||
self.assertIn("`~/Library/Application Support/Ryujinx/system/`", block)
|
||||
self.assertEqual(_tab_labels(block), {"Windows", "macOS", "Linux"})
|
||||
|
||||
Reference in new issue
Block a user