Update YunJin Spine and json file

This commit is contained in:
Dongyifengs 2023-01-29 21:50:05 +08:00
parent 381e1ef88b
commit c13db1fcc2
287 changed files with 145754 additions and 0 deletions

View File

@ -9,6 +9,10 @@
<img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/dongyifengs/mihoyo-material/main?style=for-the-badge">
</div>
## 通知
- 目前`剪彩映虹`游戏H5因为本人等级不够的原因下载不了后面的素材文件,所以先上传部分文件,等待后续解锁完成后即可浏览所有素材
## ✨ mihoyo-material是什么项目
- `mihoyo-material`是一个原神活动H5页面上有关Spine动效整理
- 里面包含`有关当前H5页面所有的素材文件`,`Spine`,`atlas`文件的提供

1
剪彩映虹/README.md Normal file
View File

@ -0,0 +1 @@
- [剪彩映虹[请使用F12调试到手机模式]](https://webstatic.mihoyo.com/ys/event/e20230129-lantern-vqhoj8/index.html)

View File

@ -0,0 +1,24 @@
import os
def delete(path: str):
for i in os.listdir(path):
f_path = os.path.join(path, i)
if os.path.isdir(f_path):
delete(f_path)
continue
os.remove(f_path)
if os.path.exists("texts"):
delete("texts")
with open("Vendors.parse.js", "r", encoding="utf-8") as fp:
fc = fp.readlines()
for l in fc:
if 'e.exports = "' in l and (".PNG" in l or ".png" in l):
c = l.replace(" ", "").replace("\n", "").replace('e.exports="', "").replace('"', "")
n = c.split(".png")[0]
p = os.path.join("texts", n)
file_path = os.path.join(p, f"{n}.txt")
with open(file_path, "w", encoding='utf-8') as io:
io.write(c)

View File

@ -0,0 +1,28 @@
from json import loads
import os
def delete(path: str):
for i in os.listdir(path):
f_path = os.path.join(path, i)
if os.path.isdir(f_path):
delete(f_path)
continue
os.remove(f_path)
if os.path.exists("texts1"):
delete("texts1")
os.mkdir("texts1")
with open("index.parse.js", "r", encoding='utf-8') as fp:
lines = fp.read().split("\n")
for l in lines:
if "e.exports = JSON.parse('" in l:
json_content = l.replace("e.exports = JSON.parse('", "").replace("')", "")
dict_json = loads(json_content)
h = dict_json['skeleton']["hash"]
dir_path = os.path.join("texts1", h)
os.mkdir(dir_path)
with open(os.path.join(dir_path, f"{h}.txt"), 'w', encoding='utf-8') as fp:
fp.write(json_content.replace(" ",""))

18522
剪彩映虹/index.js Normal file

File diff suppressed because one or more lines are too long

126272
剪彩映虹/vendors.js Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -0,0 +1,251 @@
pop_yunjin.png
size:688,523
format: RGBA8888
filter: Linear,Linear
repeat: none
scale:0.29
11领子
rotate: false
xy: 387, 16
size: 92, 74
orig: 92, 74
offset: 0, 0
index: -1
后发1
rotate: false
xy: 487, 89
size: 97, 210
orig: 97, 210
offset: 0, 0
index: -1
后发2
rotate: false
xy: 586, 165
size: 67, 140
orig: 67, 140
offset: 0, 0
index: -1
后发3
rotate: false
xy: 2, 30
size: 62, 108
orig: 62, 108
offset: 0, 0
index: -1
后发4
rotate: false
xy: 523, 369
size: 96, 152
orig: 96, 152
offset: 0, 0
index: -1
头发1
rotate: false
xy: 286, 301
size: 235, 220
orig: 235, 220
offset: 0, 0
index: -1
rotate: false
xy: 2, 284
size: 282, 237
orig: 282, 237
offset: 0, 0
index: -1
帽2
rotate: false
xy: 621, 369
size: 65, 152
orig: 65, 152
offset: 0, 0
index: -1
rotate: false
xy: 66, 38
size: 70, 100
orig: 70, 100
offset: 0, 0
index: -1
手_镜子
rotate: false
xy: 580, 20
size: 43, 67
orig: 43, 67
offset: 0, 0
index: -1
手粉
rotate: false
xy: 625, 121
size: 37, 42
orig: 37, 42
offset: 0, 0
index: -1
手臂l
rotate: false
xy: 286, 15
size: 99, 75
orig: 99, 75
offset: 0, 0
index: -1
眉毛
rotate: false
xy: 387, 4
size: 104, 10
orig: 104, 10
offset: 0, 0
index: -1
眼框l
rotate: false
xy: 233, 141
size: 48, 45
orig: 48, 45
offset: 0, 0
index: -1
眼框r
rotate: false
xy: 481, 43
size: 60, 44
orig: 60, 44
offset: 0, 0
index: -1
眼白l
rotate: false
xy: 233, 96
size: 48, 43
orig: 48, 43
offset: 0, 0
index: -1
眼白r
rotate: false
xy: 221, 50
size: 63, 44
orig: 63, 44
offset: 0, 0
index: -1
眼睛闭上
rotate: false
xy: 66, 4
size: 153, 32
orig: 153, 32
offset: 0, 0
index: -1
瞳孔l
rotate: false
xy: 493, 6
size: 27, 35
orig: 27, 35
offset: 0, 0
index: -1
瞳孔r
rotate: false
xy: 586, 130
size: 35, 33
orig: 35, 33
offset: 0, 0
index: -1
rotate: false
xy: 286, 92
size: 199, 207
orig: 199, 207
offset: 0, 0
index: -1
身体
rotate: false
xy: 138, 41
size: 81, 97
orig: 81, 97
offset: 0, 0
index: -1
领子1
rotate: false
xy: 523, 301
size: 39, 66
orig: 39, 66
offset: 0, 0
index: -1
领子1s
rotate: false
xy: 522, 11
size: 19, 30
orig: 19, 30
offset: 0, 0
index: -1
领子2
rotate: false
xy: 625, 312
size: 38, 55
orig: 38, 55
offset: 0, 0
index: -1
领子2s
rotate: false
xy: 586, 94
size: 22, 34
orig: 22, 34
offset: 0, 0
index: -1
领子b2
rotate: false
xy: 564, 307
size: 59, 60
orig: 59, 60
offset: 0, 0
index: -1
饰品1
rotate: false
xy: 2, 140
size: 229, 142
orig: 229, 142
offset: 0, 0
index: -1
饰品2
rotate: false
xy: 543, 13
size: 35, 74
orig: 35, 74
offset: 0, 0
index: -1
饰品a0
rotate: false
xy: 233, 188
size: 46, 94
orig: 46, 94
offset: 0, 0
index: -1
饰品a1
rotate: false
xy: 221, 2
size: 29, 46
orig: 29, 46
offset: 0, 0
index: -1
饰品a2
rotate: false
xy: 252, 6
size: 26, 42
orig: 26, 42
offset: 0, 0
index: -1
高光l
rotate: false
xy: 221, 117
size: 9, 9
orig: 9, 9
offset: 0, 0
index: -1
高光r
rotate: false
xy: 221, 128
size: 10, 10
orig: 10, 10
offset: 0, 0
index: -1
鼻子嘴
rotate: false
xy: 2, 5
size: 26, 23
orig: 26, 23
offset: 0, 0
index: -1

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 980 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 910 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 971 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

View File

@ -0,0 +1,286 @@
index_menu_1a.png
size:1673,714
format: RGBA8888
filter: Linear,Linear
repeat: none
scale:0.4
上身
rotate: false
xy: 1122, 33
size: 88, 111
orig: 88, 111
offset: 0, 0
index: -1
上身坠子1
rotate: false
xy: 1089, 263
size: 30, 29
orig: 30, 29
offset: 0, 0
index: -1
上身坠子2
rotate: false
xy: 1590, 432
size: 24, 34
orig: 24, 34
offset: 0, 0
index: -1
下裙
rotate: false
xy: 800, 171
size: 287, 174
orig: 287, 174
offset: 0, 0
index: -1
下裙坠子01
rotate: false
xy: 731, 33
size: 50, 37
orig: 50, 37
offset: 0, 0
index: -1
下裙坠子02
rotate: false
xy: 1446, 425
size: 46, 41
orig: 46, 41
offset: 0, 0
index: -1
下裙坠子03
rotate: false
xy: 506, 2
size: 38, 31
orig: 38, 31
offset: 0, 0
index: -1
下裙坠子04
rotate: false
xy: 1616, 433
size: 38, 33
orig: 38, 33
offset: 0, 0
index: -1
云瑾a
rotate: false
xy: 2, 8
size: 502, 704
orig: 502, 704
offset: 0, 0
index: -1
刘海01
rotate: false
xy: 1348, 39
size: 46, 213
orig: 46, 213
offset: 0, 0
index: -1
刘海02
rotate: false
xy: 977, 40
size: 64, 129
orig: 64, 129
offset: 0, 0
index: -1
刘海03
rotate: false
xy: 1122, 146
size: 224, 277
orig: 224, 277
offset: 0, 0
index: -1
刘海04
rotate: false
xy: 796, 17
size: 89, 152
orig: 89, 152
offset: 0, 0
index: -1
刘海05
rotate: false
xy: 887, 31
size: 88, 138
orig: 88, 138
offset: 0, 0
index: -1
前腿
rotate: false
xy: 1596, 206
size: 75, 224
orig: 75, 224
offset: 0, 0
index: -1
发饰01
rotate: false
xy: 1574, 8
size: 48, 122
orig: 48, 122
offset: 0, 0
index: -1
发饰02
rotate: false
xy: 1122, 425
size: 322, 287
orig: 322, 287
offset: 0, 0
index: -1
发饰03-1
rotate: false
xy: 1089, 294
size: 30, 51
orig: 30, 51
offset: 0, 0
index: -1
发饰03-2
rotate: false
xy: 1089, 210
size: 27, 51
orig: 27, 51
offset: 0, 0
index: -1
发饰03-3
rotate: false
xy: 610, 2
size: 39, 68
orig: 39, 68
offset: 0, 0
index: -1
发饰03-4
rotate: false
xy: 783, 53
size: 11, 17
orig: 11, 17
offset: 0, 0
index: -1
发饰04
rotate: false
xy: 1624, 15
size: 43, 115
orig: 43, 115
offset: 0, 0
index: -1
发饰05
rotate: false
xy: 1212, 19
size: 62, 125
orig: 62, 125
offset: 0, 0
index: -1
右前臂
rotate: false
xy: 651, 10
size: 78, 60
orig: 78, 60
offset: 0, 0
index: -1
右后臂
rotate: false
xy: 1552, 132
size: 71, 72
orig: 71, 72
offset: 0, 0
index: -1
右手
rotate: false
xy: 1043, 124
size: 77, 42
orig: 77, 42
offset: 0, 0
index: -1
后发01
rotate: false
xy: 506, 314
size: 292, 398
orig: 292, 398
offset: 0, 0
index: -1
后发02
rotate: false
xy: 800, 347
size: 320, 365
orig: 320, 365
offset: 0, 0
index: -1
后腿
rotate: false
xy: 1396, 74
size: 154, 178
orig: 154, 178
offset: 0, 0
index: -1
坠子1
rotate: false
xy: 1043, 8
size: 25, 43
orig: 25, 43
offset: 0, 0
index: -1
坠子2
rotate: false
xy: 1089, 168
size: 27, 40
orig: 27, 40
offset: 0, 0
index: -1
左前臂
rotate: false
xy: 1043, 53
size: 73, 69
orig: 73, 69
offset: 0, 0
index: -1
左后臂
rotate: false
xy: 1276, 13
size: 60, 73
orig: 60, 73
offset: 0, 0
index: -1
左手
rotate: false
xy: 1276, 88
size: 69, 56
orig: 69, 56
offset: 0, 0
index: -1
披肩1
rotate: false
xy: 1494, 426
size: 94, 40
orig: 94, 40
offset: 0, 0
index: -1
披肩2
rotate: false
xy: 1396, 15
size: 176, 57
orig: 176, 57
offset: 0, 0
index: -1
文件夹37
rotate: false
xy: 1348, 254
size: 246, 169
orig: 246, 169
offset: 0, 0
index: -1
rotate: false
xy: 1446, 468
size: 209, 244
orig: 209, 244
offset: 0, 0
index: -1
辫子01
rotate: false
xy: 610, 72
size: 184, 240
orig: 184, 240
offset: 0, 0
index: -1
辫子02
rotate: false
xy: 506, 35
size: 102, 277
orig: 102, 277
offset: 0, 0
index: -1

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 697 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Some files were not shown because too many files have changed in this diff Show More