From 972034dbb7839cbb8cac2a5b5e06680362042fd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?100=E3=81=AE=E4=BA=BA?= <100@pokemori.jp> Date: Sat, 13 Oct 2018 23:23:06 +0900 Subject: [PATCH] =?UTF-8?q?config.yaml=E7=94=9F=E6=88=90=E3=81=A4=E3=81=84?= =?UTF-8?q?=E3=81=A6=E3=80=81=E3=80=8C=E5=88=A9=E7=94=A8=E3=81=99=E3=82=8B?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E3=83=A2=E3=83=87=E3=83=AB=E3=81=AE=E3=83=8B?= =?UTF-8?q?=E3=82=B3=E3=83=8B=E7=AB=8B=E4=BD=93=E7=95=AA=E5=8F=B7=E3=80=8D?= =?UTF-8?q?=E3=80=8C=E3=82=B9=E3=82=BF=E3=82=B8=E3=82=AA=E5=86=85=E3=81=AB?= =?UTF-8?q?=E6=8C=81=E3=81=A1=E8=BE=BC=E3=82=80=E7=94=BB=E5=83=8F=E3=80=8D?= =?UTF-8?q?=E3=81=AE=E8=A8=AD=E5=AE=9A=E3=81=AB=E3=82=82=E3=82=B3=E3=83=A1?= =?UTF-8?q?=E3=83=B3=E3=83=88=E3=82=92=E5=85=A5=E3=82=8C=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 4 ++-- ...343\203\210\343\202\222\350\265\267\345\213\225.js.cmd" | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 14dcea9..7a005b8 100644 --- a/readme.md +++ b/readme.md @@ -9,8 +9,8 @@ VirtualCast/config.yaml `VirtualCast.exe` があるフォルダに次のような `config.yaml` を置いておくと、 ```yaml -niconico: - character_models: # 利用するVRMモデルのニコニ立体番号 +niconico: # 利用するモデルのニコニ立体番号 + character_models: # アバター (VRM) - 32797 # ニコニ立体ちゃん (VRM) - 32947 # 【VRM】まついしゃちょー - 36346 # 【VRM】おの副社長 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 0cfadec..78bb1ff 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" @@ -288,13 +288,18 @@ if (inputFile) { var timeoutOccured = false; var yamlString = jsyaml.safeDump(configJSON, {indent: 4, lineWidth: -1}) - .replace(/^niconico:\n {4}character_models:$/m, '$& # pVRMf̃jRj̔ԍ') + .replace(/^niconico:$/m, '$& # p郂f̃jRj̔ԍ') + .replace(/^ {4}character_models:$/m, '$& # Ao^[ (VRM)') + .replace(/^ {4}background_models:$/m, '$& # wi (glTF)') .replace(/^panorama:\n {4}urls:$/m, '$& # wiŎgpm}摜URL') .replace(/^whiteboard:\n {4}urls:$/m, '$& # zCg{[hŎgp摜URL') .replace(/^cue_card:\n {4}urls:$/m, '$& # JyŎgp摜URL') .replace(/^mode: /m, '# N[h\n$&') .replace(/^allow_direct_view: /m, '# _CNgr[[hœʂ󂯓邩ǂ\n$&') .replace(/^hide_camera_from_viewers: /m, '# J̃IuWFNg҂Bǂ\n$&') + .replace(/^persistent_object:$/m, '$& # X^WIɎމ摜URL') + .replace(/^ {4}image_urls:$/m, '$& # ҂Ɍ') + .replace(/^ {4}hidden_image_urls:$/m, '$& # ҂ɌȂ') .replace(/^ {8}- ([0-9]+)$/gm, function (match, number) { var url = 'https://3d.nicovideo.jp/works/td' + number; var comment = '<' + url + '>';