mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-19 16:20:01 -04:00
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:
@@ -24,7 +24,10 @@ def main():
|
||||
trace = ""
|
||||
if " // Geometry trace:" in source[end:]:
|
||||
start = source.index(" // Geometry trace:", end)
|
||||
trace = source[start:source.index(" menu_record(", start)]
|
||||
stop = source.index(" menu_record(", start)
|
||||
# (Triforce: the device lost's marker before the menu, wp8-lost, is not the trace's)
|
||||
marked = source.find(" checkpoint_mark(f.cmd, index, 'M');", start)
|
||||
trace = source[start:marked if 0 <= marked < stop else stop]
|
||||
fixture = (ROOT / "tests/present_geometry_trace_test.cpp").read_text(encoding="utf-8")
|
||||
fixture = fixture.replace("/* ACTUAL_DRAW */", draw).replace("/* ACTUAL_TRACE */", trace)
|
||||
with tempfile.TemporaryDirectory(prefix="present-geometry-trace-") as temp:
|
||||
|
||||
Reference in New Issue
Block a user