Games: the games of recompiled/ and the player's folders

Games, the tab, lists the games: the ones ready to run (a recompiled game runs directly), the dumps to prepare on Android, CIA files, which go to the 3DS driver, VPK files, which go to the Vita driver, and GBA ROMs, which go to the GBA's. It reads the recompiled/ of the folder the driver works in, which the menu passes it as --data: a portable copy's .scarletnx/ beside the AppImage (or the GUI), else the user's data folder, a build tree's menu's too (Usage), then each Extra of Settings > App > Folders. Each game is shown by the name in its control.nacp, which the recompile copies into its data, else by its folder's or file's name, sorted by it in each folder, with its icon (Wimsy in grey for one with none): a game's own, a dump's the one its driver gives (scarletnx -x --icon), asked once a session into Caches' icons/. A dump the driver gave none for says why after its kind (the side box, the tips), and the launcher's log has all the driver said (above); the next start asks again. Only immediate files are listed: executables (execute permission on UNIX, .exe on Windows), .cia, .cci, .3ds, .cxi, .app, .hbb, .bcci, .bcxi, .bcia, .zcci, .zcxi and .zcia files (case-insensitive, no execute permission needed), which run with the 3DS driver, and .vpk files, which run with the Vita driver. Hidden files, shared libraries and directories are excluded. A library with Dumps on also lists each extracted game's folder in it (exefs/ with its main), among the dumps and named by its folder with a / after it: shown by its control.nacp's name, else by the title ID of its exefs/main.npdm, with the icon.jpg beside its exefs/ when it has one, which the game made from it shows too. A game's update and DLC dumps go under Updates and DLCs, an item a game, by what the driver reads each is (Usage). The folders are looked at once a second while the menu is open (their names only), so a game put in or taken out shows in the open list; a folder that cannot be read is named and the others still listed.


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