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

@@ -20,14 +20,14 @@ public sealed partial class Backend
On("settings.lang", m => LanguageChosen((string?)m["id"]));
On("settings.dlss", m =>
{
if ((string?)m["id"] != "yes") return;
if ((string?)m["id"] != "yes" || !Answered(ref dlssKey, m)) return;
new Dlss(ctx).Accept();
Toast("NVIDIA DLSS is included from the next build.", "success");
SendSettings();
});
On("settings.uninstall", m =>
{
if ((string?)m["id"] != "yes") return;
if ((string?)m["id"] != "yes" || !Answered(ref uninstallKey, m)) return;
Log.Write("uninstall from Settings");
try { new Uninstaller(ctx).Run(); }
catch (Exception e) { Log.Write("uninstall: " + e); Toast("Triforce could not be removed: " + H(e.Message), "error"); return; }
@@ -173,7 +173,7 @@ public sealed partial class Backend
return;
}
var html = string.Join("", dlss.LicenseText.Split("\n\n").Select(p => "<p>" + H(p).Replace("\n", "<br>") + "</p>"));
Ask("NVIDIA DLSS", html, "settings.dlss", new[] { ("no", "Cancel", false), ("yes", Dlss.AcceptLabel, true) });
Ask("NVIDIA DLSS", html, "settings.dlss", new[] { ("no", "Cancel", false), ("yes", Dlss.AcceptLabel, true) }, AskKey(ref dlssKey));
break;
}
case "rebuild":
@@ -207,7 +207,7 @@ public sealed partial class Backend
var plan = new Uninstaller(ctx).Describe();
string List(IEnumerable<string> l) => "<ul style=\"margin:4px 0 0 20px\">" + string.Join("", l.Select(x => "<li>" + H(Capital(x)) + "</li>")) + "</ul>";
Ask("Uninstall Triforce", "<p>This removes:</p>" + List(plan.Removes) + "<p>This keeps:</p>" + List(plan.Keeps), "settings.uninstall",
new[] { ("no", "Keep Triforce", false), ("yes", "Uninstall", true) });
new[] { ("no", "Keep Triforce", false), ("yes", "Uninstall", true) }, AskKey(ref uninstallKey));
break;
}
}