Triforce v0.9.0

Character tab, faster renderer defaults, HD rumble shipped, and the 11-30 bug pass: ending softlock below 60 fps, adult first-night lock, Intel Arc robust buffers, adult map, randomizer load order.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-30 20:55:14 -06:00
parent 8cb23131f9
commit 822ee913bc
86 changed files with 8128 additions and 438 deletions

View File

@@ -118,6 +118,7 @@
#endif
namespace mkwvk {
bool texpack_prepare_text(char* out, size_t cap); // ((Triforce, 11-28) vk_texture.cpp: the texture pack's prepare, at the foot of the screen
HWND app_window();
int texture_detail_auto(); // (vk_texture.cpp: what the video memory gives this card, -1 before the first texture)
int display_refresh_mhz(); // (vk_main.cpp: the window's display, mHz; 0 when not known)
@@ -138,6 +139,8 @@ int applied_dlss() { return __atomic_load_n(&applied_rows[0], __ATOMIC_RELAXED);
int applied_resolution() { return __atomic_load_n(&applied_rows[1], __ATOMIC_RELAXED); }
int applied_upscale_pre() { return __atomic_load_n(&applied_rows[2], __ATOMIC_RELAXED); }
int menu_steady_row() { return __atomic_load_n(&opts.steady_fps, __ATOMIC_RELAXED); }
static std::atomic<int> compare_play{0}; // ((Triforce, 11-30) the ReShade comparison's way to play: see compare_from_game
int menu_compare_play() { return compare_play.load(std::memory_order_relaxed) == 1; }
namespace {
@@ -2081,10 +2084,9 @@ Row rows[] = {
{TAB_GRAPHICS, "Grass distance", &opts.grass_distance, 0, 3, 1, tx_grass_distance,
"How far away short grass blades reach, such as Kokiri Forest's tufts and the moss on its stones. The game stops them at "
"about 20 m. Higher extends their reach for some GPU time. Changes at once."},
// ((Triforce, 11-24) opens the Simulated turf page, the TAB_SIM_TURF rows: vk_sim_turf.cpp, sim_turf_settings.h)
{TAB_GRAPHICS, "Simulated turf", nullptr, 0, 0, 0, nullptr,
"The broad field grass the game's wind and fluid simulation moves: the dense carpet that bends and ripples around Link. "
"Its fade, density and blades, area by area. Grass distance is the separate short blades."},
// ((Triforce, 11-30) the row that opened the Simulated turf page (TAB_SIM_TURF) is gone, and the page's file is not read
// (vk_sim_turf.cpp sim_turf_init): its area edits grew the turf lists past the game's caps, and a turf program the IR pass
// left as it is read past them: the GPU hung (11-29, device lost). Every area's turf is the game's own again
{TAB_GRAPHICS, "Shadow resolution", &opts.shadow_res, 0, 2, 1, tx_shadow_res,
"The size of the sun's shadow maps: higher keeps the shadows of thin things near you, such as chains, fences and leaves, "
"smooth instead of stair-stepped, for more video memory and a little GPU time. Highest also makes them shimmer less while "
@@ -2255,6 +2257,12 @@ Row rows[] = {
{TAB_SYSTEM, kNfcTag, nullptr, 0, 0, 0, nullptr,
"Hold one of your own amiibo to the game's reader: choose a dump (.bin, or a Flipper .nfc) from the folder \"amiibo\" in the game folder, "
"then use amiibo in the game. Choose it again to take it off."},
// ((Triforce) host/oot_amiibo_uses.c: the game's once-a-day check of a figure answered "not used today"; taken at once,
// at the next scan)
{TAB_SYSTEM, "Unlimited amiibo uses", &opts.amiibo_unlimited, 0, 1, 1, tx_onoff,
"Off: each figure gives its reward once a day, as in the game. On: a figure can be scanned again at once, any number of "
"times, and gives its reward each time (choose it again under NFC tag for each scan). Your dumps are not changed.",
nullptr, false, true},
MENU_HEADING(TAB_SYSTEM, "Online"),
{TAB_SYSTEM, "Discord status", &opts.discord, 0, 1, 1, tx_onoff,
"Shows \"Playing Triforce\" and the time played in your Discord status, while Discord runs on this PC.", nullptr, false,
@@ -2479,7 +2487,9 @@ Row rows[] = {
"restart.", nullptr, true, true},
// ((Triforce) Threaded rendering: threaded_rendering.h, vk_main.cpp threaded_choice; RX_VK_THREADED over it. Read at the start;
// Off by default again (11-24): the owner saw whole-screen flashes with it on in play that the frame log (taken before the
// window's image) does not show; +3% fps on a moving tour in the lab. On again once the flashes are fixed)
// window's image) does not show; +3% fps on a moving tour in the lab. Auto by default since options_version 11 (11-29, the
// owner: "Yes default"): the owner played Auto with the readbacks' fix for the parts' flicker (vk_replay.cpp
// rb_rec_end_mode) and saw no flicker; tour +8.4% fps with the owner's options, +4.7% with the defaults (RTX 5090))
{TAB_DEBUG, "Threaded rendering", &opts.threaded_rendering, 0, 2, 1, tx_threaded,
"Experimental. The graphics work runs on threads of its own: the game's commands are turned into the graphics card's on a "
"render thread while the game goes on with its next frame, the driver's calls are made by a recorder thread beside it, "
@@ -2539,6 +2549,11 @@ std::atomic<int64_t> game_options_ns{0}; // (prof_now at the last frame the ho
// ((Triforce, 11-20) that screen chosen from the pause menu (the host's word 2): its guides band may end sooner, game_grid.h
// kPauseGuideBandRight)
std::atomic<bool> game_options_from_pause{false};
// ((Triforce, 11-30) the ReShade comparison asked inside the pause menu's Options (compare_leaves_menus): 1 while the host leaves
// the game's menus for play (host/nn_hid.c compare_to_play, option HOS_OPT_COMPARE_PLAY), 2 in play, 3 they stayed; 0 none.
// compare_from_game: the comparison opened so, whose Back closes the options as well (the game's menus are gone). compare_play
// itself is above the namespace, beside menu_compare_play
bool compare_from_game = false;
bool embed_open = false; // (our tabs are open from inside the game's Options: leaving them is its own tab again)
int64_t embed_since = 0; // (when that screen was first seen running: the tabs fade in over its opening)
constexpr int kGameTab = 99; // (the tabs' hit for the game's own tab)
@@ -3092,6 +3107,15 @@ std::string apply_list_shown(const char* last) {
}
/// A row's mark of a change not in force yet: one that takes a restart, or Apply
bool row_pending(const Row& r) { return restart_changed(r) || apply_changed(r); }
/// ((Triforce, 11-30) The Compare ReShade Preset row confirmed inside the pause menu's Options: the game is paused there and its
/// scene draws nothing, and the preset is laid on the gameplay picture alone (vk_draw.cpp reshade_picture), so the comparison
/// over those screens showed the Options and the pause menu and no change at all ("ReShade Compare not taking you to gameplay
/// screen", #bug-tracker 11-30, v0.8.5.2). Then the options close and the host leaves the game's menus as Back leaves them
/// (compare_play, host/nn_hid.c compare_to_play), and the comparison opens over the game. Not from the title's Options (no
/// play to go to), nor with a question the close would ask (Apply's, the restart's): the comparison where it is, as before
bool compare_leaves_menus() {
return embed_open && game_options_from_pause.load(std::memory_order_relaxed) && !apply_ask() && !restart_ask();
}
/// What runs is the choice now, for the rows in mask (a bit a slot): applied_rows, and the slots' start values
void applied_take(unsigned mask) {
for (int i = 0; i < kRows; i++) {
@@ -3664,8 +3688,9 @@ void save() {
// migrate leaves it as it is))
static_assert(merged_rows::kVersion == 8, "the options file's version as merged_rows.h migrates to it");
// (Triforce) 9: stock and native output numbers share one schema, see output_sizes.h; 10: Plus is Tab alone, Enter no
// longer its second key, see host/nn_hid.c binds_load (the keys alone: every rule here that reads a 9 reads a 10 the same))
out += "options_version=10\n";
// longer its second key, see host/nn_hid.c binds_load (the keys alone: every rule here that reads a 9 reads a 10 the same);
// 11: Threaded rendering Auto by default, see menu_init (every rule that reads a 10 reads an 11 the same))
out += "options_version=11\n";
out += others;
if (!can_bind()) out += kept;
// (the stick's and the camera's rows, HOS_KEY_MOVE_* and HOS_KEY_CAM_*, have no pad_ line; (Triforce, 11-24) the
@@ -3957,6 +3982,25 @@ const std::vector<int>& bindable_keys() {
bool tune_mode = false;
int page = 0; // 0 the options, 1 the controls, 3 the teleport list, 4 the inventory, 5 the restart question (2: was the
// debug tools' own page, now on the Debug tab), 6 (Triforce) a name page: Game flags, Cutscenes, Scan amiibo
/// ((Triforce, 11-30) The Mouse sensitivity's every change in the log, with what made it and what the options and the input were
/// doing then: a player's sensitivity "goes back to 0.1 by itself", his file at 0.30 after he had set 1.10 to 1.20, and nothing
/// in his logs said who wrote it (#bug-tracker 11-30, v0.8.4 and v0.8.5.2). 0.30 is eight or nine of the row's own 0.10 steps
/// down from those, and no ten presses of the host's - and = keys (x0.8, x1.25, kept in hundredths) reach it from 1.10 or 1.20
/// (- alone: 0.29, 0.32), so the row, the launcher or another writer of the file it is, which this tells apart. why: the
/// writer; told by each (the end of menu_tick's input: the row, its slider; menu_option_set: the host's keys; menu_init: the
/// file read at the start) and at the top of each tick for any other ("another writer")
void sens_watch(const char* why) {
static std::atomic<int> seen{-1}; // (the menu's thread and the host's, menu_option_set, both call it)
const int now = __atomic_load_n(&opts.mouse_sens, __ATOMIC_RELAXED), last = seen.exchange(now, std::memory_order_relaxed);
if (now == last) return;
if (last < 0) logf("menu: Mouse sensitivity %.2f at the start%s", now / 100.0, strstr(why, "file") ? ", from the options file" : "");
else
logf("menu: Mouse sensitivity %.2f -> %.2f (%s; the options %s, page %d, tab %d, row %d, inside the game's Options %d; "
"held: Left %d Right %d mouse left %d, pads %#x)",
last / 100.0, now / 100.0, why, open_now.load() ? "open" : "shut", page, cur_tab, tab_selected[cur_tab], embed_open ? 1 : 0,
(GetAsyncKeyState(VK_LEFT) & 0x8000) != 0, (GetAsyncKeyState(VK_RIGHT) & 0x8000) != 0,
(GetAsyncKeyState(VK_LBUTTON) & 0x8000) != 0, menu_pad_raw);
}
/// (Triforce) Whether the Mods screen's search takes the keyboard's text now (mods_text_wanted): the keys bound to the Switch's
/// L, R and B (R and Shift by default) type there, so they are not our tabs and Back then (menu_tick), and the guides name
/// the menu's own Q, E and Esc (ui_ctx), as the Mods screen had them before the bound keys came
@@ -6572,23 +6616,39 @@ void draw_title_mods(ui::Ctx& c, bool sel, float cx, float cy, float k, float pi
}
/// ((Triforce) The title's tabs, Mods and Save Select at the picture's top left (title_tabs.h): each the title's own entry's
/// words (draw_title_mods, the same font and size, cream with the dark edge; lit as a chosen entry's words are while the mouse
/// is over it or its Decide plays), and under it, with a controller, the icon of the button that opens it: the game's own of
/// what the Switch's X (Mods) and Y (Save Select) are bound to, as its guides show a binding. c: the grid's column, as the
/// entry's; decide: Mods' Decide plays (its tab lit until its screen comes))
/// is over it or its Decide plays), and under it, with a controller, the prompt of the button that opens it: the pad input
/// the Switch's X (Mods) and Y (Save Select) are bound to, as menu_tick reads it, in the icon font's own icon of that input
/// on the face shown, else its name on a key's cap (title_tabs.h icon_codes: (11-30) not the Switch button's own code, the
/// Switch's letter wherever the font was not pointed at this run's controls). c: the grid's column, as the entry's; decide:
/// Mods' Decide plays (its tab lit until its screen comes))
bool game_prompts_pad(); // (below: the prompts are a controller's)
game_grid::Place title_grid; // (the grid the title's entry is drawn on now: draw_mods_row's callers say)
void draw_title_tabs(ui::Ctx& c, bool decide) {
static const char* const labels[title_tabs::kTabs] = {"Mods", "Save Select"};
static const char* const icons[title_tabs::kTabs] = {ui::kIconX, ui::kIconY};
static const char* const names[title_tabs::kTabs] = {"X", "Y"}; // (no icon font: the Switch's names, as the guides' A and B)
static const int buttons[title_tabs::kTabs] = {HOS_SW_X, HOS_SW_Y}; // (the Switch's top face button and its left one)
static_assert(title_tabs::kFaceCodes * HOS_PROMPT_KEYBOARD + title_tabs::kFaceBase <= 0x10000 && HOS_PAD_N <= (int)title_tabs::kFaceCodes,
"title_tabs.h icon_codes: the controller faces' icons as host/prompts.c has them");
const game_grid::Map m = game_grid::map_of(title_grid);
const int n = files_tab_shown() ? 2 : 1;
const bool pad = game_prompts_pad();
const int face = host && host->prompt_face ? host->prompt_face() : -1; // (the face the game shows now)
const float unit = ui::lu(c, 1), px = ui::lu(c, kTitleText * ui::kType), ipx = ui::lu(c, title_tabs::kIcon);
float lw[title_tabs::kTabs] = {}, iw[title_tabs::kTabs] = {};
char icons[title_tabs::kTabs][4] = {}; // (each tab's icon in the font, UTF-8: "" none, its input's name instead)
const char* names[title_tabs::kTabs] = {}; // (the input's name, on a key's cap: pad_name, the face's own words)
bool bound[title_tabs::kTabs] = {}; // (its button has a pad input that menu_tick takes: else no prompt)
for (int i = 0; i < n; i++) {
const int input = host && host->binding ? host->binding(HOS_BIND_PAD, buttons[i], 0) : -1;
bound[i] = hos_pad_bindable(input);
unsigned codes[2];
title_tabs::icon_codes(face, input, HOS_PROMPT_KEYBOARD, HOS_PAD_N, codes);
for (unsigned code : codes)
if (!icons[i][0] && code && c.f.glyph && c.f.glyph->IsGlyphInFont((ImWchar)code)) title_tabs::utf8(code, icons[i]);
names[i] = pad_name(input);
lw[i] = ui::size_of(c.f.body, px, labels[i]).x;
iw[i] = !pad ? 0.0f : c.f.glyph ? ui::size_of(c.f.glyph, ipx, icons[i]).x : ui::lu(c, 62);
iw[i] = !pad || !bound[i] ? 0.0f
: icons[i][0] ? ui::size_of(c.f.glyph, ipx, icons[i]).x
: ui::glyph(c, 0, 0, ui::Prompt{ui::kKey, "", names[i]}, false);
}
const title_tabs::Layout l = title_tabs::place(title_tabs::picture_left(title_grid, m), title_tabs::picture_top(title_grid, m), unit, lw, iw, n, pad);
// (drawn inside the whole picture: its corner may be left of the column, where the window's clip rectangle left out
@@ -6605,8 +6665,8 @@ void draw_title_tabs(ui::Ctx& c, bool decide) {
const float show = title_anim.shown;
title_label = "Quit Game", title_entry = 0, title_corner = false;
std::swap(title_anim, title_tab_anim[i]);
if (!pad || show <= 0) continue;
if (c.f.glyph) { // (the icon, a dark copy a little under it: the title's sky is bright behind it)
if (!pad || !bound[i] || show <= 0) continue;
if (icons[i][0]) { // (the icon, a dark copy a little under it: the title's sky is bright behind it)
const ImVec2 sz = ui::size_of(c.f.glyph, ipx, icons[i]);
const ImVec2 at(std::floor(t.icon_x - sz.x * 0.5f), std::floor(t.icon_y - sz.y * 0.5f));
c.d->AddText(c.f.glyph, ipx, ImVec2(at.x, at.y + ui::lu(c, 3)), ui::rgba(0, 0, 0, (int)(140 * show)), icons[i]);
@@ -8068,6 +8128,7 @@ void menu_init() {
mic_tell_host();
}
if (!has_resolution && old_dynres >= 0) opts.resolution = old_dynres ? 0 : 1;
sens_watch("as the options file has it, at the start"); // ((Triforce, 11-30) the value each change is logged from
opts.rumble = rumble_step(opts.rumble); // (a hand-edited 60: 50, on the arrows' steps)
opts.vibration = std::min(std::max(opts.vibration, 0), 2); // ((Triforce) 11-24: Auto, Basic or Off)
opts.ds_hd_haptics = opts.ds_hd_haptics != 0;
@@ -8093,6 +8154,10 @@ void menu_init() {
// Frame pacing is on by default: a file from before wrote its old off default whether chosen or not, so every install
// turns it on once; one written from 7 on keeps what was chosen)
if (version < 7) opts.pace = 1;
// ((Triforce, 11-29, the owner: "Yes default") From options_version 11 Threaded rendering is Auto by default: a file
// from before wrote its old Off default whether chosen or not, so its Off becomes Auto once; On or Auto chosen stays,
// and one written from 11 on keeps what was chosen. vk_main.cpp threaded_choice reads the row after this)
if (version < 11 && opts.threaded_rendering == 0) opts.threaded_rendering = 2;
// ((Triforce, 11-16, the owner: "remove monitors shape as a option keep 16:9 16:10 21:9 32:9") Before options_version 6
// the Ultrawide row's 1 was Monitor's shape; now it is 16:10. Such a file's 1 becomes the shape nearest the main
// monitor's, as host/hos_main.c read it at this start (ultrawide_rows.h), on every system (main_screen)
@@ -8152,6 +8217,12 @@ auto_settings::Hardware auto_hardware() {
hw.integrated = p.deviceType == VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU;
// (the device's mesh shaders; a card the Mesh shaders row runs as compute has them all the same)
hw.mesh_native = dev.mesh_shader || opts.mesh_mode == 1;
// ((Triforce, 11-30) the libraries asked first: before their probe dlss_why and fsr4_why answer OK ("not known yet"), and
// Auto chose AMD FSR 4 on RX 580s (#bug-tracker "Rainbow pixellation issue": the 3D covered in rainbow noise after Auto (PC)
// was turned On; the log: "Auto (this PC): new hardware: ... AMD: FSR 4 Balanced" on a Radeon RX 580), and DLSS where it
// can't run. Once each (their own locks); this runs only with Auto (this PC) On, at its choice)
dlss_probe();
fsr4_probe();
hw.dlss_runs = dlss_why() == DLSS_OK;
hw.fsr4_runs = fsr4_why() == FSR_OK;
hw.vram_mb = (uint32_t)(device_vram_bytes() >> 20);
@@ -9030,8 +9101,14 @@ void menu_option_set(int id, int value) {
if (amiibo_said.exchange(value, std::memory_order_relaxed) != value) amiibo_new.store(true, std::memory_order_relaxed), menu_refresh = true;
return;
}
if (id == HOS_OPT_COMPARE_PLAY) { // ((Triforce, 11-30) the host's word: in play (2), or the game's menus stayed (3)
int asked = 1;
if (value == 2 || value == 3) compare_play.compare_exchange_strong(asked, value, std::memory_order_relaxed);
return;
}
if (id != 7) return;
opts.mouse_sens = std::min(std::max(value, 10), 500); // (the keys work while the menu is closed: it shows it when opened)
sens_watch("the host: its - or = key, or mouse_sens.txt moved in"); // ((Triforce, 11-30) host/nn_hid.c mouse_sens_keys
save();
}
@@ -9562,6 +9639,7 @@ void mic_test_tick(bool focused) {
// ((Triforce, 11-26) a held Up or Down: its first repeat and each after, the game's own Options screen's (the owner's clip))
constexpr int64_t kNavFirstNs = 330000000LL, kNavStepNs = 135000000LL;
void menu_tick() {
sens_watch("another writer, not the row nor the host's keys"); // ((Triforce, 11-30) none known: said if one comes
std::lock_guard<std::recursive_mutex> bridge_lk(menu_mu); // ((Triforce) the control bridge's settings: menu_setting_set)
auto_tick(); // ((Triforce) Auto (this PC): a step its tuning asked for
if (sim_turf_tick(prof_now())) menu_refresh = true; // ((Triforce, 11-24) the Simulated turf page: its rows' changes, the area)
@@ -9877,6 +9955,13 @@ void menu_tick() {
}
f2_held = f2_down;
}
{ // ((Triforce, 11-28) Evil HD's texture pack prepared as BC7, once: its progress at the foot of the screen
char t[64];
if (texpack_prepare_text(t, sizeof t)) {
snprintf(notice_text, sizeof notice_text, "%s", t);
notice_until = prof_now() + 500000000LL;
}
}
{ // (Triforce) F8, a bug capture. The window's key handler asks the host for it itself (host/display.c); where the host has
// no queue of key presses (Linux) the key is read here, and asked for as the rows ask
static bool f8_held = false;
@@ -10163,13 +10248,27 @@ void menu_tick() {
// ((Triforce) 11-24) the ReShade comparison (reshade_menu.h): its bar takes the keys and the mouse alone. Up and down its rows,
// left and right its choices, confirm; back, Insert, F1 or the right button close it, the saved preset back. The options shut
// another way end it too
// ((Triforce, 11-30) the comparison asked inside the pause menu's Options (compare_leaves_menus): once the host has left the
// game's menus (2: in play) it opens over the game, and its Back closes the options too, as the game's menus are gone; where
// they stayed (3) it opens where it is, as before. The options opened again meanwhile: the ask is dropped
{
int ready = compare_play.load(std::memory_order_relaxed);
if (ready == 1 && open_now.load()) compare_play.compare_exchange_strong(ready, 0, std::memory_order_relaxed);
else if ((ready == 2 || ready == 3) && compare_play.compare_exchange_strong(ready, 0, std::memory_order_relaxed)) {
open_now = true, page = 0, listening = 0, changed = true;
compare_from_game = ready == 2;
reshade_menu::start_comparison();
logf("vk: ReShade comparison: %s", ready == 2 ? "over the game, its menus left" : "the game's menus stayed: over them");
}
}
if (reshade_menu::comparing()) {
if (!open_now.load()) reshade_menu::end_comparison();
if (!open_now.load()) reshade_menu::end_comparison(), compare_from_game = false;
else {
const auto click = mouse && (ptr.pressed & HOS_MOUSE_LEFT) ? hits.at((float)mx, (float)my) : menu_hit::Hit{};
const bool cancel = press[0] || press[6] || press[5] || (mouse && (ptr.pressed & HOS_MOUSE_RIGHT));
changed |= reshade_menu::update_comparison(int(press[4]) - int(press[3]), int(press[2] || tab_right) - int(press[1] || tab_left),
press[7], cancel, click);
if (!reshade_menu::comparing() && compare_from_game) compare_from_game = false, open_now = false, page = 0;
for (int i = 0; i < K_N; i++) press[i] = false;
tab_left = tab_right = false, moved = false;
ptr.pressed = 0, ptr.wheel = 0; // (nothing of them for the page under the bar)
@@ -10684,6 +10783,11 @@ void menu_tick() {
else if (press[7] && is_files_row(r)) files_open(false), press[7] = false, changed = true;
else if (press[7] && is_motion_row(r)) cur_tab = TAB_MOTION, tab_selected[TAB_MOTION] = 0, press[7] = false, changed = true;
else if (press[7] && r.name == kNfcTag) names_open(kNamesAmiibo), press[7] = false, changed = true; // ((Triforce) 11-24)
else if (press[7] && r.name == kReshadeCompare && compare_leaves_menus()) { // ((Triforce, 11-30) to play first
compare_play.store(1, std::memory_order_relaxed);
open_now = false, page = 0, listening = 0, press[7] = false, changed = true;
logf("vk: ReShade comparison: from the pause menu's Options, its menus left for play first");
}
else if (press[7] && reshade_menu::act(r.name)) press[7] = false, changed = true; // ((Triforce) 11-24: Compare, Rescan)
// ((Triforce) 11-24) the Test microphone row: on and off again (mic_test_tick tells the host)
else if (press[7] && r.name == kTestMic) {
@@ -10713,6 +10817,7 @@ void menu_tick() {
changed = true;
}
}
sens_watch("the options' input at this tick: its row's Left or Right, A, a click on it or its slider"); // ((Triforce, 11-30)
{ // (Triforce) the options' own sounds, the game's interface sounds: what this tick's input did to the options names one
// sound at most (menu_sound_events.h sound_of), which waits for the host's sound thread (menu_take_sound). None is
// asked for while the Menu sounds row is at 0. A save row and the Motion row take their press for themselves