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

@@ -68,18 +68,18 @@ mg_spec.loader.exec_module(make_game)
calls = []
reported = [] # (whether each call was given a progress(done, total): the check says how far it is, #1764)
sys.modules["nup"] = type(sys)("nup")
sys.modules["nup"].stand_in_damaged = lambda romfs, progress=None: calls.append(romfs) or reported.append(callable(progress)) or []
sys.modules["nup"].stand_in_damaged = lambda romfs, progress=None, known=None: calls.append(romfs) or reported.append(callable(progress)) or []
with tempfile.TemporaryDirectory() as out:
romfs = os.path.join(out, "romfs")
os.makedirs(romfs)
make_game.stand_in_damaged_files(out, romfs)
check("no stamp: not the builder's romfs", calls, [])
with open(os.path.join(out, ".hookshot_romfs"), "w") as f:
with open(os.path.join(out, ".triforce_romfs"), "w") as f:
f.write("unpacked by this builder: game.nup 1\n")
make_game.stand_in_damaged_files(out, romfs)
make_game.stand_in_damaged_files(out, romfs)
check("checked once", calls, [romfs])
with open(os.path.join(out, ".hookshot_romfs"), "w") as f:
with open(os.path.join(out, ".triforce_romfs"), "w") as f:
f.write("unpacked by this builder: other.nup 2\n")
make_game.stand_in_damaged_files(out, romfs)
check("checked again for another unpack", calls, [romfs, romfs])