Triforce v0.7.0 "Sage Of Courage"

The 0.6 crashes after warps and area changes fixed (no write-back into memory the capture leaves out), invisible objects fixed (occlusion gate), DLSS frame generation flicker fixed, achievements, the renderer built with a play profile, faster translated game code, helper threads judged on settled scenes, memory, shader preparation, audio effects, launcher, controls and Linux fixes.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-22 11:59:06 -06:00
parent 70c210cee1
commit e6f2f248f2
529 changed files with 55958 additions and 1898 deletions

View File

@@ -130,7 +130,12 @@ sealed class Runner
process = p;
p.ErrorDataReceived += (_, e) => { if (e.Data != null) Line?.Invoke(e.Data); };
p.BeginErrorReadLine();
try { p.PriorityClass = ProcessPriorityClass.BelowNormal; } catch (Exception) { }
// (Triforce, 11-22, the performance audit's OS-57, after Source A's) The build tools run at normal priority;
// below normal, as every build was before, only with HOOKSHOT_LOW_PRIORITY=1. Source A's reason, a report
// it did not measure: below normal, Windows kept the steps that are one process (the read, the lift) on a
// hybrid Intel CPU's efficiency cores while the performance cores idled.
if (Environment.GetEnvironmentVariable("HOOKSHOT_LOW_PRIORITY") == "1")
try { p.PriorityClass = ProcessPriorityClass.BelowNormal; } catch (Exception) { }
while (p.StandardOutput.ReadLine() is { } line)
{
if (line.StartsWith("@@error ")) error = line[8..];

View File

@@ -17,6 +17,15 @@ CREATE_NO_WINDOW = 0x08000000
BELOW_NORMAL_PRIORITY_CLASS = 0x00004000
def build_priority(env=None):
"""(Triforce, 11-22, the performance audit's OS-57, after Source A's) The priority class the build tools are started
with, as a creation flag: none (normal priority), and below normal, as every build was before, only with
HOOKSHOT_LOW_PRIORITY=1. Source A's reason, a report it did not measure: below normal, Windows kept the steps that are
one process (the read, the lift) on a hybrid Intel CPU's efficiency cores while the performance cores idled."""
env = os.environ if env is None else env
return BELOW_NORMAL_PRIORITY_CLASS if env.get("HOOKSHOT_LOW_PRIORITY") == "1" else 0
# ---------------- the build tools (Runner.cs: Tools) ----------------
class Tools:
@@ -96,7 +105,7 @@ class Runner:
p = subprocess.Popen(build_command(self.tools, self.args), cwd=self.tools.root,
env=build_env(self.tools, self.workers, self.ngx_sdk), stdout=subprocess.PIPE,
stderr=subprocess.PIPE, stdin=subprocess.DEVNULL,
creationflags=CREATE_NO_WINDOW | BELOW_NORMAL_PRIORITY_CLASS)
creationflags=CREATE_NO_WINDOW | build_priority())
except OSError as e:
self.on_finished("The build tools could not start: %s" % e)
return