# Bug captures A bug capture records where and how the game was when a player saw something wrong, so that the bug can be looked for again at that place instead of somewhere else. The player presses **F8**; a test run then starts from what the press wrote. Code: `runtime/bugcap.c`, `tools/capture_run.py`. Ocarina of Time 1.1.1 (the place and the camera come from the debug tools, `runtime/debug_tools.c`); on other game versions a capture still has the picture, the timing, the settings and the save. ## For the player When you see a bug, press **F8** while the game window is in front. About a second later a note at the top of the screen says *Bug capture 3 saved* with the folder's name. Tell whoever looks into the bug the number ("capture 3") and what you saw; nothing else is needed. Press it as often as you like: each press is its own capture, and a press while the one before is still being written is skipped. The captures are in the game folder under `logs\captures`, one folder each, named by number and time (`003-20261113-141502`). *Menu > Open log folder* shows `logs`. A capture is a few megabytes, most of it the picture (about 9 MB at 3440x1440 with HDR); delete old ones whenever you like. Nothing leaves your PC: a capture is files on your disk. ## What a capture holds | File | What | |---|---| | `capture.txt` | Written last: a folder that has it is complete. `key = value` lines under `[sections]`, see below | | `frame.png` | The frame on screen as the window got it, the overlay included, without the capture's own note (an HDR picture converted to sRGB) | | `frames.tsv` | The last 600 presents before the press and the 30 after: frame, interval and replay time in ms | | `log-tail.txt` | The last 256 KB of the run's log | | `settings.ini` | Every setting that had a value (from `nx2navi.ini`, the menu or the environment) as `nx2navi.ini` lines, without the private ones (`runtime/cfg_private.h`) | | `NX2navi-save-