acdream/tools/cdb
Erik 8fa66c23d5 fix(D.2b): Slice 2 — retail-exact doll pose, camera + heading (visual gate)
The paperdoll doll now matches retail: correct held pose, framing, and
facing. Three decomp-sourced fixes closed the visual gate.

Pose: cdb-confirmed m_didAnimation = 0x030003C0 (gmPaperDollUI), played
once + HELD (set_sequence_animation framerate=0, RedressCreature
0x004a3c22). Dumping the dat showed the 29-frame anim has only two
distinct keyframes — frame 0 (transitional, bent arm) and frames 1..28
(byte-identical: the settled stance, arms down + leg back) — so
ApplyPaperdollPose applies the LAST frame statically (no looping).

Camera: ported verbatim from UIElement_Viewport::SetCamera (decomp
0x004a5a39). position (0.12,-2.4,0.88); direction (0,0,0) => IDENTITY
view frame => look straight down +Y, ZERO yaw; FOV pi/4 (CreatureMode
ctor default 0x004543cf); ambient 0.3. The prior hand-tune aimed the
camera at mid-body, adding a ~2deg yaw that turned the doll's face away
— full-body framing comes from eye-height + FOV, not aiming.

Heading: retail Frame::set_heading(h) (0x00535e40) builds facing
(sin h, cos h); System.Numerics CreateFromAxisAngle(+Z, +h) rotates the
body's default +Y forward to (-sin h, cos h) — the X-lean was MIRRORED
(~22deg), the real cause of the turned-away face. Negate the angle to
land on retail's facing.

