The launcher's log, a file a day, scarletnx-console-2026-10-28.log in its state folder (Settings > App > Folders'
Logs; on iOS in logs/ of the app's Documents, macOS and iOS), the 14 newest days kept (a day's first line
deletes the older ones; the scarletnx-console.log older versions wrote stays as it is), holds what it says: its
start (its build and data folder), each failure
once in a session (what the box over the screen says, shown or not), the warnings it gives as it opens, a dump whose
icon the driver did not give with what the driver said. Each line starts with the time and the launcher's process
ID, 2026-10-25 11:30:02 [4242], so two launchers open at once write theirs apart, and the lines go to stderr
too. A fatal error, the launcher's that stops it as it starts or a game's, is also kept in scarletnx-error.log
beside it, a game's after its name (a game of no data folder, an --outdir's, beside its own log). Each start adds
to them. Launchers open at once on one Logs folder each keep their runs' output apart: the first last-run.log and
last-recompile.log, the next last-run-2.log and last-recompile-2.log, and on to 8, each held while its
launcher is open (a lock on the file, which leaves it to be read); the log says which a launcher took, and Share Log
sends its own. Each start says how the last ended: last start: ended with an exit, or none before, or for each
start that left its mark, last start: pid 4242, started 2026-11-07 10:01:02 did not end with an exit: and what the
system says of it (on Android 11 and later the reason it keeps for that process, Android host; elsewhere
the system names none). The mark is .running-<pid> beside the log, made at the start, held while the launcher
runs and deleted at its exit, Logs moving it; a game keeps its own beside its log, which the game's next start says
the same way. The run going is kept beside its run log too, last-run.ini beside last-run.log, from its start
until the menu sees it end: a start that finds one did not see it end, says so (last run: Amberlith, started
2026-11-12 20:18:25, whose end this launcher did not see: it did not end with an exit: Android stopped it: low memory
(...)) and shows the setup's Last Run page (Setup) for a game that did not end with an exit. On Linux a
run the kernel's out-of-memory killer ends (SIGKILL, while the OOM kills of the launcher's memory cgroup, its
memory.events, or else of the system, /proc/vmstat, went up) says it on its screen: Program ended abnormally
(status 137): the kernel's out-of-memory killer ended it (oom_kill 3 to 4 in /sys/fs/cgroup/.../memory.events), and
it held 14.2 GB, the memory at the Status box's last look. The start also gives the data folder's disk, disk: 51200 MiB free of 953344 MiB (on iOS the
banner's, macOS and iOS). Debug's Log level at 2 adds a line at each start and end of a run and of a recompile,
with its status, its time and the disk then (run: ended, status 7, after 12.3 s; disk: ...); and on Android and
the Apple apps each change of the thermal state and of the low power mode (Android's Battery Saver), state: thermal
severe, low power mode on: Android's seven thermal statuses by Android's names (none, light, moderate,
severe, critical, emergency, shutdown), as they do not match Apple's four (nominal, fair, serious,
critical) one to one, and thermal not reported below Android 10, which gives none.
Exit closes the launcher, once asked (ESC on the menu asks too, and while a recompile of the queue runs or waits the question names it), a screen saying for half a second which of its files it keeps for the next start (Settings, the picks of Settings > App, the libraries' folders, the recent games), a second close skipping it. Closing its window during a run asks first: Exit terminates the entire owned process tree (a recompile's work lost), so let the game exit normally to preserve its saves.
As it opens, the menu shows what an older version left where this one no longer looks on the setup's Old Files
pages (Setup), alone when nothing else of the setup is due: the menu's gui/, work/, each game laid out
beside the others in games/ or a library's Extra (games/<id>/ now), a game's own saves (save/ of the data
folder now, with save_layout=global), the data folder's games/ (recompiled/ now, its games still listed, each
row marked (games/), until they are moved), a portable copy's games/ beside the program, and a build tree's
games/, work/ and keys in its checkout (Usage). They show at each start for as long as they
are there. Share Log lists them all, each with where it goes now. On Android the menu's own files an older
version kept in the app's own files, out of the Files app's reach, are a page each, which says how they also go while
the app is in testing: Android's Settings > Apps > ScarletNX > Storage > Clear storage, which takes every game, save
and key in the app with them. The menu never reads them: it starts from its defaults.
Recent Games, at the top of Games, lists the last games run, newest first, three and a row that
shows the rest, by the name their run gave (the runner's ScarletNX - <name> line), else their file's. A dump not
made into a game yet stays in the list but has no row, as opening it would compile it; once made, by any run, its
game takes its place.
The focus moves between them and the games in one ring, and the tips show the focused
game's path. Choosing one runs it again with the driver it was
loaded with and the options the menu has now; a game whose file is gone leaves the
list instead, and a made game whose file to play from is not found asks first, as in the list (below). The list is kept in recent.txt, beside last-run.log, at the root of the menu's state
folder (Usage): $XDG_STATE_HOME/scarletnx/ on Linux, by default
~/.local/state/scarletnx/, %APPDATA%\scarletnx\state\ on Windows, or the data folder's state/ on Android. An
older version's, in a gui/ folder, stay where they are. A line per
game: switch, linux or 3ds, file or games (a program from recompiled/, run as it is: the token keeps its old name),
the path and the name, separated by tabs. A list that cannot be written there is named in the
message, after a run's end too, until it can be.
The launcher runs Switch inputs with the scarletnx it is part of, and looks beside it, then on
PATH, for scarletnx-gnuabi or scarletnx-3ds. Files are passed directly
as argv entries, never through a shell. Spaces, Unicode paths and shell punctuation
are not evaluated. Local file:// text drops are decoded, but lists and remote URI
authorities are rejected. The working directory is not changed and is shown in the
Status box. See GNU ABI for supported Linux ELF applications.
Made from docs/user/gui.md at 69237645142c. GPL-3.0-or-later.