mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-20 08:39:58 -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:
@@ -1,6 +1,7 @@
|
||||
"""Game-free: the Linux AppImage carries the controller fonts the button prompts are drawn from (third_party/kenney_input,
|
||||
nx2/prompt_assets.py KENNEY). Without them make_game.py says the prompts "were not made" and the game keeps the Switch's icons,
|
||||
even with fontTools installed.
|
||||
even with fontTools installed. And the font the keyboard and mouse face's labels are set in (third_party/fonts,
|
||||
nx2/prompt_keys.py LETTERS).
|
||||
|
||||
python -I tests/test_appimage_prompt_fonts.py
|
||||
"""
|
||||
@@ -22,7 +23,19 @@ def main():
|
||||
raise SystemExit("FAIL: %s does not exist" % folder)
|
||||
if not re.search(r'^cp -a %s "\$T/third_party/"$' % re.escape(folder), script, re.M):
|
||||
raise SystemExit("FAIL: scripts/linux/appimage.sh does not copy %s" % folder)
|
||||
print("ok: the AppImage copies %s" % folder)
|
||||
# ((Triforce) the keyboard and mouse face's labels: a font of third_party/fonts (nx2/prompt_keys.py LETTERS). Without it
|
||||
# that face alone is not made, and the game shows its own icons for it)
|
||||
keys = (ROOT / "nx2/prompt_keys.py").read_text(encoding="utf-8")
|
||||
m = re.search(r'LETTERS = os\.path\.join\(os\.path\.dirname\(HERE\), "third_party", "([^"]+)", "([^"]+)", "([^"]+)"\)', keys)
|
||||
if not m:
|
||||
raise SystemExit("FAIL: nx2/prompt_keys.py has no LETTERS under third_party")
|
||||
labels = "third_party/" + m.group(1)
|
||||
if not (ROOT / labels / m.group(2) / m.group(3)).is_file():
|
||||
raise SystemExit("FAIL: %s/%s/%s does not exist" % (labels, m.group(2), m.group(3)))
|
||||
if not re.search(r'^cp -a [^"\n]*\b%s [^\n]*"\$T/third_party/"$' % re.escape(labels), script, re.M) and \
|
||||
not re.search(r'^cp -a [^"\n]*\b%s "\$T/third_party/"$' % re.escape(labels), script, re.M):
|
||||
raise SystemExit("FAIL: scripts/linux/appimage.sh does not copy %s" % labels)
|
||||
print("ok: the AppImage copies %s and %s" % (folder, labels))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user