Triforce v0.5.2

The new launcher (Windows and Linux: the game's own look, music and settings, saves and mods pages, smaller updates in parts), benchmark mode (Find my best settings: the game tours four places by itself and writes its results), Quit and Restart in the pause menu under Mods, Squadala! in the Mods menu, battle music above 60 fps, menu text, the controller in the menus with the game in the background, the whole GameBanana list, RX 580 and RX 5000/6000 shader fixes, the pipeline cache kept through an update, async present black flashes, and faster builds.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-19 10:52:50 -06:00
parent a750a21025
commit fb26495475
167 changed files with 21552 additions and 293 deletions

View File

@@ -179,6 +179,19 @@ class FakeVar:
self.value = value
class SetupUpdateKeepsDlssTests(unittest.TestCase):
"""(Triforce, 11-18, #bug-tracker "Update & merge removes NVIDIA DLSS") Setup's Run: an update of a folder built with DLSS
(its ngx/nvngx_dlss.dll) runs with the NGX flags whatever the stored choice, and stores the choice again; the flags follow"""
def test_update_of_a_dlss_folder_keeps_it(self):
shell = (ROOT / "setup" / "Shell.cs").read_text(encoding="utf-8")
run = shell[shell.index(" void Run(Tools tools, List<string> args, bool keepRows = false)"):]
run = run[:run.index("\n }\n")]
self.assertIn('args.IndexOf("--update")', run)
self.assertIn('File.Exists(System.IO.Path.Combine(updated, "ngx", "nvngx_dlss.dll"))', run)
self.assertIn('Install.Set("Dlss", "1");', run)
self.assertLess(run.index('"nvngx_dlss.dll"'), run.index('args.AddRange(new[] { "--fetch-ngx-sdk", "--accept-nvidia-license" })'))
class LinuxBuilderDlssTests(unittest.TestCase):
def setUp(self):
self.builder = load_linux_builder()