Settings opens on its groups, Enter opening one and ESC coming back: Search first (below), App, then
Launch (the launcher's own and the recompiler's, from src/nx/runtime/settings.txt), then a group per section of the game's .ini (Display,
Graphics, Audio, Performance, Overlay, Controllers, Network, Debug; Overlay is the runtime's On-screen controls, the
name its page in the game and settings.ini keep), as scarletnx --settings
prints them from the runtime's own tables: read from them in the same process where the menu is built into
scarletnx (iOS too), so every section shows at once; a menu built alone asks scarletnx --settings. The game's menu's settings have its names and words
(Scale 100%, Touch screen Fingers), and its Buttons page, whose All steps every row;
Edit layout and Reset layout stay in the game's menu, as the layout is each game's own.
Controllers' Button map draws the pad as the game's menu does: each control in a box down either
side with the console button it sends (where the console's is, unless the player's map says otherwise, A and B
swapped when the group's Swap A/B is on), and what the focus does at the bottom. Up/Down move, Left/Right
change a control's button and Enter (or the pad's A) waits for a press on the pad, which takes it; a change keeps
the whole map as gamepad_map, and Del puts it back to the .ini's. The first pad plugged in is shown, on a
player's map that player's, as the games give the pads their players (each in the order it came takes the player
whose Controller names it, else the first naming none), its held buttons lit; with none, the middle says why (a joystick SDL has no mapping for is named, with its GUID and the
file its line goes in). The launcher reads pads only on this page.
Controllers' Player row, first, goes round All and 1 to 8, as Eden's tabs (Left/Right or Enter): All
shows the settings every player shares; a player its own, Controller, Connected, Type, Swap A/B,
Vibration and Button map, each As All until picked, then the rows no player has its own of (the
dead zone, background input, Joy-Cons). A player's Controller is Any, the next to connect, until Enter on it
and a press on a controller give it that one (ESC leaves it as it was, Del makes it Any again); its Button
map is the page above on its own keys, its A and B as its Swap A/B says.
Controllers' Bluetooth page is for the Joy-Con 2 and Pro Controller 2 that a game connects over Bluetooth itself (setting
joycon2, Linux only: Settings), without pairing them, so each one stays paired with its console. Its
rows: Joy-Con 2 and Mouse scale, the page's joycon2 and joycon2_mouse_scale (Enter, Left and Right step
them, Del puts the default back, kept at once as the group keeps them), Search, then a row for each controller
known or heard: its side and the last two bytes of its address (Joy-Con 2 (L) 34:56, Pro Controller 2 34:56; the whole address is in the
row's help, with its signal) and its state: Waiting to sync, Nearby (paired with a console), Known, Known,
nearby. Search listens for 30 seconds (BlueZ on Linux, through libsystemd; nothing on other systems yet), refused
while a game runs, and stops when the page is left or a game starts; opening the page searches nothing. Hold a
controller's sync button, on its side, until its lights run: it shows Waiting to sync, and Enter on it syncs it,
which adds it to joycon2.txt of the user's config folder (~/.config/scarletnx), the list a game reads as it
starts. Enter or Del (a pad's X) on a known one asks to forget it, then takes its line out, the file's other lines
kept. The page never connects, pairs or trusts a controller, and the game connects only those the list names.
App holds Theme and Language, which Left/Right or Enter go round either way, UI scale, a dialog
(below), Animations (On by default, animations = 1 in app.ini: a screen comes in from the
page's colour and a box's shade comes and goes, 0.15 s each; Off shows each at once), Side panel (below, F2 too),
Background recompile (Auto, background_recompile = auto in app.ini: Gentle while the computer or
phone runs on its battery and Full on its charger or with none, asked as a recompile starts and every 5 s while it
runs, the row saying what it is now; Full, full: the queue's recompiles take every core, or the AOT threads
picked; Gentle, gentle: as many as the memory holds, up to half of them (--aot-threads=0 --aot-threads-most=N to the game's driver, whichever console's; a GBA ROM
compiles on one thread either way), at a low priority, ten steps of nice under the launcher's, on Windows the
class under the launcher's, for using the computer meanwhile; the Compile tab),
Check for updates (Ask, check_updates = ask in app.ini, the default: the first free moment of a start asks
Check for new nightlies? before anything goes to the network: Yes makes it On and looks now, No asks again at
the next start, Don't Ask Again makes it Off; On, on: each start asks GitHub for scarletnx/nightly's latest
release, the daily nightly, and a newer one than this build, by its day, or its commit's day for a build that is no
nightly, comes as a box with what changed and Open Page; nothing is downloaded, and a look that fails says why in
the message line; Off, off: it never looks),
Theme Editor, which comes
back to App, and Folders, every folder on one screen, the whole of it, a box a group:
recompiled/, dumps/, themes/ and prod.keys), Settings, shown only
(app.ini, which names the others, and each game's .ini: XDG_CONFIG_HOME moves it, a portable copy keeps its
own), Logs (the games' logs and threads.txt, recent.txt, removed.txt, last-run.log,
last-recompile.log and the launcher's scarletnx-console-<date>.log and scarletnx-error.log), Caches (the
recompile's units/, the shader caches, the dumps' icons, and Extractions by default) and Extractions;dumps/ (with its subfolders, going with the data folder), then its
Extra folders, whose dumps Games lists, and Add a folder. Main's box, or Del on it, has Remove from
Library, which asks first: Games no longer lists it and ScarletNX no longer makes it as it starts, its files kept;
its row then says not listed, greyed, and Add to Library puts it back;recompiled/, where recompiled games go, then its Extra folders, whose games
ready to run Games lists too, and Add a folder. Main's box has Remove from Library too, asked first: its
games stay where they are, unlisted, and a new game of any load goes to an Extra, asked among several, a run
refused with none; Add to Library puts it back;GPU Drivers lists the Vulkan driver packages added (a zip of a meta.json and the driver's libraries, as
Turnip's and PanVK's releases are, in libadrenotools' format) and picks the one every game runs with: System
driver, the system's own, its GPU, Vulkan version and driver version said, then a row a package, then Add
Driver, the system's file picker. A package is checked whole before anything is written (its meta.json, its
files at the zip's top, its library an arm64 one, its minApi at most the device's API level) and unpacked into
a folder of gpu_drivers/ of the user's data folder named after the zip; a refusal says what is wrong, with the
value. A
package's box has Use and Remove (Del removes too), which asks first; one added is picked where packages
load. Download Driver lists the GitHub releases for the device's GPU: Eden's five repositories on an Adreno,
NX-Mali, MaliSX2 (which says
Vulkan 1.1, below the 1.2 ScarletNX needs) and builds of PanVK on a Mali, radv-xclipse's Android zips on an Xclipse,
each release's zips alone; the one recommended for its model is marked, a GPU maker's own proprietary, no license,
and the one picked is downloaded and added as Add Driver adds a zip. They load on Android 9 or newer, arm64, with an
Adreno GPU
(/dev/kgsl-3d0), a Mali
GPU (/dev/mali0) or an Xclipse GPU (a render node of the amdgpu kernel driver in /dev/dri, for RADV's port to
it, whose package asks Android 14): the page's first line says what this
device is and, anywhere else, why games there use the system driver. There the packages, Download Driver and Add
Driver are greyed, each row saying what the device lacks (Android only, Unsupported GPU...) and Enter
the whole line; a package's box still opens for its Remove, its Use refused with that line. A
game whose package does not load stops, saying why, and so does one whose package lists no Vulkan device, a driver
for another GPU. Under them, Amberlith Mode (Quick, the default:
notime cpu graphics hooks; Full adds fs video audio kernel display) and Run Amberlith, which plays
Amberlith's probes as a game with the GPU driver picked here, from probe/amberlith.nro of the
Logs folder (a release's amberlith-<version>.nro saved under that name; an older probe/edenprobe.nro when only
that one is there), in a data folder of its own there (probe/.scarletnx: none of your settings, saves or users)
with the default settings, and the build as the probe's machine (machine=scarletnx@<commit>), whose ban list then
skips the cases that end ScarletNX every time. Its window shows the probe's own screens: the start screen with those families
chosen, which begins by itself after ten seconds, the running screen, then the results, which leave by themselves
after ten seconds with nothing pressed (+ or - leaves them). A launch that ends before the report's summary is
followed by another, up to 16, which goes on after the case it ended inside (the probe's screen that asks first goes
on by itself after ten seconds), while each adds cases; ESC ends it. At the end a box says the
counts and the suites that failed or crashed, and where the report is. A next press after a whole run starts it
over; after one that stopped inside a case (an iOS app ends with its game), it goes on. A run whose launches ended
with the menu (Android's low memory killer ends the menu first, then the game) is offered again at the next start,
on the setup's Last Run page (Setup). Freedreno Settings sets
Mesa's Freedreno and Turnip
variables (TU_DEBUG, FD_MESA_DEBUG, IR3_SHADER_DEBUG, FD_RD_DUMP...) every game starts with: Eden's presets
first (Debug - CPU Memory, TU_DEBUG=sysmem, and the others), a row a variable Mesa reads out of a set it knows
(TU_DEBUG, IR3_SHADER_DEBUG, FD_RD_DUMP, TU_AUTOTUNE_FLAGS: Enter opens a box a flag; TU_AUTOTUNE_ALGO: Left
and Right step its names; Del leaves it to the driver), a row another variable set (a press, or Del, takes it out),
Variable Name and Variable Value typed and Add Variable, Clear All, then Save, which keeps them.
A name is capitals, digits and _ starting TU_, FD_ or IR3_. A game's box has both for that game alone.
A row with nothing to do now is greyed, still there, and Enter on it says why: Clean Old Settings with nothing to clean, Move Old Files with nothing left, App's Reset to Defaults with every setting at its default, Folders' with every folder its default. So is a setting that does something on other systems alone, its row saying where beside its value (macOS only for Vulkan driver, Windows only for Profiler, Android only for Haptics...): Enter and a step leave the value, and Del still puts its default back.
Made from docs/user/gui.md at 69237645142c. GPL-3.0-or-later.