Triforce v0.6.0 "Sage Of Power"

Faster frames (the replay's memory work, held submits, helper threads, collection and capture cuts), the game letting old areas go (QueryMemoryInfo), the 0.5.2 stutter fixed, AMD RX 5000/6000 and integrated-GPU fixes, the GPU device chosen by name, the in-game menus and launcher reworked, controller, Linux and benchmark fixes.
This commit is contained in:
ruckus7382sfgsgdf
2026-11-20 17:06:21 -06:00
parent b0e46adb48
commit 6c7117635c
265 changed files with 26893 additions and 2549 deletions

View File

@@ -17,9 +17,11 @@ class RecompLauncherJsonTests(unittest.TestCase):
menu = (ROOT / "gpu" / "vk" / "vk_menu.cpp").read_text(encoding="utf-8")
rows = {re.sub(" ", "_", name.lower()) for name in re.findall(r'\{TAB_[A-Z]+, "([^"]+)"', menu)}
# (vk_menu.cpp ini_key: the rows whose key is not their name, renamed rows keeping the key an options file has:
# output_res, resolution, upscaling, frame_rate_cap, dlss)
# output_res, resolution, frame_rate_cap, dlss, and (Triforce, options_version 7) its table of the rows renamed as
# their groups came, {"<name>", "<key>"})
ini_key = menu.split("const char* ini_key(const Row& r) {", 1)[1].split("\n}", 1)[0]
rows |= set(re.findall(r'return "([a-z_0-9]+)";', ini_key))
rows |= set(re.findall(r'\{"[^"]+", "([a-z_0-9-]+)"\}', ini_key))
keys = {key for setting in manifest["settings"] for choice in setting["choices"] for key in choice["set"]}
self.assertTrue(keys)
self.assertEqual(keys - rows, set())