Updates and DLC

An update or a DLC is recorded beside its game, in the game's folder, and checked in the game's list of updates and DLCs, addons= in the game's .ini (their title IDs, a comma between two). The game plays with what that list checks: any number of DLCs and one update at most. Give their dumps with the game's, or alone once the game is in recompiled/:

./build/scarletnx Game.xci --update Update.nsp --update Dlc.nsp   # the game made first if it isn't yet
./build/scarletnx Dlc.nsp                                          # a game made already: its DLC checked too
./build/scarletnx -r recompiled/<id>/<id> --update Dlc.nsp         # a game made already, its dump not needed

Each dump given is checked along with what the list checks already: a DLC is added, and an update, older or newer, takes the place of the one checked before, as installing an older update means playing it. The launcher lists a game's updates and DLCs under it: opening a game that has some shows its updates as a choice of one (each version installed, the newest first, by its version from its own control data, or No update) and its DLCs as boxes to check (DLC 1, numbered from the base ID the game's control data gives). Save keeps the choice in addons= without playing, Play keeps it and plays the game, and Back leaves the list as it was. A 3DS game's update and DLC CIAs are kept the same way by scarletnx-3ds (scarletnx-3ds DLC.cia, or --update with the game); an update there has no program of its own, as the game's reads its code, and is listed by its TMD's version (Update v1040): see 3DS.

Games groups a game's update and DLC dumps found in the dumps folders as one item, under Updates and DLCs (A game: update 1.0.1 + 99 DLCs), by what each dump is (its content meta, which -x --icon reads into the icons' cache as title.ini), whatever its file is called: the newest update and each DLC once. Opening the item puts them in the game made already (-r on its program, --update each), else recompiles the game's dump with them, else says which game is missing. Making a game's dump with such dumps of it around asks Found the update 1.0.1 and 99 DLCs of this game. Recompile together?, Yes in focus; No makes the game alone.

-x keeps extracting an update over its game into one folder (-x Game.nsp --update Update.nsp), and extracts a DLC's dump given alone as its RomFS image.

Collections

A collection is one application of several programs: its menu, program 0, starts each of its games, another program of the same application, through nn::oe::ExecuteProgram. Its content meta numbers them, program i the application's title ID plus i, and that program's patch in an update the update's ID plus i.


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