Wrap-up: stripped the temporary O/P pose-frame stepper + Slice2
diagnostics; divergence register AP-66 reworded, AP-67 (RTT doll render
vs in-cell CreatureMode::Render) + AP-68 (per-race UpdateForRace
unimpl) added; DollCameraTests pinned to the retail values + a zero-yaw
guard. tools/cdb/paperdoll-pose.cdb = the pose-DID capture script.
Build + full suite green (Core 1579 / Core.Net 343 / App 597 / UI 425).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 13:16:27 +02:00
..
a6-probe-runner.ps1 fix(cdb): A6.P1 — v1 dry-run lessons + v2 prep tooling 2026-05-21 19:38:31 +02:00
a6-probe.cdb fix(cdb): A6.P1 — a6-probe.cdb v4 hex-bits floats 2026-05-21 19:55:48 +02:00
a6-types-dump-runner.ps1 fix(cdb): A6.P1 — v1 dry-run lessons + v2 prep tooling 2026-05-21 19:38:31 +02:00
a6-types-dump.cdb fix(cdb): A6.P1 — v1 dry-run lessons + v2 prep tooling 2026-05-21 19:38:31 +02:00
a6-types-dump.txt fix(cdb): A6.P1 — a6-probe.cdb v2 with PDB-verified offsets 2026-05-21 19:43:50 +02:00
a7-fixd-golden-probe.cdb docs(lighting): A7 Fix D investigation RESOLVED + implementation spec (#140) 2026-06-18 17:08:27 +02:00
a7-fixd-golden2-probe.cdb docs(lighting): A7 Fix D investigation RESOLVED + implementation spec (#140) 2026-06-18 17:08:27 +02:00
a7-fixd-lights-v2.cdb docs(lighting): A7 Fix D investigation RESOLVED + implementation spec (#140) 2026-06-18 17:08:27 +02:00
a7-fixd-lights.cdb docs(lighting): A7 Fix D investigation RESOLVED + implementation spec (#140) 2026-06-18 17:08:27 +02:00
a7-fixd-numstatic-probe.cdb docs(lighting): A7 Fix D investigation RESOLVED + implementation spec (#140) 2026-06-18 17:08:27 +02:00
cellar-corner-escape.cdb docs(p2): cellar corner-wedge pinned to step-up-onto-floor (retail cdb) + trace apparatus 2026-06-04 11:27:44 +02:00
chat-colors.cdb @ 2026-06-16 10:08:42 +02:00
chat-colors2.cdb @ 2026-06-16 10:08:42 +02:00
decode_fcl_capture.py test(p0): retail-trace golden captured — membership criterion divergence pinned (P0 GATE MET) 2026-06-03 15:04:51 +02:00
decode_retail_hex.py feat(cdb): A6.P1 — decode_retail_hex.py hex→float decoder 2026-05-21 20:03:03 +02:00
discover-types.cdb test(p0): retail-trace golden captured — membership criterion divergence pinned (P0 GATE MET) 2026-06-03 15:04:51 +02:00
door-inside-out-v2.cdb feat(phys): A6.P4 door — cdb-driven NegPolyHit dispatch (incomplete; needs BSP near-miss recording) 2026-05-25 10:36:22 +02:00
door-inside-out-v3.cdb feat(phys): A6.P4 door — cdb-driven NegPolyHit dispatch (incomplete; needs BSP near-miss recording) 2026-05-25 10:36:22 +02:00
door-inside-out.cdb feat(phys): A6.P4 door — cdb-driven NegPolyHit dispatch (incomplete; needs BSP near-miss recording) 2026-05-25 10:36:22 +02:00
find-cell-list-capture-aligned.cdb fix(p1): membership already matches retail — the 0/11 was a cdb capture artifact 2026-06-03 18:54:27 +02:00
find-cell-list-capture.cdb test(p0): retail-trace golden captured — membership criterion divergence pinned (P0 GATE MET) 2026-06-03 15:04:51 +02:00
flap-cam-measure.cdb diag(cdb): flap-cam-measure.cdb — retail eye-hover + CameraManager smoothing capture 2026-06-08 23:14:54 +02:00
flap-eye-stability.cdb docs(render): FLAP settled by live-retail measurement — full retail port DECIDED (Option A) + exhaustive handoff 2026-06-08 16:19:34 +02:00
flap-pos-lookup.cdb docs(render): FLAP settled by live-retail measurement — full retail port DECIDED (Option A) + exhaustive handoff 2026-06-08 16:19:34 +02:00
flap-render-capture.cdb docs(render): FLAP settled by live-retail measurement — full retail port DECIDED (Option A) + exhaustive handoff 2026-06-08 16:19:34 +02:00
issue98-cellar-up-find-walkable.cdb tools(cdb): A6.P3 #98 Step 4 — retail find_walkable capture script 2026-05-23 15:29:02 +02:00
issue98-runner.ps1 tools(cdb): A6.P3 #98 Step 4 — retail find_walkable capture script 2026-05-23 15:29:02 +02:00
paperdoll-pose.cdb fix(D.2b): Slice 2 — retail-exact doll pose, camera + heading (visual gate) 2026-06-25 13:16:27 +02:00
README-a6-probe.md docs(cdb): A6.P1 — README for the cdb probe + runner 2026-05-21 18:44:42 +02:00
README-find-cell-list-capture.md test(p0): retail find_cell_list trace parser + cdb value-capture tooling 2026-06-03 14:26:24 +02:00
retail-connector-collide-trace.cdb test(p2): faithful cellar-lip wedge reproduction + investigation apparatus (no fix yet) 2026-06-05 08:30:36 +02:00
retail-flatfloor-trace.cdb test(p2): faithful cellar-lip wedge reproduction + investigation apparatus (no fix yet) 2026-06-05 08:30:36 +02:00
retail-lip-trace.cdb test(p2): faithful cellar-lip wedge reproduction + investigation apparatus (no fix yet) 2026-06-05 08:30:36 +02:00
retail-viewer-cell.cdb docs: indoor flicker/void root cause (decomp + live cdb) + 3-part fix plan handoff 2026-06-05 15:31:17 +02:00
symbol-probe.cdb feat(phys): A6.P4 door — cdb-driven NegPolyHit dispatch (incomplete; needs BSP near-miss recording) 2026-05-25 10:36:22 +02:00