Triforce v0.8.5

A Randomizer page in the launcher, a new title screen with Mods and Save Select tabs, scaling changes applied in game, the Jabu-Jabu bars fixed, renderer frame-time work and the brightness-flash fix, and fixes from the 0.8.4 reports.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-28 10:54:41 -06:00
parent 2df08c751e
commit b527e29adb
203 changed files with 18821 additions and 2051 deletions

View File

@@ -501,7 +501,10 @@ def check_source():
vi = (ROOT / "host/nn_vi.c").read_text(encoding="utf-8")
check('#include "pace_steady.h"' in vi, "host/nn_vi.c does not include host/pace_steady.h")
steady = block(vi, "static int64_t steady_period(int64_t base, int64_t now) {")
check('getenv("HOS_FPS_STEADY")' in steady and 'hos_ini_option("steady_frame_rate", PACE_STEADY_OFF)' in steady,
# ((Triforce, 11-26) by steady_mode: HOS_FPS_STEADY, else the row as it is now each present, else the file's
mode = block(vi, "static int steady_mode(void) {")
check("const int want = steady_mode();" in steady and 'getenv("HOS_FPS_STEADY")' in mode and
'hos_ini_option("steady_frame_rate", PACE_STEADY_OFF)' in mode and "rx_option(HOS_OPT_STEADY_ROW, -1)" in mode,
"steady_period does not read HOS_FPS_STEADY over the row's steady_frame_rate")
check("if (mode == PACE_STEADY_OFF) return base;" in steady, "the row off does not leave the cap's period as before")
check("pace_steady_measure(interval, own + held, other, &took, &need);" in steady and "pace_steady_feed(&steady, took, need, interval)" in steady,
@@ -548,15 +551,16 @@ def check_source():
"a hold on the present thread is counted as the presenting thread's")
menu = (ROOT / "gpu/vk/vk_menu.cpp").read_text(encoding="utf-8")
# ((Triforce, options_version 7) Steady frame rate is the Frame pacing row's two Steady values (merged_rows.h); its value keeps
# its key, steady_frame_rate, in a row no tab shows, and the Frame pacing row takes the restart for it)
# its key, steady_frame_rate, in a row no tab shows. ((11-26) It changes at once now: the host reads it each present)
row = re.search(r'\{TAB_HIDDEN, "Steady frame rate", &opts\.steady_fps, 0, 2, 1, tx_steady_fps, nullptr\},', menu)
check(row is not None, "the Steady frame rate's value is not kept under its key, 0 to 2")
pacing = re.search(r'\{TAB_GRAPHICS, "Frame pacing", &merged\.pacing, 0, 3, 1, tx_pacing,(.*?)\n hn_pacing, true\},', menu, re.S)
check(pacing is not None, "the Graphics tab has no Frame pacing row of four values taking a restart")
pacing = re.search(r'\{TAB_GRAPHICS, "Frame pacing", &merged\.pacing, 0, 3, 1, tx_pacing,(.*?)\n hn_pacing\},', menu, re.S)
check(pacing is not None, "the Graphics tab has no Frame pacing row of four values, changed at once")
check(menu.index('"Frame rate cap", &opts.fps_cap') < menu.index('"Frame pacing", &merged.pacing'),
"the Frame pacing row is not in the Frame rate cap's group")
check("if (r.value == &merged.pacing) return opts.steady_fps;" in block(menu, "int restart_value_of(const Row& r) {"),
"the Frame pacing row asks for a restart for more than its Steady values")
check("merged.pacing" not in block(menu, "int restart_value_of(const Row& r) {") and
"if (id == HOS_OPT_STEADY_ROW) return menu_steady_row();" in replay,
"the Frame pacing row still asks for a restart, or the host is not told its Steady")
check('return v == 1 ? "Any rate" : v == 2 ? "Refresh steps" : "Off";' in block(menu, "const char* tx_steady_fps(int v) {"),
"the row's values are not Off, Any rate, Refresh steps")
check("opts.steady_fps" not in block(menu, "const char* ini_key(const Row& r) {"), "the row's key is not its name's, steady_frame_rate")