aboutsummaryrefslogtreecommitdiff
path: root/tools/native-frame-capture/README.md
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-12 07:24:13 +0300
committerValentin Popov <valentin@popov.link>2026-11-12 07:24:13 +0300
commit0697475318920de466fe2a2ceebfa56bb0a6bc07 (patch)
tree4cca3c8686b475659dac215101dd1d4d5ddd34ef /tools/native-frame-capture/README.md
parent4158e4cc07dd1e152715da3ff9c2c58866c8fb72 (diff)
downloadfparkan-0697475318920de466fe2a2ceebfa56bb0a6bc07.tar.xz
fparkan-0697475318920de466fe2a2ceebfa56bb0a6bc07.zip
fix(capture): replay actual celestial birth clocks
Diffstat (limited to 'tools/native-frame-capture/README.md')
-rw-r--r--tools/native-frame-capture/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/native-frame-capture/README.md b/tools/native-frame-capture/README.md
index 1f7166b4..338f3438 100644
--- a/tools/native-frame-capture/README.md
+++ b/tools/native-frame-capture/README.md
@@ -6,6 +6,8 @@ Capture modes attach only to the isolated GOG-compatible scratch copy of `Parkan
`sky_uv_clock` records the independent scrolling-texture clock at sky render entry (`Terrain+0x48110`). It requires a verified module/prologue, the selected camera, matching render thread/generation/world clock, and zenith UV values matching all three native scroll formulas. It preserves wrapping `u32` subtraction from the sky object's origin clock. FParkan holds this phase during exact capture replay; ordinary application frames animate the cloud, star and nebula UVs with periods of 50, 100 and 300 seconds. Older captures without this object still load and report `render_coverage captured_sky_phase_unverified=1`; their sky texture phase is not a native reference.
+`sky_uv_clock.celestial_births` records the actual elapsed/lifetime milliseconds of sun and moon objects at the same sky boundary. The bounded atmosphere object array, CSun vtable and native birth angles are checked before reading these clocks. A null role means that object is absent; a null `celestial_births` means the clocks were not verified. Replay uses the captured ages with its own orbit/glare calculations; it does not import rendered light colors. An explicit `--atmosphere-seconds` override keeps nominal schedule births instead. Old captures report `captured_celestial_clock_unverified`.
+
The JSON keeps the `fparkan-legacy-camera-v1` schema and adds `native_fog_status`, diagnostic counts, and `native_fog`. The latter is an optional passive CPU-side snapshot of the effective sink flags/RGB/range plus the paired calls to the `Terrain+0x2F230` consumer. The flags byte is raw and not a decoded fog mode. Each draw record preserves the distance argument, raw bypass dword and effective low byte, source color, output pointers, and return address. Geometry at `EBP` is included only for the verified `Terrain+0x18A6A` caller with the expected geometry vtable and slot+0x14 target; other callers have `distance_geometry: null`. The fog object is `null` unless the samples match the same render thread, camera, generation, and projection matrix and agree on sink settings. `native_fog_status` is `paired`, `conflict`, `unpaired`, or `incomplete`; `native_fog_status_reason` explains an unpaired, conflicting, or incomplete result. The counts include processed, overflow, paired, rejected, other-thread, and matrix-mismatch calls. At most 512 calls are processed per camera generation; reaching the limit stops sampling and reports an incomplete result. These fields are additive: camera-input validation continues to accept older JSON without them. This probe observes CPU consumer state; it does not set fog or change GPU state.
The capture helper expects an isolated copy at `target\shadow-probe\Parkan - Iron Strategy`; the original GOG installation stays untouched. For the default local install path, create that scratch copy from the repository root with: