Launch

The launcher's own settings, and the recompiler's, which the launcher and the driver pass on as --key=value (Usage): the launcher's Settings > Launch.

KeyDefaultEffect
gdbstuboffon starts the game with the GDB stub on port 1234 (GDB)
tmpfsoffon extracts to tmpfs, in memory (the temporary folder's scarletnx/work/<title ID>), which the game reads its RomFS from (--tmpfs); on Linux and FreeBSD, a temporary folder that is not a tmpfs reads the dump in place instead
extractoffon extracts a dump's ExeFS and RomFS into its game's folder (--extract-container). Off, the game reads them from the dump
java_homeemptyThe JDK, 21 or later, that Android apps run on: the folder that holds its lib/server (bin/server on Windows). Empty is the one the build found; set, the launcher gives it to scarletnx-android as --java-home
aot_threads0The threads compiling the game's code when it is recompiled (--jobs): 0 (Auto) starts on 1 and opens one more each second while the memory the code units are seen to take leaves room for it and the system reports no memory pressure, up to the computer's cores with a quarter left free (aot_threads_most); N is that many, whatever the memory
aot_threads_most0The most threads aot_threads' Auto opens: 0 (Auto) the computer's cores with a quarter left free; N that many at most, whatever the cores. Only Auto takes it: beside aot_threads=N the recompile runs on N, and says so
unit_instructions90000 (Android 20000, iOS 20000)The instructions a code unit takes, whole functions at a time, when the game is recompiled (--chunk). Each is compiled on its own, and a smaller one takes less memory at once, which a phone needs
unit_cache_ceil_mb512The most memory, in MB, the x86-64 back end's code units are held in while ScarletNX runs, so that a unit made again (an NRO a game loads again, the launcher's next recompile) is copied rather than made. They take 1% of the machine's memory at most, and this ceiling over that; the ones used longest ago go first. 0 holds none. Nothing is kept on the disk

Made from docs/user/settings.md at 69237645142c. GPL-3.0-or-later.