diff --git a/CHANGELOG-PRERELEASE.md b/CHANGELOG-PRERELEASE.md index fdc5181cb..dae761812 100644 --- a/CHANGELOG-PRERELEASE.md +++ b/CHANGELOG-PRERELEASE.md @@ -8,6 +8,8 @@ The format is based on [Keep a Changelog]. ## [Unreleased] ### Added +- More MMD BlendShapes are registered `#552` + - New English Translation BlendShapes are compatible with AAO! ### Changed - You now cannot key any of AvatarOptimizer Components `#551` diff --git a/CHANGELOG.md b/CHANGELOG.md index 616a1bece..5a0348527 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ The format is based on [Keep a Changelog]. ## [Unreleased] ### Added - Feature for debugging GC Objects `#543` +- More MMD BlendShapes are registered `#552` + - New English Translation BlendShapes are compatible with AAO! ### Changed - You now cannot key any of AvatarOptimizer Components `#551` diff --git a/Editor/Processors/TraceAndOptimize/AnimatorParser.cs b/Editor/Processors/TraceAndOptimize/AnimatorParser.cs index affc88b75..75804cd88 100644 --- a/Editor/Processors/TraceAndOptimize/AnimatorParser.cs +++ b/Editor/Processors/TraceAndOptimize/AnimatorParser.cs @@ -694,135 +694,101 @@ private IEnumerable CollectStates(AnimatorStateMachine stateMachi [VRCAvatarDescriptor.AnimLayerType.IKPose] = "a9b90a833b3486e4b82834c9d1f7c4ee" }; - private static readonly string[] MmdBlendShapeNames = { - // https://booth.pm/ja/items/3341221 - // https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/i/0b7b5e4b-c62e-41f7-8ced-1f3e58c4f5bf/d5nbmvp-5779f5ac-d476-426c-8ee6-2111eff8e76c.png - "まばたき", - "笑い", - "ウィンク", - "ウィンク右", - "ウィンク2", - "ウィンク2右", - "なごみ", - "はぅ", - "びっくり", - "じと目", - "キリッ", - "はちゅ目", - - "星目", - "はぁと", - "瞳小", - "瞳縦潰れ", - "光下", - "恐ろしい子!", - "ハイライト消", - "映り込み消", - "喜び", - "わぉ!?", - "なごみω", - "悲しむ", - "敵意", - - "あ", - "い", - "う", - "え", - "お", - "あ2", - "ん", - "▲", - "∧", - "□", - "ワ", - "ω", - - "ω□", - "にやり", - "にやり2", - "にっこり", - "ぺろっ", - "てへぺろ", - "てへぺろ2", - "口角上げ", - "口角下げ", - "口横広げ", - "歯無し上", - "歯無し下", - - "真面目", - "困る", - "にこり", - "怒り", - "下", - "上", - - // english - "Blink", - "Smile", - "Wink", - "Wink-a", - "Wink-b", - "Wink-c", - "Howawa", - "> <", - "Ha!!!", - "Jito-eye", - "Kiri-eye", - "O O", - - "EyeStar", - "EyeHeart", - "EyeSmall", - "EyeSmall-v", - "EyeUnderli", - "EyeFunky", - "EyHi-Off", - "EyeRef-off", - "Joy", - "Wao!?", - "Howawa ω", - "Wail", - "Hostility", - - "a", - "i", - "u", - "e", - "o", - "a 2", - "n", - "Mouse_1", - "Mouse_2", - //"□", - "Wa", - "Omega", - - // "ω□", - "Niyari", - "Niyari2", - "Smile", - "Pero", - "Bero-tehe", - "Bero-tehe2", - "MouseUP", - "MouseDW", - "MouseWD", - "ToothAnon", - "ToothBnon", - - "Serious", - "Trouble", - "Smily", - "Get angry", - "Up", - "Down", + private static readonly string[] MmdBlendShapeNames = new [] { + // New EN by Yi MMD World + // https://docs.google.com/spreadsheets/d/1mfE8s48pUfjP_rBIPN90_nNkAIBUNcqwIxAdVzPBJ-Q/edit?usp=sharing + // Old EN by Xoriu + // https://booth.pm/ja/items/3341221 + // https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/i/0b7b5e4b-c62e-41f7-8ced-1f3e58c4f5bf/d5nbmvp-5779f5ac-d476-426c-8ee6-2111eff8e76c.png + // Old EN, New EN, JA, + + // ===== Mouth ===== + "a", "Ah", "あ", + "i", "Ch", "い", + "u", "U", "う", + "e", "E", "え", + "o", "Oh", "お", + "Niyari", "Grin", "にやり", + "Mouse_2", "∧", "∧", + "Wa", "Wa", "ワ", + "Omega", "ω", "ω", + "Mouse_1", "▲", "▲", + "MouseUP", "Mouth Horn Raise", "口角上げ", + "MouseDW", "Mouth Horn Lower", "口角下げ", + "MouseWD", "Mouth Side Widen", "口横広げ", + "n", null, "ん", + "Niyari2", null, "にやり2", + // by Xoriu only + "a 2", null, "あ2", + "□", null, "□", + "ω□", null, "ω□", + "Smile", null, "にっこり", + "Pero", null, "ぺろっ", + "Bero-tehe", null, "てへぺろ", + "Bero-tehe2", null, "てへぺろ2", + + // ===== Eyes ===== + "Blink", "Blink", "まばたき", + "Smile", "Blink Happy", "笑い", + "> <", "Close><", "はぅ", + "EyeSmall", "Pupil", "瞳小", + "Wink-c", "Wink 2 Right", "ウィンク2右", + "Wink-b", "Wink 2", "ウィンク2", + "Wink", "Wink", "ウィンク", + "Wink-a", "Wink Right", "ウィンク右", + "Howawa", "Calm", "なごみ", + "Jito-eye", "Stare", "じと目", + "Ha!!!", "Surprised", "びっくり", + "Kiri-eye", "Slant", "キリッ", + "EyeHeart", "Heart", "はぁと", + "EyeStar", "Star Eye", "星目", + "EyeFunky", null, "恐ろしい子!", + // by Xoriu only + "O O", null, "はちゅ目", + "EyeSmall-v", null, "瞳縦潰れ", + "EyeUnderli", null, "光下", + "EyHi-Off", null, "ハイライト消", + "EyeRef-off", null, "映り込み消", + + // ===== Eyebrow ===== + "Smily", "Cheerful", "にこり", + "Up", "Upper", "上", + "Down", "Lower", "下", + "Serious", "Serious", "真面目", + "Trouble", "Sadness", "困る", + "Get angry", "Anger", "怒り", + null, "Front", "前", + + // ===== Eyes + Eyebrow Feeling ===== + // by Xoriu only + "Joy", null, "喜び", + "Wao!?", null, "わぉ!?", + "Howawa ω", null, "なごみω", + "Wail", null, "悲しむ", + "Hostility", null, "敵意", + + // ===== Other ====== + null, "Blush", "照れ", + "ToothAnon", null, "歯無し下", + "ToothBnon", null, "歯無し上", + null, null, "涙", + + // others // https://gist.github.com/lilxyzw/80608d9b16bf3458c61dec6b090805c5 "しいたけ", - "照れ", - "涙", - }; + + // https://site.nicovideo.jp/ch/userblomaga_thanks/archive/ar1471249 + "なぬ!", + "はんっ!", + "えー", + "睨み", + "睨む", + "白目", + "瞳大", + "頬染め", + "青ざめ", + }.Where(x => x != null).Distinct().ToArray(); #endregion }