From 19eeb29cdab7294d00289b743dd30a0d1d4bb583 Mon Sep 17 00:00:00 2001 From: chrg6 Date: Tue, 10 Nov 2026 06:17:42 -0500 Subject: [PATCH] Let tools/run_game.py run a Linux game folder and a save from a crash report. The scripted-run tool finds the game under each name the build tools give it, counts other copies through /proc where there is no tasklist, uses the game folder's own profile when it has one, takes a save folder or zip from elsewhere through the launcher's save search (a single slot replaces only that slot), and --wall ends a run that never reaches the world clock. Pull request #310 by mooki000, taken as it is except for its note that game time is not counted on 1.1.1, which no longer holds. --help runs on Windows; nothing was run on Linux here. Co-Authored-By: Claude Fable 5.2 --- docs/controls.md | 2 + tools/run_game.py | 127 +++++++++++++++++++++++++++++++++++----------- 2 files changed, 99 insertions(+), 30 deletions(-) diff --git a/docs/controls.md b/docs/controls.md index add8c150..8fd82b9a 100644 --- a/docs/controls.md +++ b/docs/controls.md @@ -148,6 +148,8 @@ The PS button is not used. The Controls tab binds and remaps its buttons like an `NX2NAVI_INPUT_RECORD=` (`input_record` in `nx2navi.ini`) writes the merged input in the same format, one line per button press and per stick segment. The file replays as a script, which makes it the repro to attach to a bug report. +`tools/run_game.py --save --seconds --wall [--script ] [--shot ]` runs the game on a copy of its profile with a save swapped in, under the script (default `tools/input/load_save.txt`: title screen to the first save slot). `` names one of the game's save backups (`profile/save-backup/