Triforce v0.5.0

In-game mods (GameBanana browser, search and installs, with the Mask Salesman), code-patch and cheat mods, the devs' test18 to test45 work (full performance overlay, frame pacing on, steady frame rate, save export and import, bug capture, new options rows, Setup's Mods page and Add to Steam), occlusion queries and new defaults, Auto resolution that scales, replay helper threads and robust buffers off by default, the options in sections.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-17 22:40:50 -06:00
parent 93eeb714c2
commit 6f338c8f56
600 changed files with 116254 additions and 2522 deletions

View File

@@ -10,7 +10,21 @@ public partial class App : Application
// Why it stopped is one "error <text>" line on stdout (the stream a launcher reads) and again on stderr
protected override void OnStartup(StartupEventArgs e)
{
if (e.Args.Length > 0 && e.Args[0] == "--cli")
var cli = e.Args.Length > 0 && e.Args[0] == "--cli";
// ((Triforce) one builder at a time for its tools, Instance.cs: asked before any build or window)
if (Tools.Find() is { } tools && !Instance.Take(tools.Root))
{
if (cli)
{
var said = "error " + Instance.Refusal(tools.Root).Replace("\n\n", " ");
Console.Out.WriteLine(said);
Console.Error.WriteLine(said);
}
else MessageBox.Show(Instance.Refusal(tools.Root), "Hookshot Builder", MessageBoxButton.OK, MessageBoxImage.Information);
Environment.Exit(1);
return;
}
if (cli)
{
Environment.Exit(Cli(e.Args.Skip(1).ToList()));
return;