From fcf6ee3dae17fdf9d92ecad4d13e83ae0694a242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?100=E3=81=AE=E4=BA=BA?= <100@pokemori.jp> Date: Wed, 2 Feb 2022 11:57:05 +0900 Subject: [PATCH] =?UTF-8?q?VIVE=E3=82=A2=E3=82=A4=E3=83=88=E3=83=A9?= =?UTF-8?q?=E3=83=BB=E5=8F=A3=E3=83=88=E3=83=A9=E3=82=92=E7=84=A1=E5=8A=B9?= =?UTF-8?q?=E3=81=AB=E3=81=99=E3=82=8B=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89?= =?UTF-8?q?=E3=83=A9=E3=82=A4=E3=83=B3=E5=BC=95=E6=95=B0=E3=80=8C--esperec?= =?UTF-8?q?yan-disable-eye-lip-tracking=E3=80=8D=E3=82=92=E5=AE=9F?= =?UTF-8?q?=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit VirtualCast 2.1.5e (2022-01-20) 現在、VIVE Pro Eye以外を接続している場合、VIVEのアイトラッキングを有効にしていると、VirtualCastがフリーズし、OSの再起動が必要になる不具合があるため。 https://virtualcast.jp/blog/2022/01/0126_shinchoku/ --- readme.md | 12 ++++++++++++ ...\343\202\222\350\265\267\345\213\225.js.cmd" | 17 ++++++++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index ce1c7d5..ba4111c 100644 --- a/readme.md +++ b/readme.md @@ -76,6 +76,18 @@ allow_direct_view: true 起動オプション -------------- +### `--esperecyan-disable-eye-lip-tracking` +VIVEのアイトラッキング、リップトラッキングを無効化します。 + +JSONへの変換時に次のプロパティを削除します。 +- `enable_vivesranipal_eye` +- `enable_vivesranipal_blink` +- `enable_vivesranipal_eye_with_emotion` +- `enable_vivesranipal_lip` + +VirtualCast 2.1.5e (2022-01-20) 現在、VIVE Pro Eye以外を接続している場合、VIVEのアイトラッキングを有効にしていると、VirtualCastがフリーズし、OSの再起動が必要になる不具合があります。 +https://virtualcast.jp/blog/2022/01/0126_shinchoku/ + ### `--esperecyan-document-index=[数字]` (0から始まる整数) 一つのファイル内に複数のYAMLドキュメントが埋め込まれていた場合、読み込むドキュメントを切り替えます。 diff --git "a/\343\203\220\343\203\274\343\203\201\343\203\243\343\203\253\343\202\255\343\203\243\343\202\271\343\203\210\343\202\222\350\265\267\345\213\225.js.cmd" "b/\343\203\220\343\203\274\343\203\201\343\203\243\343\203\253\343\202\255\343\203\243\343\202\271\343\203\210\343\202\222\350\265\267\345\213\225.js.cmd" index 389e476..e7f86e9 100644 --- "a/\343\203\220\343\203\274\343\203\201\343\203\243\343\203\253\343\202\255\343\203\243\343\202\271\343\203\210\343\202\222\350\265\267\345\213\225.js.cmd" +++ "b/\343\203\220\343\203\274\343\203\201\343\203\243\343\203\253\343\202\255\343\203\243\343\202\271\343\203\210\343\202\222\350\265\267\345\213\225.js.cmd" @@ -97,16 +97,20 @@ function putFileContents(path, contents) /** * w肳ꂽR}hC̒l擾܂B * @param {string} name - * @returns {string} + * @returns {?(string|true)} */ function getArgument(name) { for (var i = 0, l = WSH.Arguments.length; i < l; i++) { - if (WSH.Arguments(i).startsWith(name + '=')) { + var argument = WSH.Arguments(i); + if (argument === name) { + return true; + } + if (argument.startsWith(name + '=')) { return WSH.Arguments(i).replace(name + '=', ''); } } - return ''; + return null; } /** @@ -226,6 +230,13 @@ for (var profileName in profileNameFilesPairs) { config = configs[index]; } + if (getArgument('--esperecyan-disable-eye-lip-tracking')) { + delete config.enable_vivesranipal_eye; + delete config.enable_vivesranipal_blink; + delete config.enable_vivesranipal_eye_with_emotion; + delete config.enable_vivesranipal_lip; + } + if (!isValidConfig(config, files.input.Name)) { return; }