Setup

The first start opens on the setup, not the menu, a page at a time, each a tab at the top under its number: the notices of what older versions did that this one does otherwise (only said, nothing moves: Deprecations), then Appearance, Install, Folders, Keys and User (Usage has what each asks, the terminal's setup too). Its boxes say what the page is about, a box with more rows than it holds rolling them up a row every 0.6 s and back, an arrow at its right while some are above or under them and a scroll bar between the arrows, so none is cut; its question and choices come as the theme's [body] options-dialog places a question (Themes), over the boxes without darkening them; its tip, and what a choice did or why it did not, are in the foot. Up/Down (or the mouse) move between the choices, Enter takes one and ESC goes back a page, on the first page asking whether to exit. The notices come one a page, numbered (Changed 1/8), each read before the setup goes on: Next the next one, Back (from the second) the one before, and OK on the last. While a game's .ini keeps keys under [Deprecated] (or settings.ini keys an older version wrote), the last asks what Settings > App's Clean Old Settings would take out (Clean Old Settings? [Deprecated] in 2 .ini): Clean Now, in focus, takes them out there, the box then saying each file and what was done to it, and OK goes on; Not Now goes on, App's row still there. Clean Now comes under Back, Not Now and Skip, a row apart: the choices that act on the player's files in a group of their own, as on Old Files' last page, Up/Down going round them all past that row. On the notices' and Old Files' pages each choice has the icon of what it does, as F1's box and Settings > App draw it: Back an arrow left, Next and OK a check, Not Now an x, Skip skip-forward, Clean Now the eraser, Move All the folder with an arrow in it, Delete All the trash can. The first page has Skip after its choices: it takes every page left as its defaults have it, what Next, OK or Enter on each would take (the notices read, the appearance and the install as they are, Keep, Later, the nickname Player, and Not Now on both questions: Skip cleans, moves and deletes nothing), writes setup.ini and opens the menu; a page whose default fails (a users.ini that cannot be written) stays, saying why.

Old Files, after the steps, is a page for each folder an older version left (Old Files 1/4): where it is, the space it takes (counting until it is counted), where its entries go now, and what Move All and Delete All would do to it (2 entries move, Deletes it). The games' own saves are one page, whatever the games: how many games, the space their saves take, the data folder's save/ they go to, Move All's entries and Delete All's Stays: a save, which Delete All never deletes: Move All moves it, then a line a game, its folder's name and its saves' space, rolling up a line every 0.6 s and back when they do not all fit, arrows and a scroll bar beside them and the last row saying how many are under them. Next goes on, Back back, PgUp/PgDn a page either way and Home/End to the first or the last; the last asks Back, Not Now, in focus, and a row under them Move All and Delete All. Delete All, and its question's Delete, have no way back: framed and written in the theme's failure colour, filled with it in focus, on every theme. Move All asks first as Move Old Files does, how many move and how many stay, and moves them as it does; Delete All asks first how many go and how many stay, its Delete pressed twice, and deletes each folder but a save, a folder holding saves (a game's <name>_data/ with a save/ or sdmc/, however deep), a folder it cannot read whole (one it cannot list, an entry it cannot look at, a link to a folder, which it does not follow), as it cannot tell it holds no save, and the console's keys, the page naming the path that keeps each; only Move All moves those. A game laid out beside the others goes with its <name>_data/. The page then says a folder a line what was done, and OK goes on. Not Now moves and deletes nothing: the pages come again at the next start, and Settings > App > Move Old Files moves them meanwhile. F5 looks again at once, and the page looks every 5 s: a folder moved away goes, and with none left the setup goes on. With nothing else due they come alone and write nothing to setup.ini.

Last Run comes first when the menu did not see the last run end: on Android the low memory killer ends the menu, cached behind the game, and then the game, and the app comes back with neither (on iOS the system ends the app the game runs in). Its box says what ran and when it started, how it ended as the system says it (on Android 11 and later the reason Android keeps for the game's process, Android stopped it: low memory (org.scarletnx:game, status 0, importance 100 foreground), the question then Android stopped <game>; elsewhere what it may have been), the memory that process held (PSS 4.9 GB, RSS 1.9 GB, ? for what the system does not say, none recorded by Android where it measured none, as for a process killed by a signal) and the game's log. Run Amberlith left before its summary has Continue, in focus, which goes on with it from its journal at once, as GPU Drivers' Continue does, the setup's other pages coming back after its run, and Not Now, which leaves it to that row; one that reached its summary shows its counts in a box instead. A game has OK alone, and the page comes only for one that did not end with an exit, its own mark left beside its log: one that ended with an exit, or that still runs, is said in the launcher log alone. The page writes nothing to setup.ini, the setup's Skip comes on the page after it, and --no-setup leaves it out. When the menu stays and only the game's process is ended, the run's screen says it as it says a crash, The game stopped: Android stopped it: low memory (...); PSS 4.9 GB, RSS 1.9 GB with Share Log blinking, and Run Amberlith's next launch goes on as after any launch that ends before the summary, the launcher log saying how the last one ended.

Once the last page is done the menu opens, setup.ini written. After an update that brings a notice, the setup shows that notice alone (1/1), with OK, before the menu. scarletnx --no-setup opens the menu with no setup, writing nothing.


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