Make F8 write a bug capture and add a test run that starts from one.

F8 now always writes a folder under logs/captures: the area, Link's position and rotation, the camera of the frame on screen and the game's own, the presented frame as a PNG, frame times around the press, the machine, the settings that differ from the defaults, the end of the log, the save, and the game's flags and texts. A note on screen names the capture. The flight recorder's F8 dump goes into the capture's folder.

NX2NAVI_CAPTURE_REPLAY starts a run on a capture's settings, teleports to its area, walks Link to where he stood and puts the free camera where the camera was; tools/capture_run.py prepares the profile from the capture's save, runs it and compares the two captures. docs/bug-capture.md has the files and the steps.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
epicmeme546
2026-11-13 06:22:18 -05:00
parent a01910d905
commit 4fd70e398f
21 changed files with 1687 additions and 49 deletions

View File

@@ -734,6 +734,9 @@ static const char *const text_en[UI_TEXT_COUNT] = {
[UI_MENU_COOP_N_LEFT] = "You left the room.",
[UI_MENU_COOP_LOCAL] = "Test mode: a stand-in for Steam on this PC.",
[UI_MENU_COOP_TOAST_INVITE] = "%s invites you to a room: open the menu's Co-op tab.",
[UI_MENU_CAPTURE_SAVED] = "Bug capture %d saved",
[UI_MENU_CAPTURE_FOLDER] = "Folder: %s",
[UI_MENU_CAPTURE_FAILED] = "Bug capture %d could not be saved",
[UI_BOOT_TITLE] = "Preparing shaders",
[UI_BOOT_STARTING] = "Starting", [UI_BOOT_SHADERS] = "Shaders: %lld of %lld", [UI_BOOT_PIPELINES] = "Pipelines: %lld of %lld",
[UI_MENU_UPSCALING] = "Upscaling",
@@ -1382,6 +1385,9 @@ static const char *const text_ru[UI_TEXT_COUNT] = {
[UI_MENU_COOP_N_LEFT] = "Вы вышли из комнаты.",
[UI_MENU_COOP_LOCAL] = "Тестовый режим: замена Steam на этом ПК.",
[UI_MENU_COOP_TOAST_INVITE] = "%s приглашает вас в комнату: откройте вкладку «Кооператив» в меню.",
[UI_MENU_CAPTURE_SAVED] = "Снимок ошибки %d сохранён",
[UI_MENU_CAPTURE_FOLDER] = "Папка: %s",
[UI_MENU_CAPTURE_FAILED] = "Снимок ошибки %d не удалось сохранить",
[UI_BOOT_TITLE] = "Подготовка шейдеров",
[UI_BOOT_STARTING] = "Запуск", [UI_BOOT_SHADERS] = "Шейдеры: %lld из %lld", [UI_BOOT_PIPELINES] = "Конвейеры: %lld из %lld",
[UI_MENU_CHEATS_REBUILD] = "Пересобрать игру сейчас",
@@ -2013,6 +2019,9 @@ static const char *const text_pt_br[UI_TEXT_COUNT] = {
[UI_MENU_COOP_N_LEFT] = "Você saiu da sala.",
[UI_MENU_COOP_LOCAL] = "Modo de teste: um substituto da Steam neste PC.",
[UI_MENU_COOP_TOAST_INVITE] = "%s convida você para uma sala: abra a aba Co-op do menu.",
[UI_MENU_CAPTURE_SAVED] = "Captura de bug %d salva",
[UI_MENU_CAPTURE_FOLDER] = "Pasta: %s",
[UI_MENU_CAPTURE_FAILED] = "Não foi possível salvar a captura de bug %d",
[UI_BOOT_TITLE] = "Preparando shaders",
[UI_BOOT_STARTING] = "Iniciando", [UI_BOOT_SHADERS] = "Shaders: %lld de %lld", [UI_BOOT_PIPELINES] = "Pipelines: %lld de %lld",
[UI_MENU_CHEATS_REBUILD] = "Recompilar o jogo agora",
@@ -2724,6 +2733,9 @@ static const char *const text_zh_hans[UI_TEXT_COUNT] = {
[UI_MENU_COOP_N_LEFT] = "你已离开房间。",
[UI_MENU_COOP_LOCAL] = "测试模式:在本机上代替 Steam。",
[UI_MENU_COOP_TOAST_INVITE] = "%s 邀请你加入房间:请打开菜单的“合作”页。",
[UI_MENU_CAPTURE_SAVED] = "错误快照 %d 已保存",
[UI_MENU_CAPTURE_FOLDER] = "文件夹:%s",
[UI_MENU_CAPTURE_FAILED] = "错误快照 %d 无法保存",
[UI_BOOT_TITLE] = "正在准备着色器",
[UI_BOOT_STARTING] = "正在启动", [UI_BOOT_SHADERS] = "着色器:%lld / %lld", [UI_BOOT_PIPELINES] = "管线:%lld / %lld",
[UI_MENU_CHEATS_REBUILD] = "立即重新构建游戏",