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,631 @@
1
+ {
2
+ "Version": 3,
3
+ "Meta": {
4
+ "PhysicsSettingCount": 7,
5
+ "TotalInputCount": 24,
6
+ "TotalOutputCount": 7,
7
+ "VertexCount": 14,
8
+ "EffectiveForces": {
9
+ "Gravity": {
10
+ "X": 0,
11
+ "Y": -1
12
+ },
13
+ "Wind": {
14
+ "X": 0,
15
+ "Y": 0
16
+ }
17
+ },
18
+ "PhysicsDictionary": [
19
+ {
20
+ "Id": "PhysicsSetting1",
21
+ "Name": "前髪"
22
+ },
23
+ {
24
+ "Id": "PhysicsSetting2",
25
+ "Name": "横髪"
26
+ },
27
+ {
28
+ "Id": "PhysicsSetting3",
29
+ "Name": "後ろ髪"
30
+ },
31
+ {
32
+ "Id": "PhysicsSetting4",
33
+ "Name": "サイドアップ"
34
+ },
35
+ {
36
+ "Id": "PhysicsSetting5",
37
+ "Name": "スカート"
38
+ },
39
+ {
40
+ "Id": "PhysicsSetting6",
41
+ "Name": "リボン 体"
42
+ },
43
+ {
44
+ "Id": "PhysicsSetting7",
45
+ "Name": "リボン 頭"
46
+ }
47
+ ]
48
+ },
49
+ "PhysicsSettings": [
50
+ {
51
+ "Id": "PhysicsSetting1",
52
+ "Input": [
53
+ {
54
+ "Source": {
55
+ "Target": "Parameter",
56
+ "Id": "ParamAngleX"
57
+ },
58
+ "Weight": 60,
59
+ "Type": "X",
60
+ "Reflect": false
61
+ },
62
+ {
63
+ "Source": {
64
+ "Target": "Parameter",
65
+ "Id": "ParamAngleZ"
66
+ },
67
+ "Weight": 60,
68
+ "Type": "Angle",
69
+ "Reflect": false
70
+ },
71
+ {
72
+ "Source": {
73
+ "Target": "Parameter",
74
+ "Id": "ParamBodyAngleX"
75
+ },
76
+ "Weight": 40,
77
+ "Type": "X",
78
+ "Reflect": false
79
+ },
80
+ {
81
+ "Source": {
82
+ "Target": "Parameter",
83
+ "Id": "ParamBodyAngleZ"
84
+ },
85
+ "Weight": 40,
86
+ "Type": "Angle",
87
+ "Reflect": false
88
+ }
89
+ ],
90
+ "Output": [
91
+ {
92
+ "Destination": {
93
+ "Target": "Parameter",
94
+ "Id": "ParamHairFront"
95
+ },
96
+ "VertexIndex": 1,
97
+ "Scale": 1.5,
98
+ "Weight": 100,
99
+ "Type": "Angle",
100
+ "Reflect": false
101
+ }
102
+ ],
103
+ "Vertices": [
104
+ {
105
+ "Position": {
106
+ "X": 0,
107
+ "Y": 0
108
+ },
109
+ "Mobility": 1,
110
+ "Delay": 1,
111
+ "Acceleration": 1,
112
+ "Radius": 0
113
+ },
114
+ {
115
+ "Position": {
116
+ "X": 0,
117
+ "Y": 3
118
+ },
119
+ "Mobility": 0.95,
120
+ "Delay": 0.9,
121
+ "Acceleration": 1.5,
122
+ "Radius": 3
123
+ }
124
+ ],
125
+ "Normalization": {
126
+ "Position": {
127
+ "Minimum": -10,
128
+ "Default": 0,
129
+ "Maximum": 10
130
+ },
131
+ "Angle": {
132
+ "Minimum": -10,
133
+ "Default": 0,
134
+ "Maximum": 10
135
+ }
136
+ }
137
+ },
138
+ {
139
+ "Id": "PhysicsSetting2",
140
+ "Input": [
141
+ {
142
+ "Source": {
143
+ "Target": "Parameter",
144
+ "Id": "ParamAngleX"
145
+ },
146
+ "Weight": 60,
147
+ "Type": "X",
148
+ "Reflect": false
149
+ },
150
+ {
151
+ "Source": {
152
+ "Target": "Parameter",
153
+ "Id": "ParamAngleZ"
154
+ },
155
+ "Weight": 60,
156
+ "Type": "Angle",
157
+ "Reflect": false
158
+ },
159
+ {
160
+ "Source": {
161
+ "Target": "Parameter",
162
+ "Id": "ParamBodyAngleX"
163
+ },
164
+ "Weight": 40,
165
+ "Type": "X",
166
+ "Reflect": false
167
+ },
168
+ {
169
+ "Source": {
170
+ "Target": "Parameter",
171
+ "Id": "ParamBodyAngleZ"
172
+ },
173
+ "Weight": 40,
174
+ "Type": "Angle",
175
+ "Reflect": false
176
+ }
177
+ ],
178
+ "Output": [
179
+ {
180
+ "Destination": {
181
+ "Target": "Parameter",
182
+ "Id": "ParamHairSide"
183
+ },
184
+ "VertexIndex": 1,
185
+ "Scale": 3,
186
+ "Weight": 100,
187
+ "Type": "Angle",
188
+ "Reflect": false
189
+ }
190
+ ],
191
+ "Vertices": [
192
+ {
193
+ "Position": {
194
+ "X": 0,
195
+ "Y": 0
196
+ },
197
+ "Mobility": 1,
198
+ "Delay": 1,
199
+ "Acceleration": 1,
200
+ "Radius": 0
201
+ },
202
+ {
203
+ "Position": {
204
+ "X": 0,
205
+ "Y": 15
206
+ },
207
+ "Mobility": 0.95,
208
+ "Delay": 0.8,
209
+ "Acceleration": 1.5,
210
+ "Radius": 15
211
+ }
212
+ ],
213
+ "Normalization": {
214
+ "Position": {
215
+ "Minimum": -10,
216
+ "Default": 0,
217
+ "Maximum": 10
218
+ },
219
+ "Angle": {
220
+ "Minimum": -10,
221
+ "Default": 0,
222
+ "Maximum": 10
223
+ }
224
+ }
225
+ },
226
+ {
227
+ "Id": "PhysicsSetting3",
228
+ "Input": [
229
+ {
230
+ "Source": {
231
+ "Target": "Parameter",
232
+ "Id": "ParamAngleX"
233
+ },
234
+ "Weight": 60,
235
+ "Type": "X",
236
+ "Reflect": false
237
+ },
238
+ {
239
+ "Source": {
240
+ "Target": "Parameter",
241
+ "Id": "ParamAngleZ"
242
+ },
243
+ "Weight": 60,
244
+ "Type": "Angle",
245
+ "Reflect": false
246
+ },
247
+ {
248
+ "Source": {
249
+ "Target": "Parameter",
250
+ "Id": "ParamBodyAngleX"
251
+ },
252
+ "Weight": 40,
253
+ "Type": "X",
254
+ "Reflect": false
255
+ },
256
+ {
257
+ "Source": {
258
+ "Target": "Parameter",
259
+ "Id": "ParamBodyAngleZ"
260
+ },
261
+ "Weight": 40,
262
+ "Type": "Angle",
263
+ "Reflect": false
264
+ }
265
+ ],
266
+ "Output": [
267
+ {
268
+ "Destination": {
269
+ "Target": "Parameter",
270
+ "Id": "ParamHairBack"
271
+ },
272
+ "VertexIndex": 1,
273
+ "Scale": 2.132,
274
+ "Weight": 100,
275
+ "Type": "Angle",
276
+ "Reflect": false
277
+ }
278
+ ],
279
+ "Vertices": [
280
+ {
281
+ "Position": {
282
+ "X": 0,
283
+ "Y": 0
284
+ },
285
+ "Mobility": 1,
286
+ "Delay": 1,
287
+ "Acceleration": 1,
288
+ "Radius": 0
289
+ },
290
+ {
291
+ "Position": {
292
+ "X": 0,
293
+ "Y": 15
294
+ },
295
+ "Mobility": 0.95,
296
+ "Delay": 0.8,
297
+ "Acceleration": 1.5,
298
+ "Radius": 15
299
+ }
300
+ ],
301
+ "Normalization": {
302
+ "Position": {
303
+ "Minimum": -10,
304
+ "Default": 0,
305
+ "Maximum": 10
306
+ },
307
+ "Angle": {
308
+ "Minimum": -10,
309
+ "Default": 0,
310
+ "Maximum": 10
311
+ }
312
+ }
313
+ },
314
+ {
315
+ "Id": "PhysicsSetting4",
316
+ "Input": [
317
+ {
318
+ "Source": {
319
+ "Target": "Parameter",
320
+ "Id": "ParamAngleX"
321
+ },
322
+ "Weight": 60,
323
+ "Type": "X",
324
+ "Reflect": false
325
+ },
326
+ {
327
+ "Source": {
328
+ "Target": "Parameter",
329
+ "Id": "ParamAngleZ"
330
+ },
331
+ "Weight": 60,
332
+ "Type": "Angle",
333
+ "Reflect": false
334
+ },
335
+ {
336
+ "Source": {
337
+ "Target": "Parameter",
338
+ "Id": "ParamBodyAngleX"
339
+ },
340
+ "Weight": 40,
341
+ "Type": "X",
342
+ "Reflect": false
343
+ },
344
+ {
345
+ "Source": {
346
+ "Target": "Parameter",
347
+ "Id": "ParamBodyAngleZ"
348
+ },
349
+ "Weight": 40,
350
+ "Type": "Angle",
351
+ "Reflect": false
352
+ }
353
+ ],
354
+ "Output": [
355
+ {
356
+ "Destination": {
357
+ "Target": "Parameter",
358
+ "Id": "ParamHairSideUp"
359
+ },
360
+ "VertexIndex": 1,
361
+ "Scale": 2.161,
362
+ "Weight": 100,
363
+ "Type": "Angle",
364
+ "Reflect": false
365
+ }
366
+ ],
367
+ "Vertices": [
368
+ {
369
+ "Position": {
370
+ "X": 0,
371
+ "Y": 0
372
+ },
373
+ "Mobility": 1,
374
+ "Delay": 1,
375
+ "Acceleration": 1,
376
+ "Radius": 0
377
+ },
378
+ {
379
+ "Position": {
380
+ "X": 0,
381
+ "Y": 15
382
+ },
383
+ "Mobility": 0.95,
384
+ "Delay": 0.8,
385
+ "Acceleration": 1.5,
386
+ "Radius": 15
387
+ }
388
+ ],
389
+ "Normalization": {
390
+ "Position": {
391
+ "Minimum": -10,
392
+ "Default": 0,
393
+ "Maximum": 10
394
+ },
395
+ "Angle": {
396
+ "Minimum": -10,
397
+ "Default": 0,
398
+ "Maximum": 10
399
+ }
400
+ }
401
+ },
402
+ {
403
+ "Id": "PhysicsSetting5",
404
+ "Input": [
405
+ {
406
+ "Source": {
407
+ "Target": "Parameter",
408
+ "Id": "ParamBodyAngleX"
409
+ },
410
+ "Weight": 100,
411
+ "Type": "X",
412
+ "Reflect": false
413
+ },
414
+ {
415
+ "Source": {
416
+ "Target": "Parameter",
417
+ "Id": "ParamBodyAngleZ"
418
+ },
419
+ "Weight": 100,
420
+ "Type": "Angle",
421
+ "Reflect": false
422
+ }
423
+ ],
424
+ "Output": [
425
+ {
426
+ "Destination": {
427
+ "Target": "Parameter",
428
+ "Id": "ParamSkirt"
429
+ },
430
+ "VertexIndex": 1,
431
+ "Scale": 1,
432
+ "Weight": 100,
433
+ "Type": "Angle",
434
+ "Reflect": false
435
+ }
436
+ ],
437
+ "Vertices": [
438
+ {
439
+ "Position": {
440
+ "X": 0,
441
+ "Y": 0
442
+ },
443
+ "Mobility": 1,
444
+ "Delay": 1,
445
+ "Acceleration": 1,
446
+ "Radius": 0
447
+ },
448
+ {
449
+ "Position": {
450
+ "X": 0,
451
+ "Y": 10
452
+ },
453
+ "Mobility": 0.9,
454
+ "Delay": 0.6,
455
+ "Acceleration": 1.5,
456
+ "Radius": 10
457
+ }
458
+ ],
459
+ "Normalization": {
460
+ "Position": {
461
+ "Minimum": -10,
462
+ "Default": 0,
463
+ "Maximum": 10
464
+ },
465
+ "Angle": {
466
+ "Minimum": -10,
467
+ "Default": 0,
468
+ "Maximum": 10
469
+ }
470
+ }
471
+ },
472
+ {
473
+ "Id": "PhysicsSetting6",
474
+ "Input": [
475
+ {
476
+ "Source": {
477
+ "Target": "Parameter",
478
+ "Id": "ParamBodyAngleX"
479
+ },
480
+ "Weight": 100,
481
+ "Type": "X",
482
+ "Reflect": false
483
+ },
484
+ {
485
+ "Source": {
486
+ "Target": "Parameter",
487
+ "Id": "ParamBodyAngleZ"
488
+ },
489
+ "Weight": 100,
490
+ "Type": "Angle",
491
+ "Reflect": false
492
+ }
493
+ ],
494
+ "Output": [
495
+ {
496
+ "Destination": {
497
+ "Target": "Parameter",
498
+ "Id": "ParamRibbon"
499
+ },
500
+ "VertexIndex": 1,
501
+ "Scale": 1.559,
502
+ "Weight": 100,
503
+ "Type": "Angle",
504
+ "Reflect": false
505
+ }
506
+ ],
507
+ "Vertices": [
508
+ {
509
+ "Position": {
510
+ "X": 0,
511
+ "Y": 0
512
+ },
513
+ "Mobility": 1,
514
+ "Delay": 1,
515
+ "Acceleration": 1,
516
+ "Radius": 0
517
+ },
518
+ {
519
+ "Position": {
520
+ "X": 0,
521
+ "Y": 10
522
+ },
523
+ "Mobility": 0.9,
524
+ "Delay": 0.6,
525
+ "Acceleration": 1.5,
526
+ "Radius": 10
527
+ }
528
+ ],
529
+ "Normalization": {
530
+ "Position": {
531
+ "Minimum": -10,
532
+ "Default": 0,
533
+ "Maximum": 10
534
+ },
535
+ "Angle": {
536
+ "Minimum": -10,
537
+ "Default": 0,
538
+ "Maximum": 10
539
+ }
540
+ }
541
+ },
542
+ {
543
+ "Id": "PhysicsSetting7",
544
+ "Input": [
545
+ {
546
+ "Source": {
547
+ "Target": "Parameter",
548
+ "Id": "ParamAngleX"
549
+ },
550
+ "Weight": 60,
551
+ "Type": "X",
552
+ "Reflect": false
553
+ },
554
+ {
555
+ "Source": {
556
+ "Target": "Parameter",
557
+ "Id": "ParamAngleZ"
558
+ },
559
+ "Weight": 60,
560
+ "Type": "Angle",
561
+ "Reflect": false
562
+ },
563
+ {
564
+ "Source": {
565
+ "Target": "Parameter",
566
+ "Id": "ParamBodyAngleX"
567
+ },
568
+ "Weight": 40,
569
+ "Type": "X",
570
+ "Reflect": false
571
+ },
572
+ {
573
+ "Source": {
574
+ "Target": "Parameter",
575
+ "Id": "ParamBodyAngleZ"
576
+ },
577
+ "Weight": 40,
578
+ "Type": "Angle",
579
+ "Reflect": false
580
+ }
581
+ ],
582
+ "Output": [
583
+ {
584
+ "Destination": {
585
+ "Target": "Parameter",
586
+ "Id": "ParamSideUpRibbon"
587
+ },
588
+ "VertexIndex": 1,
589
+ "Scale": 1.441,
590
+ "Weight": 100,
591
+ "Type": "Angle",
592
+ "Reflect": false
593
+ }
594
+ ],
595
+ "Vertices": [
596
+ {
597
+ "Position": {
598
+ "X": 0,
599
+ "Y": 0
600
+ },
601
+ "Mobility": 1,
602
+ "Delay": 1,
603
+ "Acceleration": 1,
604
+ "Radius": 0
605
+ },
606
+ {
607
+ "Position": {
608
+ "X": 0,
609
+ "Y": 10
610
+ },
611
+ "Mobility": 0.9,
612
+ "Delay": 0.6,
613
+ "Acceleration": 1.5,
614
+ "Radius": 10
615
+ }
616
+ ],
617
+ "Normalization": {
618
+ "Position": {
619
+ "Minimum": -10,
620
+ "Default": 0,
621
+ "Maximum": 10
622
+ },
623
+ "Angle": {
624
+ "Minimum": -10,
625
+ "Default": 0,
626
+ "Maximum": 10
627
+ }
628
+ }
629
+ }
630
+ ]
631
+ }