dsh-plugin-live2d-stage 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +86 -0
  2. package/assets/core.js +9 -0
  3. package/assets/floating.html +1 -0
  4. package/assets/floating.js +285 -0
  5. package/assets/icon.webp +0 -0
  6. package/assets/shaders/fragshadersrcalphablend.frag +54 -0
  7. package/assets/shaders/fragshadersrccolorblend.frag +298 -0
  8. package/assets/shaders/fragshadersrccopy.frag +18 -0
  9. package/assets/shaders/fragshadersrcmaskinvertedpremultipliedalpha.frag +29 -0
  10. package/assets/shaders/fragshadersrcmaskpremultipliedalpha.frag +29 -0
  11. package/assets/shaders/fragshadersrcpremultipliedalpha.frag +23 -0
  12. package/assets/shaders/fragshadersrcpremultipliedalphablend.frag +67 -0
  13. package/assets/shaders/fragshadersrcsetupmask.frag +25 -0
  14. package/assets/shaders/vertshadersrc.vert +19 -0
  15. package/assets/shaders/vertshadersrcblend.vert +31 -0
  16. package/assets/shaders/vertshadersrccopy.vert +17 -0
  17. package/assets/shaders/vertshadersrcmasked.vert +22 -0
  18. package/assets/shaders/vertshadersrcsetupmask.vert +21 -0
  19. package/character/hiyori/hiyori_free_t08.2048/texture_00.png +0 -0
  20. package/character/hiyori/hiyori_free_t08.cdi3.json +276 -0
  21. package/character/hiyori/hiyori_free_t08.moc3 +0 -0
  22. package/character/hiyori/hiyori_free_t08.model3.json +72 -0
  23. package/character/hiyori/hiyori_free_t08.physics3.json +631 -0
  24. package/character/hiyori/motion/hiyori_m01.motion3.json +951 -0
  25. package/character/hiyori/motion/hiyori_m02.motion3.json +1238 -0
  26. package/character/hiyori/motion/hiyori_m03.motion3.json +1035 -0
  27. package/character/hiyori/motion/hiyori_m04.motion3.json +776 -0
  28. package/character/hiyori/motion/hiyori_m05.motion3.json +1462 -0
  29. package/character/hiyori/motion/hiyori_m06.motion3.json +727 -0
  30. package/character/hiyori/motion/hiyori_m07.motion3.json +874 -0
  31. package/character/hiyori/motion/hiyori_m08.motion3.json +755 -0
  32. package/cordis.patch.yml +3 -0
  33. package/lib/chat.mjs +9 -0
  34. package/lib/client.js +20810 -0
  35. package/lib/floating.mjs +25 -0
  36. package/lib/index.mjs +85 -0
  37. package/lib/native/Live2DFloating.exe +0 -0
  38. package/lib/native/Microsoft.Web.WebView2.Core.dll +0 -0
  39. package/lib/native/Microsoft.Web.WebView2.Wpf.dll +0 -0
  40. package/lib/native/WebView2-LICENSE.txt +27 -0
  41. package/lib/native/WebView2-NOTICE.txt +85 -0
  42. package/lib/native/WebView2Loader.dll +0 -0
  43. package/lib/store.cjs +11064 -0
  44. package/licenses/Cubism-Core.md +7 -0
  45. package/licenses/Cubism-Framework.md +45 -0
  46. package/licenses/Cubism-NOTICE.md +38 -0
  47. package/licenses/Cubism-Samples.md +67 -0
  48. package/licenses/bluebird.txt +21 -0
  49. package/licenses/core-util-is.txt +19 -0
  50. package/licenses/duplexer2.txt +26 -0
  51. package/licenses/fs-extra.txt +15 -0
  52. package/licenses/graceful-fs.txt +15 -0
  53. package/licenses/inherits.txt +16 -0
  54. package/licenses/jsonfile.txt +15 -0
  55. package/licenses/lucide.txt +43 -0
  56. package/licenses/node-int64.txt +19 -0
  57. package/licenses/process-nextick-args.txt +19 -0
  58. package/licenses/react-dom.txt +21 -0
  59. package/licenses/react.txt +21 -0
  60. package/licenses/readable-stream.txt +47 -0
  61. package/licenses/safe-buffer.txt +21 -0
  62. package/licenses/scheduler.txt +21 -0
  63. package/licenses/string_decoder.txt +48 -0
  64. package/licenses/universalify.txt +20 -0
  65. package/licenses/unzipper.txt +25 -0
  66. package/licenses/util-deprecate.txt +24 -0
  67. package/locale/en.json +6 -0
  68. package/locale/zh-CN.json +6 -0
  69. package/package.json +77 -0
