Native Windows video motion capture with ExMR, FlowHMR and GVHMR, contact correction, humanoid retargeting, and FBX/VMD export.
Python
Fix public source audit and clarify setup documentation
toyxyz8fc2f6688432
diff --git a/SOURCE_MANIFEST.json b/SOURCE_MANIFEST.jsonindex 16f0e82..70d944e 100644--- a/SOURCE_MANIFEST.json+++ b/SOURCE_MANIFEST.json@@ -91,18 +91,18 @@},{"path": "docs/BUILD.md",- "bytes": 8009,- "sha256": "8d21664e704cb718dcfccd81db2d4340cb4cb6f1d0f756752786f2670ba8be89"+ "bytes": 8021,+ "sha256": "43d8d7f477a2f9eeb76f8a3c9f5bbfb54ce22e95b903bad568566bd6bd980944"},{"path": "docs/USER_GUIDE.md",- "bytes": 27077,- "sha256": "c87c33176e1214cbd44487ee774d6b4d0abb900d5383723c6e0b9926c450485a"+ "bytes": 27164,+ "sha256": "dd9c07ae0cfddd10f1ab157376220bdf5218ba2b124ecfeb2ceb2ff4a058ca9d"},{"path": "docs/VALIDATION.md",- "bytes": 2380,- "sha256": "6a0220b903dd66142574fdca0c9c0175db40307a780f8da00ef1a58c5ea3a876"+ "bytes": 3817,+ "sha256": "689d72e826477b6306300a1a7a1ae2fc61b1817240479657e3fb19c68b787369"},{"path": "docs/images/rgbmocap-workspace.png",@@ -886,8 +886,8 @@},{"path": "installer/source-resources.json",- "bytes": 3526,- "sha256": "0d5cac0fdac39e58cd68009a8c28d43ba911e223f1f41ebba4d3484824c51bf7"+ "bytes": 3925,+ "sha256": "35143421169b9e6e4c4e7955376038313577be417d45477bb965af8bacc33cfb"},{"path": "installer/verify_runtime.py",@@ -12216,8 +12216,8 @@},{"path": "tools/check_source.py",- "bytes": 3157,- "sha256": "2e5fe97de4e5ee5d3d2f2d0b98e244dfb0105b1fedff4d906167f9b81f0d2741"+ "bytes": 3587,+ "sha256": "a668a3f17e2900e33513ad3e7face34083bd75884aee19797e9d3d1b2cfecd1a"},{"path": "tools/download_models.py",diff --git a/docs/BUILD.md b/docs/BUILD.mdindex 8703239..495cbdd 100644--- a/docs/BUILD.md+++ b/docs/BUILD.md@@ -117,7 +117,7 @@ OpenCC dictionaries and editable shader libraries. The five small `.blend` shadelibraries and ten standard toon ramps are explicitly listed and hash checked in`installer/source-resources.json`; they are not sample characters or motion files.OpenCC's pure-Python wheel is retained as unpacked source under-`installer/runtime_sources/` and reconstructed only in release staging. The add-ons+`installer/runtime_sources/` and rebuilt in temporary staging during runtime setup. The add-onsare loaded by the worker; do not install these source folders through Blender'sextension installer.diff --git a/docs/USER_GUIDE.md b/docs/USER_GUIDE.mdindex 2d0a4bf..e367853 100644--- a/docs/USER_GUIDE.md+++ b/docs/USER_GUIDE.md@@ -61,10 +61,10 @@ use a simplified color preview.### Included Blender runtime-Character-enabled packages include a separate **Blender 4.5 LTS** runtime in+`install.cmd` installs a separate **Blender 4.5 LTS** runtime in`runtime_character`. It runs in the background to import characters, evaluate rigconstraints, bake bone animation and export character FBX/VMD files. You do not-need to install or open Blender separately when using these packages. Keep this+need to install or open Blender separately after running `install.cmd`. Keep thisfolder with the app.RGB MoCap performs the retargeting/contact calculations and viewport playback.@@ -127,7 +127,9 @@ are single local tests, not estimates for a download with an empty cache or forother 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. Download+models; this includes temporary installation space. The installed app, runtimes+and all supported models total roughly **42 GiB (45 GB)**, including about+29 GiB of model files. Downloadcaches, videos, projects, characters and exports require additional space, andactual sizes can vary. No clean-Windows or other-GPU test is claimed.@@ -155,7 +157,7 @@ metadata can still reference them. Export or back up needed work, then remove anunwanted project as a whole. Exported FBX/VMD files in other folders must bemanaged separately.-Keep `models`, `runtime*`, `_internal`, `mocap`, `third_party`, bundled assets and+Keep `models`, `runtime*`, `mocap`, `third_party`, bundled assets andthe remaining `.setup` repair files. Deleting these can remove required modelfiles or break the app. Downloaded model archives stored elsewhere can be removed after a successful installation/import if you do notneed an offline copy; keep a backup of manually acquired restricted models.diff --git a/docs/VALIDATION.md b/docs/VALIDATION.mdindex 074e6de..80457ab 100644--- a/docs/VALIDATION.md+++ b/docs/VALIDATION.md@@ -30,6 +30,30 @@ installation or on other GPUs or drivers.and its manifest hashes matched. Pattern checks found no typical private-path orcredential formats in scanned text; such scans cannot prove absence of secrets.+## Latest published-source audit (2026-10-27)++The audit started from Git commit `1daf49c` and used the existing installed+runtimes and legitimately acquired local model files. All test scripts and+outputs were kept outside the public checkout.++- 150 targeted regression checks passed for project saving, model selection,+ character handling, export options, runtime guards and update transactions.+- Each of the three AI models processed 30 new frames through correction and FBX+ export. Blender imported all three 52-bone source rigs with `Hips` as root;+ sampled integer and fractional animation frames contained finite transforms.+- Mixamo FBX, VRM and PMX imports, retargeting and six character FBX exports+ passed. Reimported FBX rest-joint positions matched the imported character's+ original rest pose within 0.1 mm; no armature-object transform keys were found.+ The PMX VMD also loaded with Blender MMD Tools.+- The source checker was corrected to accept the approved README samples and+ root agent guide, ignore untracked local model data, and still reject model+ files accidentally tracked by Git. Archive and Git-checkout cases were tested.+- Local documentation links resolved. The source manifest was refreshed after+ the small documentation and checker fixes.++This audit did not repeat fresh installation, long-clip performance testing,+interactive playback, standalone MMD playback or testing on other GPUs.+These checks describe the recorded examples, not a guarantee for every video,character or computer. Model weights and registered body data remain separate andsubject to their providers' terms. Review the applicable third-party notices anddiff --git a/installer/source-resources.json b/installer/source-resources.jsonindex 93b2708..dc61a1d 100644--- a/installer/source-resources.json+++ b/installer/source-resources.json@@ -1,6 +1,6 @@{"schema": 1,- "purpose": "Hash-verified editable importer assets and prebuilt correction module; no user assets",+ "purpose": "Hash-verified importer assets, prebuilt correction module and approved README samples; no model weights or private project data","files": [{"path": "third_party/character_import/io_scene_vrm/common/mtoon0.blend",@@ -81,6 +81,16 @@"path": "prebuilt/motion-correction/_motion_correction.cp310-win_amd64.pyd","bytes": 413696,"sha256": "46fea913e302fafa2281842e8b081ba34cfcbc572e2d2f36ac107bc89ed22638"+ },+ {+ "path": "docs/samples/motion-capture.mp4",+ "bytes": 13808824,+ "sha256": "6cb138f4586ebed6620a60761d6646d658b2d496a7a166dbe5a07634b34d86a0"+ },+ {+ "path": "docs/samples/character-retargeting.mp4",+ "bytes": 12408995,+ "sha256": "8fce14c6f9042d1bd9799be2b44de3867916257c232ce8e39196b42b406f5c85"}]}diff --git a/tools/check_source.py b/tools/check_source.pyindex 2aa143e..31d00cb 100644--- a/tools/check_source.py+++ b/tools/check_source.py@@ -1,6 +1,6 @@"""Check source checkout composition without installing or running AI models."""from pathlib import Path-import ast,hashlib,json,os,re,sys+import ast,hashlib,json,os,re,subprocess,sysfrom runtime_support import cache_dependency_filesROOT=Path(__file__).resolve().parents[1]@@ -14,14 +14,21 @@ def main():resources={r['path']:r for r in json.loads((ROOT/'installer/source-resources.json').read_text())['files']}auxiliary={r['path']:r for r in json.loads((ROOT/'installer/external-assets.json').read_text())['files']}def files():+ # Audit the publishable checkout, not ignored local runtime/model data.+ # Source ZIPs have no Git metadata and are scanned in full below.+ if (ROOT/'.git').exists():+ result=subprocess.run(['git','ls-files','-z'],cwd=ROOT,check=True,capture_output=True)+ for name in result.stdout.decode('utf-8').split('\0'):+ if name:yield ROOT/name+ returnfor folder,dirs,names in os.walk(ROOT):relative=Path(folder).relative_to(ROOT)dirs[:]=[d for d in dirs if d not in {'.git','__pycache__'} and not (relative==Path('.') and d in SKIP) and (relative/d).as_posix() not in {'tools/bin','third_party/KimodoMotionCorrection/bin'}]for name in names:yield Path(folder)/namefor p in files():- if not p.is_file():continue+ if not p.is_file():+ errors.append('Missing source file: '+str(p.relative_to(ROOT)));continuer=p.relative_to(ROOT);count+=1- if r.as_posix().startswith(('tools/bin/','third_party/KimodoMotionCorrection/bin/')):continueif r.as_posix() in auxiliary:expected=auxiliary[r.as_posix()]if expected['bytes']!=p.stat().st_size or expected['sha256']!=hashlib.sha256(p.read_bytes()).hexdigest():errors.append('Changed auxiliary data: '+str(r))@@ -30,7 +37,7 @@ def main():resource=resources.get(r.as_posix())if not resource or resource['sha256']!=hashlib.sha256(p.read_bytes()).hexdigest() or resource['bytes']!=p.stat().st_size:errors.append('Generated or model payload: '+str(r))- if p.name.lower() in {'agents.md','claude.md','codex.md','gemini.md'}:errors.append('AI instruction file: '+str(r))+ if p.name.lower() in {'agents.md','claude.md','codex.md','gemini.md'} and r.as_posix()!='AGENTS.md':errors.append('AI instruction file: '+str(r))if p.suffix=='.py':try:ast.parse(p.read_text(encoding='utf-8-sig'),filename=str(r))except (SyntaxError,UnicodeError) as exc:errors.append(str(exc))