Skip to content

Native Windows video motion capture with ExMR, FlowHMR and GVHMR, contact correction, humanoid retargeting, and FBX/VMD export.

Python

Update detailed installation and validation guides

toyxyz336a9fd1ee1a
diff --git a/SOURCE_MANIFEST.json b/SOURCE_MANIFEST.json
index 1920725..9838089 100644
--- a/SOURCE_MANIFEST.json
+++ b/SOURCE_MANIFEST.json
@@ -66,8 +66,8 @@
},
{
"path": "contributors/motion-correction/README.md",
- "bytes": 1934,
- "sha256": "a1e9ac463e655a1293392c0237effeb1385fb34c7f804c9f318018249fe76183"
+ "bytes": 1919,
+ "sha256": "119f1346b597c8a2bc96715fde1092a2e331c4aaa7b79212ebb256eb82860f9a"
},
{
"path": "contributors/motion-correction/build.cmd",
@@ -76,18 +76,18 @@
},
{
"path": "docs/BUILD.md",
- "bytes": 10345,
- "sha256": "d5641c808f8166803275c2dd3d93061a936584881f74c4f8e4c6831440767313"
+ "bytes": 10409,
+ "sha256": "5fd019ca170de78637430f7f2df459e628d0c6a41b6bfe5414afa96999685779"
},
{
"path": "docs/USER_GUIDE.md",
- "bytes": 25872,
- "sha256": "7fb66d2ee6f36faa2e51394be08b790aa4f3f8418c04893cd8856a4565d3e6f0"
+ "bytes": 26967,
+ "sha256": "d93475384797b973cdf5c623cf9f8c3e0812150716d88f846b48f318c5f22110"
},
{
"path": "docs/VALIDATION.md",
- "bytes": 2166,
- "sha256": "d5ae94c0ed78e92bcf71547072070e3cf5ef9d746a8ae26d297b0d5be18471c7"
+ "bytes": 2719,
+ "sha256": "1ff6eb0dbf6bf49e4477bcfc0bf194565ee882e54dbd6698de5912e9cb5e71d4"
},
{
"path": "install.cmd",
diff --git a/contributors/motion-correction/README.md b/contributors/motion-correction/README.md
index 0853783..d6b5f6d 100644
--- a/contributors/motion-correction/README.md
+++ b/contributors/motion-correction/README.md
@@ -4,7 +4,7 @@ The editable C++ and Python source is **`../../third_party/KimodoMotionCorrectio
The checked-in `../../prebuilt/motion-correction/_motion_correction.cp310-win_amd64.pyd` is the installed Windows x64, CPython 3.10 binary. The installer validates its size and SHA-256, then copies it into the private runtime's correction directory. Blender and FFmpeg are downloaded from their respective providers and are not in this folder.
-To build a candidate, first run the experimental installer, install a C++17 compiler (Visual Studio Build Tools recommended), CMake >= 3.15 and Git, and ensure the bootstrap Python under `.setup/python/` remains installed. It supplies the Python 3.10 development libraries and setuptools; the runtime itself does not contain all build libraries. Run `build.cmd`. CMake may fetch pinned pybind11 and Eigen sources, subject to their licenses. Build output is written under `.setup/motion-correction-build/`; this does not replace the installed or checked-in binary. On Windows with MSVC, the compiler environment must be configured. The provided CMake build enables AVX; compatibility with processors without AVX has not been established.
+To build a candidate, first run `install.cmd`, install a C++17 compiler (Visual Studio Build Tools recommended), CMake >= 3.15 and Git, and ensure the bootstrap Python under `.setup/python/` remains installed. It supplies the Python 3.10 development libraries and setuptools; the runtime itself does not contain all build libraries. Run `build.cmd`. CMake may fetch pinned pybind11 and Eigen sources, subject to their licenses. Build output is written under `.setup/motion-correction-build/`; this does not replace the installed or checked-in binary. On Windows with MSVC, the compiler environment must be configured. The provided CMake build enables AVX; compatibility with processors without AVX has not been established.
+
+Before proposing a new prebuilt binary, test import and contact correction using the app's Python 3.10 runtime, run the motion/contact regressions for all supported models, document compiler/dependency versions and reproduce the build independently. Then update the binary hash and size in both `installer/git-support-lock.json` and `installer/source-resources.json`. Binary equivalence and newly compiled build portability are not assumed.
-Before proposing a new prebuilt binary, test import and contact correction using the app's Python 3.10 runtime, run the motion/contact regressions for all supported models, document compiler/dependency versions and reproduce the build independently. Then update the binary hash and size in both `installer/git-support-lock.json` and `installer/source-resources.json`. Binary equivalence and newly compiled build portability are not assumed.
-
diff --git a/docs/BUILD.md b/docs/BUILD.md
index a7642ff..00b0b70 100644
--- a/docs/BUILD.md
+++ b/docs/BUILD.md
@@ -65,7 +65,7 @@ checking existing models.
| Skeleton and surface fitting | `mocap/source_animation.py`, `source_surface.py`, `surface_roll.py` |
| Preview and playback | `mocap/viewport.py`, `preview_data.py`, `playback.py`, `video_preview.py` |
| FBX | `mocap/fbx_export.py`, `fbx_bind.py`, `fbx_writer.py`, `scene_export.py` |
-| Setup | `installer/Setup.cs`, `FolderPicker.cs`, `engine.py`, `runtime-lock.json` |
+| Git setup/update | `install.cmd`, `update.cmd`, `tools/git_bootstrap.ps1`, `tools/git_managed_install.py`, `tools/git_update.py`, `installer/runtime-lock.json` |
Run `app.py` from `.venv` while editing. Worker changes are loaded by their own
profile processes; C++ changes require rebuilding the native correction module.
@@ -123,7 +123,11 @@ OpenCC's pure-Python wheel is retained as unpacked source under
are loaded by the worker; do not install these source folders through Blender's
extension installer.
-## Compile and build
+## Legacy standalone installer build
+
+This section describes the older EXE packaging path, not the Git-based
+installation. It is retained for contributors who need to inspect that tooling.
+
```powershell
.venv\Scripts\python.exe tools/check_source.py
@@ -174,26 +178,21 @@ Native CMake compilation is defined in
require a rebuild. The core currently uses AVX compiler options; do not claim
compatibility with processors that have not been checked.
-## Before sharing a release
-
-Run the new EXE from the staged app, then test the new Setup in a separate folder.
-Check cancellation/retry, disk space, model imports, one clip per supported model,
-preview playback, correction and FBX import in Blender. A source/build smoke check
-does not replace inference tests on the target hardware.
-
-Retain upstream licenses, required corresponding source/build materials and any
-applicable model restrictions. The exact FFmpeg binary and PyAV libraries determine
-their license obligations. Copy the relevant FFmpeg notices/source offer alongside
-your distribution. For Qt, preserve applicable replacement/relinking rights.
-See `THIRD_PARTY_NOTICES.md`; the project MIT grant does not relicense these parts.
-
-## Git upload
-
-Upload this checkout's source and documentation. Do not add ignored environments,
-models, external arrays, build outputs, installers or personal projects. Inspect
-the staged file list before the first push. Host Setup separately and add its real
-download URL to README when available. This source preparation does not create
-a GitHub repository or upload anything.
+## Before publishing source changes
+
+Test `install.cmd`, `RGBMoCap.cmd`, and `update.cmd` in a separate writable
+checkout. Check failure/retry, local edits, model preservation, a short clip
+for each supported model, correction, preview, character export and Blender
+import where applicable. A source or smoke check does not replace hardware and
+full-motion testing. See [Source validation](VALIDATION.md) for the recorded scope.
+
+Inspect staged files and keep environments, models, external arrays, caches,
+installers and personal projects out of Git. The reviewed prebuilt correction
+module and licensed importer resources are explicit exceptions. Preserve
+third-party licenses, corresponding source/build materials and model terms; see
+[Third-party notices](../THIRD_PARTY_NOTICES.md). The Git installation downloads
+Blender and FFmpeg from their pinned upstream locations; no separate Setup EXE
+or download link is required for this path.
Git attributes preserve exact source bytes for the source manifest, hash-pinned
runtime registry and unpacked wheel contents. Avoid automatic line-ending rewrites
diff --git a/docs/USER_GUIDE.md b/docs/USER_GUIDE.md
index 0374f56..4d738f1 100644
--- a/docs/USER_GUIDE.md
+++ b/docs/USER_GUIDE.md
@@ -85,24 +85,45 @@ Blender retains its GPL license and bundled notices; see [Third-party notices](.
not a minimum specification. Other GPUs, drivers and clean Windows installations
have not yet been verified; compatibility reports are welcome.
-1. Install Git for Windows and clone the repository to a writable folder. Avoid
- protected folders such as Program Files.
-2. Run **install.cmd** with an internet connection. It obtains pinned Python
- environments, Blender 4.5.0 and FFmpeg 7.1.1, verifies downloads and installs
- the included prebuilt motion-correction module. AI runtimes remain separate.
-3. Run **RGBMoCap.cmd**. Keep its console open while the GUI runs; launch errors
+1. Install [Git for Windows](https://git-scm.com/download/win). Open **Command
+ Prompt** in a writable folder, then run:
+
+ ```cmd
+ git clone https://github.com/toyxyz/toyxyz_RGBMocap.git
+ cd toyxyz_RGBMocap
+ ```
+
+ Avoid protected folders such as Program Files. The commands below are for
+ Command Prompt; in PowerShell, prefix each `.cmd` filename with `.\`.
+2. Run `install.cmd` with an internet connection. It downloads and verifies
+ pinned Python environments, Blender 4.5.0, FFmpeg 7.1.1 and small upstream
+ support files, and installs the included prebuilt motion-correction module.
+ The AI runtimes remain separate. Downloads and free disk space are needed;
+ the install can take time.
+3. Run `RGBMoCap.cmd`. Keep its console open while the GUI runs; launch errors
and exit codes are displayed there. Use **Help > Check System** if needed.
4. In **Model Manager**, download or import the selected AI model files. Some
models require registration and agreement to their provider's terms and must
be downloaded manually.
-To update, close RGB MoCap and run **update.cmd**. It refuses to overwrite
-tracked local edits, pulls fast-forward changes and verifies the runtimes. A
-full verification can take several minutes. If an update is interrupted or
-installation fails, close the app and rerun **install.cmd**; do not delete
-models or projects to retry. A direct `git pull` updates source only: run
-`install.cmd` when dependencies change. Keep your local changes backed up or
-committed before updating.
+To update, close RGB MoCap and run `update.cmd` in the repository folder. It
+refuses to overwrite tracked local edits, requires the `main` branch, pulls only
+fast-forward changes and checks the runtimes. Back up or commit local changes
+before updating. A direct `git pull` updates source only; close the app first,
+and run `install.cmd` if dependencies change. The launcher will ask for setup if
+it detects an incomplete update or a dependency mismatch.
+
+If a download or installation fails, read the console message, check the internet
+connection and free disk space, and rerun `install.cmd`. A completed download may
+be reused. Do not delete `models`, `projects` or the remaining `.setup` state to
+retry. If Git reports a conflict or local changes, resolve or back them up before
+running `update.cmd` again.
+
+On the tested PC, a separate-folder first install took about 10 min 32 sec with
+previously verified package downloads reused; Blender and FFmpeg were downloaded.
+A subsequent code update and runtime verification took about 1 min 55 sec. These
+are single local tests, not estimates for a download with an empty cache or for
+other PCs; connection speed and storage performance affect the time.
Allow at least **32.4 GiB free** for first-time runtime installation before
models. All supported model files previously measured about 29 GiB; installed
@@ -187,7 +208,7 @@ errors can remain.
## Recorded processing time and VRAM
Historical measurements on the tested PC above (30 fps inputs, October 2026),
-recorded before the current installer was built.
+recorded before the current Git-based installation was tested.
Each duration uses the same input across all three models.
| Video length | Model | Processing time | Peak VRAM (GiB) |
@@ -254,7 +275,7 @@ The app does not need your provider password or access token.
After installing the app in a new location, close both copies of the app and
copy the **entire `models` folder** from the old installation into the new
-installation folder, beside the new **RGBMoCap.exe**:
+installation folder, beside the new **RGBMoCap.cmd**:
```text
Old installation/models/ → New installation/models/
@@ -271,7 +292,7 @@ from the copied folder to validate it again. Copying can change file timestamps,
and newer releases may require a different model version; follow the row's
**Manual Download...** instructions if validation fails.
-Let Setup create the new runtime folders; do not copy the old `runtime*`
+Let `install.cmd` create the new runtime folders; do not copy the old `runtime*`
folders over them. The `models` folder contains model files only. Saved work
is in separate project folders, which can be copied separately and opened
with **File → Open Project**.
diff --git a/docs/VALIDATION.md b/docs/VALIDATION.md
index 479c33b..a5136af 100644
--- a/docs/VALIDATION.md
+++ b/docs/VALIDATION.md
@@ -1,36 +1,43 @@
# Source package validation
-Prepared on Windows on 27 October 2026. Application modules are copied from the
-current app, including character retargeting, FBX rest-pose handling, VMD export
-and the latest viewport/name/checkbox changes. Source preparation does not change
-inference, motion correction or retargeting calculations.
+The Git-based distribution was tested on the Windows PC listed in the
+[user guide](USER_GUIDE.md#install). It has not been tested on a clean Windows
+installation or on other GPUs or drivers.
-Composition checks cover Python syntax, local documentation links, exact
-application-source identity, five separate AI dependency profiles, deterministic
-local wheel reconstruction, auxiliary-data hashes and Git exclusion rules.
-Registered models, user videos, characters, motion, projects, experimental scripts,
-virtual environments, installers and AI instruction documents are excluded.
-The explicitly listed upstream shader libraries/toon ramps remain as licensed
-editable importer resources.
+## Recorded checks
-See [Build from source](BUILD.md) for the build and release validation procedure.
-A fresh GUI EXE and Windows Setup were built using this checkout's source and
-the existing development dependencies. The native correction module was reused
-from the reviewed build; its source matches the current checkout. The complete
-Blender 4.5 character runtime and rebuilt OpenCC wheel were staged separately.
-The GUI startup check and VRM/PMX/OpenCC add-on loading passed. All 18 installer
-engine regression cases passed, covering download recovery, cancellation and
-transactional repair. Application payload hashes and installer sizing were also
-checked. No previous application or installer was used as the build input.
+- A separate local Git checkout installed all six pinned runtime profiles using
+ `install.cmd`. Blender and FFmpeg were downloaded and hash checked; previously
+ verified package downloads were reused. Installation took approximately 10 min
+ 32 sec on the tested PC. CMD launch and launch-error reporting were checked.
+- ExMR, FlowHMR and GVHMR each processed a one-second video, including inference,
+ correction, rig generation and FBX export. Thirteen worker fingerprint inputs
+ were checked. This does not establish long-video performance on other systems.
+- The included correction module and a contributor rebuild produced identical
+ root positions and local rotation values on the tested clips: 30 frames for
+ each model and 210 additional frames for ExMR and FlowHMR, with automatic,
+ manual and disabled foot contact. Other motions and platforms were not covered.
+- One Mixamo FBX, one VRM and one PMX character were imported and retargeted.
+ Mesh-inclusive and animation-only FBX files were reimported into Blender; bone
+ animation and mesh options were present without armature-object transform keys.
+ A PMX VMD was reimported with Blender MMD Tools. Visual equivalence in the
+ standalone MMD application was not established by that check.
+- A local Git update retained test model and project data and relaunched the GUI;
+ runtime verification took approximately 1 min 55 sec. Twenty automated tests
+ covered simulated download errors, unsafe archive paths, update guards and
+ interrupted replacement. Actual power loss and disk exhaustion were not tested.
+- The public source snapshot was checked for forbidden generated/model payloads,
+ and its manifest hashes matched. Pattern checks found no typical private-path or
+ credential formats in scanned text; such scans cannot prove absence of secrets.
-A build check is not a fresh-PC installation or a new inference/retargeting test
-for every model and character. Hardware compatibility remains limited to the
-configurations actually tested in the [user guide](USER_GUIDE.md).
+These checks describe the recorded examples, not a guarantee for every video,
+character or computer. Model weights and registered body data remain separate and
+subject to their providers' terms. Review the applicable third-party notices and
+corresponding source/build requirements before redistributing binaries.
-## Version 1.0.1 packaging fix
+## Historical packaging issue
-Version 1.0.0 omitted historical requirements files used by worker cache
-fingerprints. This could stop reconstruction after Find People with a
-`requirements-windows.txt` FileNotFoundError. Version 1.0.1 includes those
-unchanged files and rejects incomplete source/staged applications before
-building Setup. Model calculations and managed dependency pins are unchanged.
+The earlier v1.0.0 standalone installer omitted historical requirements files
+used by worker fingerprints. The current source checkout includes those files;
+13 fingerprint inputs were checked in the separate-install test. The current Git
+installation uses `install.cmd`, not the old standalone installer.