The console's users are in users/users.ini of the data folder (Folders), every game's: up to 8, each a
section in the console's order. Without the file there is one, Player. User 1 has the uid users.ini gives it; with
none it has the one it always had, 0123456789abcdeffedcba9876543210, so the saves made before there were others stay
its own. Each other one needs a uid of 32 hex digits of its own (not zero) and a nickname. A nickname is what the
console's account service keeps: 1 to 32 bytes of UTF-8, with no control character and no space at either end; any
other stops the game and says why. An Eden room takes 4 to 20 letters, digits, spaces, ., _ or -, and says so
when it refuses another:
[user1]
nickname=Aogo
[user2]
uid=5f3c0d9e8a7b41c2963e0f1a2b3c4d5e
nickname=Xuji
uid, nickname, user_data, mii and picture are the keys: user_data is the profile's UserData a program stored
(its icon, colour and Mii), 256 hex digits, empty or left out for zeros; a [userN] out of order or twice, or a uid or
nickname the account service would not keep, stops the game and says why; another key, section or line stays and is
named (Settings). mii is the user's Mii, one of the Mii database's by its name:
Baguette (the default), Leek Girl, Phone Girl, Alex, Sam, Kai, Robin, Jamie, Taylor, Morgan or
Riley, as written. A game that takes the database's first Mii as the player's takes it. picture is mii, the
user's picture drawn from that Mii, or file, users/<uid>.jpg; without the key it is file, so a user with no
picture file is Wimsy. Neither ever stops the game: no key, no users.ini, a name the database does not hold or
another word is the default, and the game's log and the launcher's say what was read and what is in effect. The
launcher's Settings > User renames a user (Enter types its nickname, the rule above checked), picks each user's Mii
(its User N Mii row, left and right) and the one the games play as; the file's other lines stay as they are. A
user's picture file is users/<uid>.jpg, the bytes the account service keeps (a JPEG, 256x256 as the console's, from
its editor), at most 128 KiB, read when the game starts; with picture=file and none, or an empty file, it is Wimsy,
and a launcher that cannot draw it says so and shows Wimsy. The game plays as the user its .ini's user_uid names by
its uid, empty for [user1] (--user-uid=<uid> for one run): with one user, the game picks it on its own; with more,
the game's user selector gets that user. Each user's Account saves are in the data folder's
save/user.<uid>/<title ID>/, every save of a game in the data folder's save/ as the console keeps them
(save_layout=global, the default, Filesystem); with
save_layout=game they are save/user.<uid> in the game's <id>_data/. A save in the other layout's folder is played
there until Settings > App > Move Old Files moves it. Those an older version left in a game's save/user, of the uid
0123456789abcdeffedcba9876543210, are played there until you move them (Deprecations). Beside
an Account, Device or BCAT save's folder, <its folder>.version names the program and version that last committed it:
when an older version of the game opens a save a newer one wrote, which a game may not read, the log says both, and so
does the report if the game crashes or stops. In a save's folder, 0/ holds the save's last commit and 1/ the copy
the running game works in, which becomes the save when the game commits: a game killed while it saves leaves the last
commit whole. To copy a save, take its folder whole with the game closed; a save's files from elsewhere go in 0/. A save an older version kept has the game's
files in the folder itself, and is played so until Move Old Files moves them into 0/ (Deprecations).
The game's
menu (Home, F2) shows the user playing in a box at its head's right, their nickname and picture, and the launcher the
one its Settings' user_uid names, where a click picks another (GUI); a users.ini that lists no users is said
in the launcher's foot.
A program with the console's administrator account service (acc:su, as the system's user settings) changes users.ini as
the console's does, and the log says each change: a user it registers is the next [userN], Player until it stores
the profile; a profile it stores writes the nickname (the rule above), the UserData and the picture; a user it deletes
goes to the Trash, a folder trash/user.<uid>.<UTC time>/ of the data folder with its users.ini section, its picture
and its saves in save/user.<uid>/ (with save_layout=game, the running game's), the users after it a place up, and
the user playing is refused; a user it moves takes its new place, those between a place over, user 1 given its uid and
nickname lines as it leaves [user1]. An empty user_uid plays as whoever is [user1] then.
Made from docs/user/usage.md at 69237645142c. GPL-3.0-or-later.