@@ -0,0 +1,276 @@
1
+ {
2
+ "Version": 3,
3
+ "Parameters": [
4
+ {
5
+ "Id": "ParamAngleX",
6
+ "GroupId": "ParamGroupFace",
7
+ "Name": "角度 X"
8
+ },
9
+ {
10
+ "Id": "ParamAngleY",
11
+ "GroupId": "ParamGroupFace",
12
+ "Name": "角度 Y"
13
+ },
14
+ {
15
+ "Id": "ParamAngleZ",
16
+ "GroupId": "ParamGroupFace",
17
+ "Name": "角度 Z"
18
+ },
19
+ {
20
+ "Id": "ParamCheek",
21
+ "GroupId": "ParamGroupFace",
22
+ "Name": "脸颊泛红"
23
+ },
24
+ {
25
+ "Id": "ParamEyeLOpen",
26
+ "GroupId": "ParamGroupEyes",
27
+ "Name": "左眼 开闭"
28
+ },
29
+ {
30
+ "Id": "ParamEyeLSmile",
31
+ "GroupId": "ParamGroupEyes",
32
+ "Name": "左眼 微笑"
33
+ },
34
+ {
35
+ "Id": "ParamEyeROpen",
36
+ "GroupId": "ParamGroupEyes",
37
+ "Name": "右眼 开闭"
38
+ },
39
+ {
40
+ "Id": "ParamEyeRSmile",
41
+ "GroupId": "ParamGroupEyes",
42
+ "Name": "右眼 微笑"
43
+ },
44
+ {
45
+ "Id": "ParamEyeBallX",
46
+ "GroupId": "ParamGroupEyeballs",
47
+ "Name": "眼珠 X"
48
+ },
49
+ {
50
+ "Id": "ParamEyeBallY",
51
+ "GroupId": "ParamGroupEyeballs",
52
+ "Name": "眼珠 Y"
53
+ },
54
+ {
55
+ "Id": "ParamBrowLForm",
56
+ "GroupId": "ParamGroupBrows",
57
+ "Name": "左眉 变形"
58
+ },
59
+ {
60
+ "Id": "ParamBrowRForm",
61
+ "GroupId": "ParamGroupBrows",
62
+ "Name": "右眉 变形"
63
+ },
64
+ {
65
+ "Id": "ParamMouthForm",
66
+ "GroupId": "ParamGroupMouth",
67
+ "Name": "嘴 变形"
68
+ },
69
+ {
70
+ "Id": "ParamMouthOpenY",
71
+ "GroupId": "ParamGroupMouth",
72
+ "Name": "嘴 开闭"
73
+ },
74
+ {
75
+ "Id": "ParamBodyAngleX",
76
+ "GroupId": "ParamGroupBody",
77
+ "Name": "身体的旋转 X"
78
+ },
79
+ {
80
+ "Id": "ParamBodyAngleY",
81
+ "GroupId": "ParamGroupBody",
82
+ "Name": "身体的旋转 Y"
83
+ },
84
+ {
85
+ "Id": "ParamBodyAngleZ",
86
+ "GroupId": "ParamGroupBody",
87
+ "Name": "身体的旋转 Z"
88
+ },
89
+ {
90
+ "Id": "ParamBreath",
91
+ "GroupId": "ParamGroupBody",
92
+ "Name": "呼吸"
93
+ },
94
+ {
95
+ "Id": "ParamArmLA",
96
+ "GroupId": "ParamGroupArms",
97
+ "Name": "左臂 A"
98
+ },
99
+ {
100
+ "Id": "ParamArmRA",
101
+ "GroupId": "ParamGroupArms",
102
+ "Name": "右臂 A"
103
+ },
104
+ {
105
+ "Id": "ParamBustY",
106
+ "GroupId": "ParamGroupSway",
107
+ "Name": "胸部 摇动"
108
+ },
109
+ {
110
+ "Id": "ParamHairAhoge",
111
+ "GroupId": "ParamGroupSway",
112
+ "Name": "头发摇动 呆毛"
113
+ },
114
+ {
115
+ "Id": "ParamHairFront",
116
+ "GroupId": "ParamGroupSway",
117
+ "Name": "头发摇动 前"
118
+ },
119
+ {
120
+ "Id": "ParamHairSide",
121
+ "GroupId": "ParamGroupSway",
122
+ "Name": "头发摇动 侧"
123
+ },
124
+ {
125
+ "Id": "ParamHairBack",
126
+ "GroupId": "ParamGroupSway",
127
+ "Name": "头发摇动 后"
128
+ },
129
+ {
130
+ "Id": "ParamHairSideUp",
131
+ "GroupId": "ParamGroupSway",
132
+ "Name": "辫子的摇动"
133
+ },
134
+ {
135
+ "Id": "ParamRibbon",
136
+ "GroupId": "ParamGroupSway",
137
+ "Name": "蝴蝶结的摇动"
138
+ },
139
+ {
140
+ "Id": "ParamSkirt",
141
+ "GroupId": "ParamGroupSway",
142
+ "Name": "短裙的摇动"
143
+ },
144
+ {
145
+ "Id": "ParamSideUpRibbon",
146
+ "GroupId": "ParamGroupSway",
147
+ "Name": "发饰的摇动"
148
+ }
149
+ ],
150
+ "ParameterGroups": [
151
+ {
152
+ "Id": "ParamGroupFace",
153
+ "GroupId": "",
154
+ "Name": "脸"
155
+ },
156
+ {
157
+ "Id": "ParamGroupEyes",
158
+ "GroupId": "",
159
+ "Name": "眼睛"
160
+ },
161
+ {
162
+ "Id": "ParamGroupEyeballs",
163
+ "GroupId": "",
164
+ "Name": "眼珠"
165
+ },
166
+ {
167
+ "Id": "ParamGroupBrows",
168
+ "GroupId": "",
169
+ "Name": "眉毛"
170
+ },
171
+ {
172
+ "Id": "ParamGroupMouth",
173
+ "GroupId": "",
174
+ "Name": "嘴"
175
+ },
176
+ {
177
+ "Id": "ParamGroupBody",
178
+ "GroupId": "",
179
+ "Name": "身体"
180
+ },
181
+ {
182
+ "Id": "ParamGroupArms",
183
+ "GroupId": "",
184
+ "Name": "手臂"
185
+ },
186
+ {
187
+ "Id": "ParamGroupSway",
188
+ "GroupId": "",
189
+ "Name": "摇动"
190
+ }
191
+ ],
192
+ "Parts": [
193
+ {
194
+ "Id": "PartCore",
195
+ "Name": "Core"
196
+ },
197
+ {
198
+ "Id": "PartCheek",
199
+ "Name": "脸颊"
200
+ },
201
+ {
202
+ "Id": "PartBrow",
203
+ "Name": "眉毛"
204
+ },
205
+ {
206
+ "Id": "PartEye",
207
+ "Name": "眼睛"
208
+ },
209
+ {
210
+ "Id": "PartNose",
211
+ "Name": "鼻子"
212
+ },
213
+ {
214
+ "Id": "PartMouth",
215
+ "Name": "口"
216
+ },
217
+ {
218
+ "Id": "PartFace",
219
+ "Name": "脸"
220
+ },
221
+ {
222
+ "Id": "PartEar",
223
+ "Name": "耳朵"
224
+ },
225
+ {
226
+ "Id": "PartHairSide",
227
+ "Name": "侧发"
228
+ },
229
+ {
230
+ "Id": "PartHairFront",
231
+ "Name": "前发"
232
+ },
233
+ {
234
+ "Id": "PartHairBack",
235
+ "Name": "后发"
236
+ },
237
+ {
238
+ "Id": "PartNeck",
239
+ "Name": "脖子"
240
+ },
241
+ {
242
+ "Id": "PartBody",
243
+ "Name": "身体"
244
+ },
245
+ {
246
+ "Id": "PartArmA",
247
+ "Name": "手臂A"
248
+ },
249
+ {
250
+ "Id": "PartBackground",
251
+ "Name": "背景"
252
+ },
253
+ {
254
+ "Id": "PartSketch",
255
+ "Name": "[参考图]"
256
+ },
257
+ {
258
+ "Id": "PartEyeBall",
259
+ "Name": "眼珠"
260
+ }
261
+ ],
262
+ "CombinedParameters": [
263
+ [
264
+ "ParamAngleX",
265
+ "ParamAngleY"
266
+ ],
267
+ [
268
+ "ParamEyeBallX",
269
+ "ParamEyeBallY"
270
+ ],
271
+ [
272
+ "ParamMouthForm",
273
+ "ParamMouthOpenY"
274
+ ]
275
+ ]
276
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "Version": 3,
3
+ "FileReferences": {
4
+ "Moc": "hiyori_free_t08.moc3",
5
+ "Textures": [
6
+ "hiyori_free_t08.2048/texture_00.png"
7
+ ],
8
+ "Physics": "hiyori_free_t08.physics3.json",
9
+ "DisplayInfo": "hiyori_free_t08.cdi3.json",
10
+ "Motions": {
11
+ "Idle": [
12
+ {
13
+ "File": "motion/hiyori_m01.motion3.json"
14
+ },
15
+ {
16
+ "File": "motion/hiyori_m02.motion3.json"
17
+ },
18
+ {
19
+ "File": "motion/hiyori_m05.motion3.json"
20
+ }
21
+ ],
22
+ "Flick": [
23
+ {
24
+ "File": "motion/hiyori_m03.motion3.json"
25
+ }
26
+ ],
27
+ "FlickDown": [
28
+ {
29
+ "File": "motion/hiyori_m04.motion3.json"
30
+ }
31
+ ],
32
+ "Tap": [
33
+ {
34
+ "File": "motion/hiyori_m06.motion3.json"
35
+ }
36
+ ],
37
+ "Tap@Body": [
38
+ {
39
+ "File": "motion/hiyori_m07.motion3.json"
40
+ }
41
+ ],
42
+ "Flick@Body": [
43
+ {
44
+ "File": "motion/hiyori_m08.motion3.json"
45
+ }
46
+ ]
47
+ }
48
+ },
49
+ "Groups": [
50
+ {
51
+ "Target": "Parameter",
52
+ "Name": "EyeBlink",
53
+ "Ids": [
54
+ "ParamEyeLOpen",
55
+ "ParamEyeROpen"
56
+ ]
57
+ },
58
+ {
59
+ "Target": "Parameter",
60
+ "Name": "LipSync",
61
+ "Ids": [
62
+ "ParamMouthOpenY"
63
+ ]
64
+ }
65
+ ],
66
+ "HitAreas": [
67
+ {
68
+ "Id": "HitArea",
69
+ "Name": "Body"
70
+ }
71
+ ]
72
+ }