The GitHub repository skyline-emu/skyline was replaced by an archival notice on
2026-08-18, so the pinned revision is served by Software Heritage. The same tree
is in the archive.org bundle github.com_skyline-emu_bundles_20230508, and the
signed edge-69 APK carries the built assets. Every path below reads against
that revision.
Nintendo Switch emulator for ARMv8 Android, written from scratch in C++ and Kotlin.
Android package skyline.emu, versionCode 3, minSdk 29, with the debug variant taking a
.dev suffix (build.gradle:23,28-29,120-121). ES-DE reaches it through its SKYLINE find
rule and starts it with android.intent.action.VIEW on the content URI of the game.
Development ceased and the README at the pinned commit records it. The code is split
across skyline and skyline-dev, whose external file surface is identical (key_store.cpp
:10-13 and shared_font_core.h:40-47 in both).
NCA, NRO, NSO, NSP and XCI are loaded (loader/). Two key files are read, from keys/
under the application internal files directory, which os.cpp:35 hands to the key store
as its root. Both arrive through the in-app importer, which accepts only the two names
and rewrites the trimmed pairs into that directory (KeyReader.kt:25-26,56-60). Nothing
else is consulted for keys, and there is no dev.keys or console.keys path.
No firmware is installed and none is read. The system version is answered from a
hardcoded 9.0.0-4.0 structure (ISystemSettingsServer.cpp:9-10) and the system data
archives a game asks for through OpenDataStorageByDataId are served as stub RomFS
images from the application assets (IFileSystemProxy.cpp:84-90). Two are carried:
0100000000000806, the NgWord filter, holding 0.txt through 15.txt plus common.txt and
version.dat, and 0100000000000823, NgWord2, holding ac_<0-15>b1_nx, ac<0-15>b2_nx
and ac<0-15>_not_b_nx. A data id without a matching asset opens nothing.
The six shared fonts are the one place where a firmware file replaces a built-in one.
Each is looked for in fonts/ under the application external files directory, which
resolves to /storage/emulated/0/Android/data/skyline.emu/files/ (SkylineApplication.kt
:19,41), and only when it is absent does the asset of the same name serve instead
(shared_font_core.h:40-47). The emulator writes the shared font header itself, a magic
followed by the length XORed with a key derived at shared_font_core.h:36-38, and then
copies the whole file after it (shared_font_core.h:51-55), so the file it expects is
the raw TTF payload rather than the headered form the firmware stores. Sizes are taken
from the file and never checked, and the six together have to fit the 0x140A000 shared
memory block.
A custom Vulkan driver can be loaded through adrenotools from gpu_drivers/<label>/
under the internal files directory (gpu.cpp:342-357). The label and the library
filename are both read from a meta.json inside the archive the user installs
(GpuDriverHelper.kt:19-22,150-191,219), so the code names no driver file of its own.
Loading falls back to the built-in driver and then to the system libvulkan.so. Save
data and the emulated SD card live under switch/ in the external files directory
(IFileSystemProxy.cpp:21,67) and are written by the emulator.
Read as name=value pairs from keys/ under the application internal files directory. Supplies header_key, and the titlekek_XX, key_area_key_application_XX, key_area_key_ocean_XX and key_area_key_system_XX generation-indexed sets. An encrypted NCA without header_key fails with MissingHeaderKey, and one whose key area cannot be unwrapped fails with MissingKeyArea, so no retail title loads without this file. The importer accepts a pair only when the name contains an underscore and the value is hexadecimal.
Read as rights id to title key pairs from the same directory. A title key normally arrives instead from the .tik tickets carried inside an NSP, which are parsed and pushed into the same store, so this file is only needed when no ticket supplies one. That case fails with MissingTitleKey. The importer requires both halves of a pair to be 32 hexadecimal characters.
Loaded from fonts/ under the application external files directory when present, otherwise from the asset of the same name, which carries Noto Sans CJK. Copied into the shared font block behind a header the emulator generates, so the expected content is the raw TTF payload.
Same lookup as the standard font. The asset behind it is Roboto Medium, byte-identical to FontNintendoExtended.ttf since the switch to Roboto for the Korean font.
Stub RomFS image served from the application assets when a game opens the data storage for this title id. Holds 0.txt through 15.txt, common.txt and version.dat.
Stub RomFS image served from the application assets when a game opens the data storage for this title id. Holds ac_<0-15>b1_nx, ac<0-15>b2_nx and ac<0-15>_not_b_nx.
Read from the application assets at time service init and used as the list of known locations. It names the 594 zone binaries under tzdata/zoneinfo/, each of which is opened by location name when a zone rule is loaded. The set is generated from tzdb 2021a in Horizon format.
Size: 8.8 KB, SHA1 087d14a89989
Hashes and source
SHA1: 087d14a89989f06dfcef217e94475e7e891070b4
Source: app/src/main/cpp/skyline/services/timesrv/core.cpp:272 (list), app/src/main/cpp/skyline/services/timesrv/core.cpp:293 (zone binary by name), app/src/main/cpp/skyline/services/glue/ITimeZoneService.cpp:29, app/src/main/cpp/skyline/services/glue/ITimeZoneService.cpp:56 (zone binary by requested location)