feat(release): wave 2 landed - Windows prebuilt player bundle
This commit is contained in:
1 parent
710c4f23e5
commit
e0f98550a1
2 files changed
+54
-27
No files matched your search
+7
-4
@@ -18,7 +18,7 @@ absent, rather than shipping an incomplete bundle.
|
||||
| OS | Contents |
|
||||
| --- | --- |
|
||||
| **linux** | `lib/libnui_core.a`; `openni2/Drivers/libSynthKinect.so.0` (the OpenNI2 SynthKinect driver); `bin/openni2_depth_consumer`, `bin/depth_stats_consumer`, and optionally `bin/kinect_attach`; the `tracker/` Python source + `pyproject.toml`; the e2e harness (`run_e2e.py`, `generate_dance_video.py`); docs; `RUN.txt`. |
|
||||
| **windows** | `shim/x86/Kinect10.dll` and `shim/x64/Kinect10.dll` (the clean-room NUI shim, both arches); the usbip-win attach/verify PowerShell scripts + `kinect-usbip.json`; the `tracker/` Python source; docs; `RUN.txt`. |
|
||||
| **windows** | A prebuilt **player bundle** (download + play, no build, no Python): `kinect-tracker.exe` (the native webcam tracker), `onnxruntime.dll`, and `models/pose_landmarks_detector.onnx`; `shim/x86/Kinect10.dll` and `shim/x64/Kinect10.dll` (the clean-room NUI shim, both arches); docs (incl. the calibration note); `LICENSE` and `ThirdPartyNotices.txt`; a one-page `RUN.txt`. |
|
||||
|
||||
## What a bundle never contains
|
||||
|
||||
@@ -27,7 +27,10 @@ Per the plan's hard guardrail, a bundle links to but never redistributes:
|
||||
- the Microsoft Kinect for Windows 1.8 Runtime/SDK (`Kinect10.dll` real runtime, `kinect*.inf`),
|
||||
- NiTE2,
|
||||
- any DanceEvolution Arcade asset,
|
||||
- the tracker's `.venv` and MediaPipe `.task` model bundles (environment-specific; the setup guide
|
||||
reproduces them, and `tracker/models/README.txt` in the bundle carries the download commands).
|
||||
- the tracker's `.venv` and MediaPipe `.task` model bundles (linux only; environment-specific, the
|
||||
setup guide reproduces them, and `tracker/models/README.txt` in the bundle carries the download
|
||||
commands). The windows bundle ships the native tracker's ONNX model directly, so it needs no
|
||||
Python environment.
|
||||
|
||||
Those are supplied by the user from their official sources.
|
||||
Those are supplied by the user from their official sources. Third-party components that *are*
|
||||
redistributed (the bundled ONNX Runtime and pose model) are attributed in `ThirdPartyNotices.txt`.
|
||||
Regular → Executable
+47
-23
@@ -34,25 +34,26 @@ mkdir -p "$OUTDIR"
|
||||
# --- docs shared by every bundle ---
|
||||
copy "$ROOT/README.md" "$OUTDIR/README.md"
|
||||
copy "$ROOT/LICENSE" "$OUTDIR/LICENSE"
|
||||
copy "$ROOT/ThirdPartyNotices.txt" "$OUTDIR/ThirdPartyNotices.txt"
|
||||
copy "$ROOT/docs/setup-$OS.md" "$OUTDIR/docs/setup-$OS.md"
|
||||
copy "$ROOT/docs/calibration.md" "$OUTDIR/docs/calibration.md"
|
||||
copy "$ROOT/docs/troubleshooting.md" "$OUTDIR/docs/troubleshooting.md"
|
||||
|
||||
# --- the tracker (Python source; the user creates tracker/.venv per the setup guide) ---
|
||||
# The .venv and model bundles are environment-specific and are NOT bundled; the setup guide
|
||||
# reproduces them. We ship the source, pyproject, and a models/ placeholder with instructions.
|
||||
mkdir -p "$OUTDIR/tracker"
|
||||
for f in __init__.py contract.py control.py fake_pose.py joint_mapping.py pose.py \
|
||||
if [ "$OS" = linux ]; then
|
||||
# --- the tracker (Python source; the user creates tracker/.venv per the setup guide) ---
|
||||
# The .venv and model bundles are environment-specific and are NOT bundled; the setup guide
|
||||
# reproduces them. We ship the source, pyproject, and a models/ placeholder with instructions.
|
||||
mkdir -p "$OUTDIR/tracker"
|
||||
for f in __init__.py contract.py control.py fake_pose.py joint_mapping.py pose.py \
|
||||
publisher.py tracker.py pyproject.toml README.md; do
|
||||
copy "$ROOT/tracker/$f" "$OUTDIR/tracker/$f"
|
||||
done
|
||||
mkdir -p "$OUTDIR/tracker/models"
|
||||
cat > "$OUTDIR/tracker/models/README.txt" <<'EOF'
|
||||
done
|
||||
mkdir -p "$OUTDIR/tracker/models"
|
||||
cat > "$OUTDIR/tracker/models/README.txt" <<'EOF'
|
||||
Download the MediaPipe pose_landmarker .task bundles here (lite/full/heavy).
|
||||
See docs/setup-linux.md step 2a for the exact curl commands.
|
||||
EOF
|
||||
|
||||
if [ "$OS" = linux ]; then
|
||||
# --- OS-agnostic core library + the verified Linux OpenNI2 surface + e2e harness ---
|
||||
core_lib=""
|
||||
for cand in "$ROOT/build/linux/core/libnui_core.a" \
|
||||
@@ -87,26 +88,49 @@ bin/openni2_depth_consumer. See docs/setup-linux.md for the full reproduction.
|
||||
EOF
|
||||
|
||||
elif [ "$OS" = windows ]; then
|
||||
# --- the clean-room Kinect10.dll shim (both arches) + the attach scripts ---
|
||||
# --- the native, zero-Python tracker: exe + its ONNX Runtime + pose model ---
|
||||
tracker_dist="$ROOT/tracker-native/build/dist"
|
||||
need "$tracker_dist/kinect-tracker.exe"
|
||||
need "$tracker_dist/onnxruntime.dll"
|
||||
need "$ROOT/tracker-native/models/pose_landmarks_detector.onnx"
|
||||
copy "$tracker_dist/kinect-tracker.exe" "$OUTDIR/kinect-tracker.exe"
|
||||
copy "$tracker_dist/onnxruntime.dll" "$OUTDIR/onnxruntime.dll"
|
||||
copy "$ROOT/tracker-native/models/pose_landmarks_detector.onnx" \
|
||||
"$OUTDIR/models/pose_landmarks_detector.onnx"
|
||||
|
||||
# --- the clean-room Kinect10.dll NUI shim, both arches ---
|
||||
need "$ROOT/fallback/windows-nui/build/Kinect10-x86.dll"
|
||||
need "$ROOT/fallback/windows-nui/build/Kinect10-x64.dll"
|
||||
copy "$ROOT/fallback/windows-nui/build/Kinect10-x86.dll" "$OUTDIR/shim/x86/Kinect10.dll"
|
||||
copy "$ROOT/fallback/windows-nui/build/Kinect10-x64.dll" "$OUTDIR/shim/x64/Kinect10.dll"
|
||||
|
||||
# the usbip-win attach/verify PowerShell scripts + config
|
||||
for s in Attach-Kinect.ps1 Detach-Kinect.ps1 Enable-TestSigning.ps1 \
|
||||
Disable-TestSigning.ps1 Install-UsbIpWin.ps1 Verify-KinectDevice.ps1; do
|
||||
copy "$ROOT/attach/windows/scripts/$s" "$OUTDIR/attach/scripts/$s"
|
||||
done
|
||||
copy "$ROOT/attach/windows/config/kinect-usbip.json" "$OUTDIR/attach/config/kinect-usbip.json"
|
||||
copy "$ROOT/attach/windows/README.md" "$OUTDIR/attach/README.md"
|
||||
copy "$ROOT/attach/windows/docs/approach.md" "$OUTDIR/attach/approach.md"
|
||||
|
||||
cat > "$OUTDIR/RUN.txt" <<'EOF'
|
||||
Windows bundle. Pick ONE path (see docs/setup-windows.md):
|
||||
Device path: run the attach/scripts against a running USB/IP emitter.
|
||||
Shim path: copy shim/<arch>/Kinect10.dll beside gamekdm.dll (match DEA's bitness).
|
||||
You must install the MS Kinect 1.8 Runtime+SDK yourself; it is never bundled here.
|
||||
Webcam virtual Kinect v1 - Windows player bundle (no build, no Python)
|
||||
|
||||
What's here:
|
||||
kinect-tracker.exe the webcam -> Kinect pose tracker (run this)
|
||||
onnxruntime.dll its runtime (keep beside the exe)
|
||||
models/*.onnx the pose model (keep the models/ folder beside the exe)
|
||||
shim/x86/Kinect10.dll 32-bit NUI shim (most DEA/spice2x builds)
|
||||
shim/x64/Kinect10.dll 64-bit NUI shim
|
||||
docs/calibration.md the cursor calibration note
|
||||
docs/setup-windows.md full setup reference
|
||||
LICENSE, ThirdPartyNotices.txt
|
||||
|
||||
Setup (once):
|
||||
1. Install the Microsoft Kinect for Windows 1.8 Runtime. It is NOT bundled here;
|
||||
get it from Microsoft. The game loads Kinect10.dll, so the runtime's own
|
||||
dependencies must be present on the machine.
|
||||
2. Copy shim/<arch>/Kinect10.dll into the DanceEvolution Arcade contents folder
|
||||
next to gamekdm.dll, matching the game's bitness (x86 for 32-bit spice2x,
|
||||
x64 for 64-bit). This puts our shim in place of the real Kinect10.dll.
|
||||
|
||||
Each session:
|
||||
3. Plug in your webcam and run kinect-tracker.exe. Pick your camera (the choice
|
||||
is remembered). Keep onnxruntime.dll and the models/ folder beside the exe.
|
||||
4. Start capture, then click "Calibrate cursor" and raise your right arm as
|
||||
prompted so the menu hand-cursor reaches every corner (see docs/calibration.md).
|
||||
5. Launch DanceEvolution Arcade. It sees the virtual Kinect.
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user