A row is its name, its folder (one too long for the row cut in its middle: its root and first folder, ..., as
many of its last folders as fit; the whole path under the boxes) and what it is. Data, Logs, Caches, Extractions and
the recompiled Main are each their default or a folder picked: Enter opens the folder picker, a folder dropped or
pasted with Ctrl+V takes the row, Del puts the default back (asking first with the folders it changes) and the last
row all five. Logs and Caches reach the drivers and the games through app.ini, so when it cannot be written they
stay as they were, said in a box; the row says default, custom or why its folder cannot be, at its end, the tips what it holds and its disk's free
space. A folder not there, not a folder, that cannot be written or, for the games, on a disk that runs no programs
(noexec) is refused, and a run whose picked folder no longer can be stops, naming it: the default never takes its
place. On Android a folder outside the app's own storage is asked about first, since Android checks every file
access there and games may run slower: Use it takes a second tap, and its row says outside the app. A library's
Add a folder opens the folder picker, and a folder dropped on, or pasted on, a row of a library is added to it; one
with folders in it asks first: Only This Folder, or With Subfolders, whose games are listed too, four levels
down, hidden folders left alone (its row says + subfolders). Del or Enter asks before an Extra is taken off its
library (the folder keeps its games). A folder added from Games goes in the library of what it holds, in both for
both, the dumps one with no games of either. The Extras are kept in folders.txt beside settings.ini, a line each,
the library's word, a space and the path (recompiled /mnt/games, dumps /mnt/dumps/**), /** after one kept with
its subfolders; one that cannot be read is named when the games are listed. Under App's rows, the three folders in
use: the data folder, the games' and the extractions'.
Nothing is moved, the folder before keeps what it has. The menu's own files stay where they are. Clean Old Settings asks first, with
how many it would take out, then takes out the settings nothing reads any more: the [Deprecated] section the runtime
gives a game's .ini for the keys it no longer uses (in the config folder's recompiled/, in recompiled/
and in the player's folders), and the keys of settings.ini an older version wrote that this one dropped
(only while the runtime lists its settings). Another version's keys stay in every file
(Settings). While a game's own
picks (<id>.picks, Settings) keep keys an older version wrote, the question says how many and its
choices are Keep the Games' Own and With the Games' Own, in focus, which writes each of those files again
without them (removed with no pick left); Back takes out nothing. A box
over the screen then lists each file and what was done to it, or why not, Up/Down and the wheel going over those
that do not fit, until another key closes it;
Share Log lists them too. Move Old Files (its value how many folders an older version left, the setup's Old Files
pages) asks first, with how many entries would move and how many stay, then moves them an entry at a time
(scarletnx --migrate=yes without the menu, Usage). The box then says, over them, why they are
there, and a folder a line what moved and where it is now, or why not: one already there, one on another disk, a game
laid out beside others, which moves from its dump; an arrow at the right of the first and of the last while some are
above or under them, a scroll bar beside them, and how many more, Up/Down, PgUp/PgDn and the wheel going over them;
Share Log lists each entry.
Reset to Defaults, the last row, puts every setting of the groups after App back to its default, asking first with how
many change. A group of settings shows
a row each, its help above, Left/Right going round its values, Enter typing one. A slider's row, Audio's Volume,
has its value where the others' are and a slider at its right end, its knob at the value: Left/Right and Enter step
it, stopping at either end (the foot says the end: Volume: 100% is its highest), a click or a finger on the slider
takes the step under it, and a drag moves the knob along, each step kept at once. A value typed (a number, a text, a
nickname, a theme's key, a color's #RRGGBB) is typed in a dialog, as UI scale's, never in the row: the row's label
its title, the text with its cursor in a field, what the row takes under it with its numbers (A number from 0.25 to
16, two decimals at most; empty, the default 1), then OK and Cancel. Enter or A is OK (Cancel while the pointer is on
it), ESC or B Cancel, Backspace takes a letter out; a click off the dialog is Cancel. A phone's keyboard comes up with
it, its number pad for a whole number never under 0 (SDL's pad has no point and no minus). Nothing changes before OK,
and OK takes nothing the row does not take whole, a number past its range too: the dialog stays, saying the value
typed and what holds
(20 is not a number from 0.25 to 16, two decimals at most, Ab is not a nickname: ...). A setting that is a path
(a shader corpus's folder, a branch profile's file, a stats file to write) is picked: Enter opens the system's
folder, file or save dialog over the path it has, Ctrl+V and a drop give it a path too, Del takes it off; on iOS, and
after a dialog that could not open (said), Enter types it. A row of three words or more is a list: Alt+Down, a right
click, a finger held half a second or a pad's A held as long opens its words in a box, the one it has in focus, and
the foot says how while the focus is on one (Alt+Down/right click: list.); Enter, a click or a tap takes one, ESC
or a click off the box leaves the row as it was. A row that takes a value of its own has Other... last, which
types it in the dialog of a typed value, one the row does not take said with the value it keeps (300 is no value of
FPS limit: it keeps 120). A row of two words goes on stepping, a slider sliding, a row of boxes opening its form;
Alt+Down there says it has no list. A setting's words are
its values alone, the runtime's default marked [default] (Off [default], On); one typed shows its default and
[default] while it is empty (1 [default]). At its default the run takes the game's .ini's, which starts as
that. Where a row's default is none of its words (a control not yet shown or hidden),
[default] is a value of its own, the same way. Another value, and a number typed even as its default (Current
user 1 over a game's .ini that has another), goes to every Switch run as --key=value, over the .ini
(Usage), and is kept for every game:
what was changed, by the .ini's sections and keys, in settings.ini of the config folder on
Linux (~/.config/scarletnx/), else the data folder's config/. A run takes a setting from what that
run picks, then from the game's own picks (<id>.picks beside its .ini, which its menu writes:
Settings), then from these, and last from the game's .ini; a run is given them with
--launcher-picks=1, which puts the game's own over them. A setting the recompile takes too (NCE, Debug's SLP
vectorizer) goes to a game's recompile and runs as the game's own pick where it has one, since the recompile reads
its settings from its options alone. A row not at its default has * after its value (On *, 2 *), a page's row and an All while
any of their rows has; Del puts a setting back to its default, and App's Reset to Defaults every one.
Fullscreen and
Show controls are the launcher's own choices, Off or On, passed to every run over the .ini; [default] marks
the one the launcher starts with: Off on a computer, On on a phone, where Fullscreen puts the launcher itself on the
whole screen too.
gdbstub passes -S and -s, the
runtime's stub on port 1234 waiting for the debugger at startup (UNIX only), and Extract to tmpfs
passes --tmpfs: a dump's extraction goes to /tmp/scarletnx/work/<title ID> ($TMPDIR when set, the
temporary folder on Windows) instead of the game's folder, and the game reads its RomFS from there, its ExeFS and
saves staying in its folder. On Linux and FreeBSD, when that folder is not a tmpfs, the run says which filesystem it is
on and reads the dump in place instead, so a disk is not filled. Off, the default, it is extracted to disk. The room a run asks about is then the temporary
folder's, without the second copy. Either way the game's .ini records the dump as source=, which the RomFS is
extracted again from when tmpfs was emptied (a reboot), or moved by when the setting changes. A game that records
none (made before, without the <name>.source link older versions made) says it can't be extracted to tmpfs and
runs from what it has.
Extract dump passes --extract-container, to the Switch and the 3DS driver both. Off, the default,
nothing of a dump is extracted: the game's .ini records the dump, the recompile reads the ExeFS from it, and the
game reads its ExeFS and RomFS out of the dump on the fly, decrypting them as it reads (Usage). A CIA
is read the same way. On, a dump is extracted as before, into the game's folder or with Extract to tmpfs into
tmpfs, which implies it; an extracted game's folder is read in place all the same, and copied only into tmpfs. Turning it off again takes a game's extraction away on its next run.
AOT threads are the threads compiling the game's code (0, the default Auto: the machine's cores with a quarter
left free, the physical cores where it says them, at most 75%, so a recompile does not make the computer stutter),
AOT threads at most the most Auto opens, Unit size the instructions of a code unit, and Unit cache
ceiling the MB the units held in memory may take (512 by default, 0 for none; Usage). They are passed
as --key=value when the game is recompiled: by R, or by a run that has to (a dump played the first time, an
NRO each time). A game made already keeps its code until then. The first two settings and these reach
neither the Linux nor the 3DS driver.
Made from docs/user/gui.md at 69237645142c. GPL-3.0-or-later.