In-game text test, version 3.0.0, report

This commit is contained in:
2026-10-09 22:50:15 +02:00
parent a10593ec24
commit 98ec2fe9c4
10 changed files with 123 additions and 40 deletions

View File

@@ -310,6 +310,8 @@ def cmd_verify(a):
from .verify import ingame
if a.banks:
rep = ingame.run_banks(ws, a.sound or None)
elif a.texts:
rep = ingame.run_texts(ws)
elif a.baseline:
rep = ingame.run(ws, a.target, mode="baseline", seconds=a.seconds)
elif a.installed:
@@ -390,6 +392,7 @@ def build_parser():
s.add_argument("--banks", action="store_true",
help="with --ingame: test in-memory sounds (default: the front-end banks, or --sound NAME ...)")
s.add_argument("--sound", action="append", default=[], help="with --banks: a sound to test (repeatable)")
s.add_argument("--texts", action="store_true", help="with --ingame: test menu text and subtitle edits")
# advanced
s = add("encode", cmd_encode, "[advanced] audio -> .wem file", (enc,))
s.add_argument("audio"); s.add_argument("out"); s.add_argument("--like", metavar="NAME")