@lrplrplrp/dsh-live2d 0.1.0
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.
- package/LICENSE +21 -0
- package/README.md +100 -0
- package/assets/BCSZ1.1/BCSZ1.1.cdi3.json +470 -0
- package/assets/BCSZ1.1/BCSZ1.1.moc3 +0 -0
- package/assets/BCSZ1.1/BCSZ1.1.model3.json +174 -0
- package/assets/BCSZ1.1/BCSZ1.1.physics3.json +2494 -0
- package/assets/BCSZ1.1/SZ-/344/270/215/345/217/230.motion3.json +13703 -0
- package/assets/BCSZ1.1/SZ-/344/270/255/345/215/210.motion3.json +7201 -0
- package/assets/BCSZ1.1/SZ-/345/210/235/350/247/201.motion3.json +27609 -0
- package/assets/BCSZ1.1/SZ-/345/244/234/346/231/232.motion3.json +14909 -0
- package/assets/BCSZ1.1/SZ-/345/244/264/351/245/260.motion3.json +69 -0
- package/assets/BCSZ1.1/SZ-/345/260/276/345/267/264.motion3.json +840 -0
- package/assets/BCSZ1.1/SZ-/345/261/221/347/234/274/347/245/236.motion3.json +69 -0
- package/assets/BCSZ1.1/SZ-/345/275/222/351/233/266.motion3.json +300 -0
- package/assets/BCSZ1.1/SZ-/346/227/240/350/201/212.motion3.json +6617 -0
- package/assets/BCSZ1.1/SZ-/346/227/251/344/270/212/345/245/275.motion3.json +16785 -0
- package/assets/BCSZ1.1/template.json +59 -0
- package/assets/BCSZ1.1/textures/texture_00.png +0 -0
- package/assets/BCSZ1.1/waifu-tips-BCSZ.json +49 -0
- package/assets/BCSZ1.1//345/205/253/351/207/215/347/245/236/345/255/220-/344/270/215/345/217/230.wav +0 -0
- package/assets/BCSZ1.1//345/205/253/351/207/215/347/245/236/345/255/220-/344/270/255/345/215/210.wav +0 -0
- package/assets/BCSZ1.1//345/205/253/351/207/215/347/245/236/345/255/220-/345/210/235/350/247/201.wav +0 -0
- package/assets/BCSZ1.1//345/205/253/351/207/215/347/245/236/345/255/220-/345/244/234/346/231/232.wav +0 -0
- package/assets/BCSZ1.1//345/205/253/351/207/215/347/245/236/345/255/220-/346/227/240/350/201/212.wav +0 -0
- package/assets/BCSZ1.1//345/205/253/351/207/215/347/245/236/345/255/220-/346/227/251/344/270/212.wav +0 -0
- package/assets/deepseek_l2d/deepseek.2048/texture_00.png +0 -0
- package/assets/deepseek_l2d/deepseek.cdi3.json +205 -0
- package/assets/deepseek_l2d/deepseek.moc3 +0 -0
- package/assets/deepseek_l2d/deepseek.model3.json +67 -0
- package/assets/deepseek_l2d/deepseek.physics3.json +311 -0
- package/assets/deepseek_l2d/happy.exp3.json +45 -0
- package/assets/deepseek_l2d/happy2.exp3.json +35 -0
- package/assets/deepseek_l2d/idle.motion3.json +5574 -0
- package/assets/deepseek_l2d/index.html +13 -0
- package/assets/deepseek_l2d/puzzled.exp3.json +45 -0
- package/assets/deepseek_l2d/relax.exp3.json +60 -0
- package/assets/deepseek_l2d/speak.motion3.json +6975 -0
- package/assets/deepseek_l2d/thinkend.motion3.json +876 -0
- package/assets/deepseek_l2d/thinking.motion3.json +4992 -0
- package/assets/deepseek_l2d/unhappy.exp3.json +50 -0
- package/assets/model_list.json +39 -0
- package/cordis.patch.yml +11 -0
- package/lib/client.js +1487 -0
- package/lib/index.js +642 -0
- package/lib/index.min.js +1 -0
- package/lib/live2d.min.js +1 -0
- package/lib/live2dcubismcore.min.js +9 -0
- package/lib/pixi.min.js +9 -0
- package/package.json +62 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Type": "Live2D Expression",
|
|
3
|
+
"Parameters": [
|
|
4
|
+
{
|
|
5
|
+
"Id": "ParamEyeLOpen",
|
|
6
|
+
"Value": -1,
|
|
7
|
+
"Blend": "Add"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"Id": "ParamEyeLSmile",
|
|
11
|
+
"Value": 0,
|
|
12
|
+
"Blend": "Add"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"Id": "ParamEyeROpen",
|
|
16
|
+
"Value": -1,
|
|
17
|
+
"Blend": "Add"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"Id": "ParamEyeRSmile",
|
|
21
|
+
"Value": 0,
|
|
22
|
+
"Blend": "Add"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"Id": "ParamMouthForm",
|
|
26
|
+
"Value": -1,
|
|
27
|
+
"Blend": "Add"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"Id": "ParamMouthOpenY",
|
|
31
|
+
"Value": 0,
|
|
32
|
+
"Blend": "Add"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"Id": "ParamBrowLY",
|
|
36
|
+
"Value": -1,
|
|
37
|
+
"Blend": "Add"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"Id": "ParamBrowRY",
|
|
41
|
+
"Value": -1,
|
|
42
|
+
"Blend": "Add"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"Id": "ParamAngleY",
|
|
46
|
+
"Value": -30,
|
|
47
|
+
"Blend": "Add"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"models": [
|
|
3
|
+
{
|
|
4
|
+
"name": "DeepSeek",
|
|
5
|
+
"url": "./deepseek_l2d/deepseek.model3.json",
|
|
6
|
+
"canvasWidth": 300,
|
|
7
|
+
"canvasHeight": 400,
|
|
8
|
+
"config": {
|
|
9
|
+
"x": -50,
|
|
10
|
+
"y": 100,
|
|
11
|
+
"scaleX": 2,
|
|
12
|
+
"scaleY": 2
|
|
13
|
+
},
|
|
14
|
+
"animations": {
|
|
15
|
+
"IDLE": {
|
|
16
|
+
"motion": { "group": "Idle", "index": 0 }
|
|
17
|
+
},
|
|
18
|
+
"THINKING": {
|
|
19
|
+
"motion": { "group": "Anima", "index": 2 }
|
|
20
|
+
},
|
|
21
|
+
"THINK_END": {
|
|
22
|
+
"motion": { "group": "Anima", "index": 1 }
|
|
23
|
+
},
|
|
24
|
+
"WORKING": {
|
|
25
|
+
"motion": { "group": "Anima", "index": 0 }
|
|
26
|
+
},
|
|
27
|
+
"SPEAKING": {
|
|
28
|
+
"motion": { "group": "Anima", "index": 0 }
|
|
29
|
+
},
|
|
30
|
+
"SUCCESS": {
|
|
31
|
+
"expression": "happy"
|
|
32
|
+
},
|
|
33
|
+
"ERROR": {
|
|
34
|
+
"expression": "unhappy"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# dsh-live2d bundle patch: inserts the Live2D plugin into the web profile.
|
|
2
|
+
#
|
|
3
|
+
# Usage:
|
|
4
|
+
# pnpm dsh web --patch ./cordis.yml
|
|
5
|
+
#
|
|
6
|
+
# Or install as a profile dependency:
|
|
7
|
+
# pnpm dsh plugin --profile web add link:./dsh-live2d
|
|
8
|
+
|
|
9
|
+
- insert:
|
|
10
|
+
- id: dsh-live2d
|
|
11
|
+
name: 'dsh-live2d'
|