89 Commits
Author SHA1 Message Date
kinect-bot 48eb19dd43 fix(calibration): gesture wording matches derivation (todo 9); restore build.sh exec bit 2026-11-27 04:10:29 -05:00
kinect-bot ee6781ef31 feat(release): wave 3 landed - preflight, docs refresh, limitations 2026-11-27 03:49:56 -05:00
kinect-bot e0f98550a1 feat(release): wave 2 landed - Windows prebuilt player bundle 2026-11-27 03:18:46 -05:00
kinect-bot 710c4f23e5 feat(release): wave 1 landed - tuning/calibration, model+ORT distribution, licensing, 2P experiment+probe 2026-11-27 03:05:51 -05:00
kinect-bot 865185e4a6 docs(plan): add approved release-readiness work plan 2026-11-27 01:42:06 -05:00
kinect-bot 8cc94da668 docs: add docs/game-internals.md (how DEA consumes the Kinect: skeleton validity gate, the Flash/libafp menu-cursor PhIZ, two-player, in-process introspection) + a full RE/decompilation jump-start (Ghidra gkproj, ifstools+bemaniutils afp toolchain, real-Kinect datasets, key addresses). Refresh README + native-tracker for the native tracker, working DEA, and new features. 2026-11-27 01:09:11 -05:00
kinect-bot 449cb2d749 feat(tracker): remember the last-selected camera + resolution in kinect_tracker_last.txt next to the exe; the dropdowns default to it on next launch (falls back to the first camera if it's gone). User rebuilds the tracker. 2026-11-27 01:03:44 -05:00
kinect-bot 86722b0379 perf(tracker): multi-thread ONNX inference (was single-threaded, the dominant latency; now ~half the cores clamped 2-4) + replace the capture->infer Sleep(1) poll with a condition-variable wake and a buffer swap (no fixed poll latency, no per-frame copy under lock). User rebuilds the tracker. 2026-11-27 01:01:25 -05:00
kinect-bot 10dd2859ca cleanup(shim): gate the in-process RE introspection (DumpGameDisplayState), the handcur hand/cursor log, and the producer-tick heartbeat behind kShimDebug (false) so shipping builds stay quiet and the debug tooling is clearly separated 2026-11-27 00:56:37 -05:00
kinect-bot 03f7b01f9a tune(shim): gain back to X3.2/Y2.6 (3.7/3.0 overshot). revert(mapping): remove redundant core L/R swap (shim does it; avoids double-swap on a clean core rebuild) + restore golden/occlusion tests. 2026-11-27 00:44:56 -05:00
kinect-bot 61025ed3f9 tune(shim): nudge arm gains X 3.2->3.7, Y 2.6->3.0 (range was slightly short) 2026-11-27 00:39:39 -05:00
kinect-bot 4965a5415a tune(shim): raise arm gains X 1.6->3.2, Y 1.3->2.6 (~2x) so a comfortable one-arm range covers the full screen (covered ~half each axis before) 2026-11-27 00:29:33 -05:00
kinect-bot 552beedd15 fix(shim): swap L/R joints (mirror swaps MediaPipe labels - verified) + amplify arm reach 1.6x/1.3x (MediaPipe compresses hand-relative range vs real Kinect, UTKinect-measured) so the menu cursor covers the full screen. Shim-side so no tracker rebuild needed. 2026-11-27 00:19:53 -05:00
kinect-bot cb5e8f7865 fix(mapping): swap L/R joint assignments so the mirrored camera puts the player's right hand in HAND_RIGHT (was landing in HAND_LEFT); matches real Kinect convention. Update golden + occlusion tests. 2026-11-26 23:39:49 -05:00
kinect-bot 91c4e82ea6 fix(tracker): restore source mirror - real Kinect data (UTKinect/MSR) shows right hand is +x rel shoulder-center; our un-mirrored build had it -x (flipped), pinning the menu cursor 2026-11-26 23:24:43 -05:00
kinect-bot 9bf156ccb8 revert(mapping): restore original smoothing (the raised jitter-radius over-damped the hand, making the cursor track worse) 2026-11-26 22:37:56 -05:00
kinect-bot f51656cf0e diag(windows-nui): comprehensive paired log - all candidate hand/ref joints + both cursor slots + state flag (one sweep captures everything) 2026-11-26 22:32:13 -05:00
kinect-bot 62d6e953f9 diag(windows-nui): log hand + live cursor PAIRED and dense (~0.5s) to solve the hand->cursor mapping 2026-11-26 22:26:39 -05:00
kinect-bot a77508a0fb test(mapping): pin golden Holt sequence to explicit params so smoothing-default tuning doesn't break it 2026-11-26 22:15:04 -05:00
kinect-bot fd1b0f086f fix(mapping): stabilize cursor - higher smoothing + wider jitter dead-zone + lower prediction (reference jitter was making the hand-shoulder cursor jump) 2026-11-26 22:14:24 -05:00
kinect-bot 4981a4c768 diag(windows-nui): read the game's live menu cursor (DAT_103d2bb8 controller +0x108/+0x10c) to correlate hand->cursor directly 2026-11-26 22:08:46 -05:00
kinect-bot 256a9056c0 diag(windows-nui): log HAND_L/R + shoulder joint positions (and hand-relative-to-body) to debug menu cursor pinning 2026-11-26 21:04:15 -05:00
kinect-bot dede81706a fix(mapping): stabilize HAND joints via 4-point average (wrist+index+pinky+thumb) - ~35% less jitter, palm-centered like a real Kinect HAND, for the menu hand-cursor 2026-11-26 03:52:54 -05:00
kinect-bot 5b9d00fcac tracker: add synthetic skeleton puppet (Python reimpl of core/mapping) for cursor+pose validation without webcam/game 2026-11-26 03:38:46 -05:00
kinect-bot 03e3a1808c perf(tracker): low-latency capture - MF_LOW_LATENCY + dedicated capture thread that keeps only the latest frame (inference never processes a stale backlogged frame) 2026-11-26 03:07:10 -05:00
kinect-bot 36035cc9a2 fix(windows-nui): center skeleton in game's validity box via vFloorClipPlane.w=1-hip.y (SKELETON NOW RENDERS - gate was the gravity/floor transform Y-translation) 2026-11-26 03:04:38 -05:00
kinect-bot 32e729a1f1 diag(windows-nui): dump full 16-element transform matrix (diagonal-only read was misleading) 2026-11-26 02:49:50 -05:00
kinect-bot dac3bb22d2 diag(windows-nui): introspect the filter's validity box DAT_103d3230 (the valid region our M*Position must fall within) 2026-11-26 02:37:19 -05:00
kinect-bot 501ee262ad diag(windows-nui): dump manager's internal SkeletonData[0] copy to check if our skeleton reaches the filter's buffer; revert position probe 2026-11-26 02:26:47 -05:00
kinect-bot cb85158379 diag(windows-nui): introspect game reference stage points for filter distance analysis 2026-11-26 02:14:03 -05:00
kinect-bot b4637dc119 diag(windows-nui): also introspect game transform matrix diagonal + candidate validity flags 2026-11-26 02:06:40 -05:00
kinect-bot f46021f61a diag(windows-nui): introspect game's live skeleton-validation state (reference dir, gravity, selected IDs) from the shim's in-process read of gamekdm.dll 2026-11-26 01:59:48 -05:00
kinect-bot 4698fa153b tracker-native: add straight-standing test image that clears the game's limb-verticality gate 2026-11-26 01:43:53 -05:00
kinect-bot f05525607a fix(windows-nui): report all skeleton joints TRACKED so game's joint-ratio>0.85 gate builds a valid orientation transform (was degenerate -> every skeleton rejected) 2026-11-26 01:34:19 -05:00
kinect-bot 8a86cac605 tracker-native: test-image mode - pick a picture instead of the camera (WIC decode, same pose/publish/preview pipeline) 2026-11-26 01:15:07 -05:00
kinect-bot 275b7e27c4 tracker-native: Linux skeleton-render probe + script + full-body test image (validates pose pipeline headless) 2026-11-26 01:02:31 -05:00
kinect-bot 6c886ae328 tracker-native: draw skeleton bones in preview; windows-nui: revert diagnostic fixed-Position probe 2026-11-26 01:00:42 -05:00
kinect-bot d651fc89b0 fix(windows-nui): set vFloorClipPlane+vNormalToGravity so game's floor-relative skeleton selection transform isn't degenerate 2026-11-26 00:30:18 -05:00
kinect-bot 1540a5aec7 tracker-native: mirror camera at source (preview + feed + skeleton consistent) 2026-11-26 00:10:25 -05:00
kinect-bot 1ff8ecf2d1 fix(windows-nui): honor TITLE_SETS protocol - report skeleton POSITION_ONLY until app selects its ID, then TRACKED (fixes game never locking skeleton) 2026-11-25 23:59:10 -05:00
kinect-bot 0dfeedb2a0 tracker-native: restrict capture to 4:3 resolutions; 4:3 preview window (Kinect is native 4:3) 2026-11-25 23:50:07 -05:00
kinect-bot ba5a4df676 ci: remove GitHub Actions workflow (no CI setup) 2026-11-25 23:41:31 -05:00
kinect-bot 9af1740507 diag(windows-nui): log skeleton delivery content + SetTrackedSkeletons requests
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python root tests (pytest, no tracker deps) (push) Canceled after 0s
ci / Python tracker (pytest, tracker/.venv) (push) Canceled after 0s
2026-11-25 23:39:45 -05:00
kinect-bot b5c7b74faf tracker-native: double-buffer preview to stop flicker
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python root tests (pytest, no tracker deps) (push) Canceled after 0s
ci / Python tracker (pytest, tracker/.venv) (push) Canceled after 0s
2026-11-25 23:24:45 -05:00
kinect-bot 6dc472921a tracker-native: letterbox preview to preserve aspect ratio
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python root tests (pytest, no tracker deps) (push) Canceled after 0s
ci / Python tracker (pytest, tracker/.venv) (push) Canceled after 0s
2026-11-25 22:59:19 -05:00
kinect-bot b3bdd5f7dc fix(tracker-native): camera-open fallback to RGB32 default size
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python root tests (pytest, no tracker deps) (push) Canceled after 0s
ci / Python tracker (pytest, tracker/.venv) (push) Canceled after 0s
If a webcam can't deliver RGB32 at the exact chosen native resolution,
SetCurrentMediaType failed and the camera wouldn't open at all. Now it retries
RGB32 without forcing the frame size (MF picks a supported size + converts) and
adopts whatever is negotiated (read back from GetCurrentMediaType), so the app
degrades gracefully instead of hard-failing.
2026-11-25 19:46:51 -05:00
kinect-bot b30deb7cc5 fix(tracker-native): stride-aware RGB32 capture (handle bottom-up + padding)
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python root tests (pytest, no tracker deps) (push) Canceled after 0s
ci / Python tracker (pytest, tracker/.venv) (push) Canceled after 0s
Media Foundation commonly delivers RGB32 bottom-up (negative MF_MT_DEFAULT_STRIDE);
a flat top-down memcpy would make the preview and published feed upside-down.
read_frame now copies row by row honoring the signed stride (flip when negative,
handle padded strides), producing a top-down BGRA frame per the MS Image Stride
spec. Orientation is logged at open.
2026-11-25 19:14:07 -05:00
kinect-bot 5239ae5b81 feat(tracker-native): multi-scale acquisition substitutes for the float16 detector
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python root tests (pytest, no tracker deps) (push) Canceled after 0s
ci / Python tracker (pytest, tracker/.venv) (push) Canceled after 0s
The pose_detector.tflite is float16-quantized, which tf2onnx 1.16.1/1.17/git-main
all fail to convert (misreads float16 constants -> 'reshape 96 into (16,1,1,24)').
Rather than block on that upstream tool bug for an acquisition-only model,
PoseEstimator::acquire() runs the landmark model over a few candidate ROIs
(scales x vertical positions) and keeps the best presence. Headless on
grace_hopper it reaches 0.730 presence - matching the detector's 0.731 - so
acquisition quality is recovered. Worker now acquire()s until locked, then
single-run tracks via the aux-landmark ROI.
2026-11-25 19:11:57 -05:00
kinect-bot f2783ce903 feat(tracker-native): MTA COM-init on worker thread + MSVC CMakeLists
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python root tests (pytest, no tracker deps) (push) Canceled after 0s
ci / Python tracker (pytest, tracker/.venv) (push) Canceled after 0s
Worker thread creates and drives the Media Foundation source reader, so it must
be COM-initialized (CoInitializeEx MTA) - without it ReadSample can fail; fixes
a likely first-run camera failure. Adds CMakeLists.txt for an MSVC/Visual Studio
build (objective wants MSVC-compatible), auto-copying onnxruntime.dll + the model
next to the exe.
2026-11-25 19:05:30 -05:00
kinect-bot b2513c5722 feat(tracker-native): kinect_tracker.log diagnostics for playtest
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python root tests (pytest, no tracker deps) (push) Canceled after 0s
ci / Python tracker (pytest, tracker/.venv) (push) Canceled after 0s
Adds a ShimLog-style trace log next to the exe (startup, camera enumeration,
negotiated capture format + MF_MT_DEFAULT_STRIDE, per-N-frame presence/tracked,
shm CreateFileMapping result, errors) so the first real-hardware run is
diagnosable instead of blind - mirrors how kinect_shim.log drove the shim fixes.
Logs the camera stride so a top-down/bottom-up RGB32 image-flip is immediately
visible.
2026-11-25 19:04:20 -05:00