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

@@ -111,10 +111,13 @@ def checks(temporal, fsr4, menu):
again = function(temporal, "bool fail_again(Engine& k, const char* why) {")
check("k.e->release();" in again and "drop_image(*im);" in again and "k.retry.failed(now_ns())" in again and
"s.last_frame = 0;" in again, "fail_again does not let go what the engine and the chain hold, or count the failure")
# ((Triforce, 11-26) the choice as applied, re-armed, then temporal_mode_of with now: the switches, the stand-ins)
mode = function(temporal, "int temporal_mode() {")
check("rearm_on_choice(v);" in mode and "if (stood_in(v)) return ur::GAME;" in mode,
mode_of = function(temporal, "int temporal_mode_of(int choice, bool now) {")
check("rearm_on_choice(v);" in mode and "if (now && stood_in(v)) return ur::GAME;" in mode_of,
"temporal_mode does not say the game's own for an engine that is off, or a new choice does not try it anew")
check(mode.index("rearm_on_choice(v);") < mode.index("if (dlss > 0)"), "the choice is read after the switches")
check(mode.index("rearm_on_choice(v);") < mode.index("return temporal_mode_of(v, true);") and "if (dlss > 0)" in mode_of,
"the choice is read after the switches")
check("if (waiting(engine)) return fail(" in function(temporal, "bool temporal_upscale(VkCommandBuffer cmd,") and
"waiting(*engine)" in function(temporal, "Texture* temporal_pre_tonemap(VkCommandBuffer cmd) {"),
"the chain does not wait before it tries a failed engine again")
@@ -138,8 +141,9 @@ def checks(temporal, fsr4, menu):
# DLAA, FSR 4's and FSR 3.1's alike (ur::full_scale)
resolution = function(menu, "const char* hn_resolution(int v, int variant) {")
native = resolution[resolution.index("if (ur::full_scale(up))"):resolution.index("const int p = ur::percent(ur::snap(up, v));")]
check("takes its full size at the next start." in native,
"the native AA's help (the Render resolution's Native) does not say the 3D takes its full size at the next start")
# ((Triforce, 11-26) the 3D takes its full size at Apply now, not at the next start: the row's help says Apply)
check("next start" not in native and "the sharpest, and the slowest." in native,
"the native AA's help (the Render resolution's Native) still says the 3D waits for the next start")
# FSR4-3: an RGBA16F picture goes to FSR 4
check("only DLSS takes it" not in chain, "the chain still refuses FSR 4 an RGBA16F (HDR Native) picture")
check("const bool hdr = pre != nullptr || in_format == VK_FORMAT_R16G16B16A16_SFLOAT;" in chain,
@@ -169,10 +173,10 @@ def checks(temporal, fsr4, menu):
"g_named.store(true, std::memory_order_release);" in load, "FSR 4's name is not taken from the version AMD's library runs")
name = function(fsr4, "const char* fsr4_name(bool native_aa) {")
check("g_named.load(std::memory_order_acquire)" in name and "lock" not in name, "fsr4_name waits for the library")
tx = function(menu, "const char* tx_upscaler(int) {")
tx = function(menu, "const char* upscaler_name(int up) {") # ((Triforce, 11-26) tx_upscaler's, and the performance panel's)
check("if (ur::is_fsr4(up)) return fsr4_name(up == ur::FSR4_AA);" in tx, "the Upscaler row always says AMD FSR 4")
# ((Triforce, options_version 7) the row names the engine alone: FSR 4's Native AA is the Render resolution's Native)
check("const int up = ur::engine(std::clamp(upscaler(), 0, ur::kUpscalers - 1));" in tx,
check("up = ur::engine(std::clamp(up, 0, ur::kUpscalers - 1));" in tx,
"the Upscaler row names an engine's native AA, which the Render resolution's Native (100%) says")
check("driver 26.10.1 or newer" in hint,"the help for no FSR 4 here does not name the driver it needs")
@@ -180,7 +184,7 @@ def checks(temporal, fsr4, menu):
MUTATIONS = [
("the old latch", "temporal", 'if (ready < 0) return fail_again(engine, why ? why : "it could not be made");',
'if (ready < 0) { engine.failed = true; return fail(why); }'),
("no stand-in", "temporal", "if (stood_in(v)) return ur::GAME;", ""),
("no stand-in", "temporal", "if (now && stood_in(v)) return ur::GAME;", ""),
("the old native", "temporal", "const bool native = temporal_rules::native_at(ur::full_scale(mode), rw, rh, ow, oh);",
"const bool native = ur::full_scale(mode);"),
("the old HDR refusal", "temporal", " if (!engine.started) engine.started = true, engine.ok = engine.e->start();",