acdream/docs/research/2026-05-21-a6-captures
Erik 194ed3ef21 feat(cdb): A6.P1 — decode_retail_hex.py hex→float decoder
Python tool that decodes the retail.log hex-bits float fields produced
by a6-probe.cdb v4 into IEEE 754 single-precision values. Required
because cdb's .printf %f doesn't reliably format floats from dwo()
reads — v4 works around this by emitting 32-bit hex, this script
reinterprets via struct.unpack('<f', struct.pack('<I', value)).

Verified against scen1 retail.log:
  BP6 threshold_h=0x3F2A0751 → threshold=0.6642 (= FloorZ exactly)
  BP5 hit#1 Nz_h=0x3F800000 → Nz=1.0 (ground normal)
  9,517 float fields decoded across 9,331 lines.

Output written next to input as .decoded.log. Format matches
acdream-side [push-back] probe (4-decimal floats), so A6.P2
analysis can compare line-for-line.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21 20:03:03 +02:00
..
scen1_inn_doorway feat(cdb): A6.P1 — decode_retail_hex.py hex→float decoder 2026-05-21 20:03:03 +02:00
scen2_inn_stairs docs(research): A6.P1 — capture directory structure + findings stub 2026-05-21 18:46:56 +02:00
scen3_inn_2nd_floor docs(research): A6.P1 — capture directory structure + findings stub 2026-05-21 18:46:56 +02:00
scen4_cottage_cellar docs(research): A6.P1 — capture directory structure + findings stub 2026-05-21 18:46:56 +02:00
scen5_sewer_entry docs(research): A6.P1 — capture directory structure + findings stub 2026-05-21 18:46:56 +02:00
scen6_sewer_first_stair docs(research): A6.P1 — capture directory structure + findings stub 2026-05-21 18:46:56 +02:00
scen7_sewer_inter_room docs(research): A6.P1 — capture directory structure + findings stub 2026-05-21 18:46:56 +02:00
scen8_sewer_chamber docs(research): A6.P1 — capture directory structure + findings stub 2026-05-21 18:46:56 +02:00
scen9_sewer_corridor docs(research): A6.P1 — capture directory structure + findings stub 2026-05-21 18:46:56 +02:00
pdb-match-verification.txt docs(research): A6.P1 — refresh PDB verification to MATCH 2026-05-21 18:51:34 +02:00