上传工具,分析云锦骨骼文件以及贴图文件
This commit is contained in:
parent
b677d9e61f
commit
381e1ef88b
1
派蒙的星光考察H5/README.md
Normal file
1
派蒙的星光考察H5/README.md
Normal file
@ -0,0 +1 @@
|
||||
- [派蒙的星光考察[请使用F12调试到手机模式]](https://genshin.1752e.com/ys/1/ys_xgkc_pc/index.html)
|
24
派蒙的星光考察H5/Vendors-to-atlas.py
Normal file
24
派蒙的星光考察H5/Vendors-to-atlas.py
Normal 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)
|
28
派蒙的星光考察H5/index-to-txt.py
Normal file
28
派蒙的星光考察H5/index-to-txt.py
Normal 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(" ",""))
|
File diff suppressed because one or more lines are too long
13623
派蒙的星光考察H5/派蒙的星光考察所有素材文件/json/yunjin_ske_meihua.json
Normal file
13623
派蒙的星光考察H5/派蒙的星光考察所有素材文件/json/yunjin_ske_meihua.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
б'm┤]6А+⌡MЛm╨╥╟┴шaЦN╡ж╒┌wсYз≥МОp┴шaш~Ршщaz(!╥^u²╘·вЧ╠К©p┴шaъ╞rж╒┌uЦ╧з≥МГ╤с²╤Тш-yр╒┌uъыз≥МЦ╤с²╤xК-ТБ╒┌vш┴з≥Мъp┴шaш²rъN!z(!╥]y²╘·вЩ╠в▐p┴шaш╞2шщaz(!╥^u²╘·вЩqЦOp┴шaшOrж╒┌vОYз≥Мс4В²╤{к÷|┘Х═├щ╧²╘·й)Р┼x1ъ²p┴шaОл╤ВX^┼mВ╧з≥М╪гщ|б'm┤÷2Ц▌!z(!╥]╢²╘·ш╪yСl"vьuКL╦Ц┬^┼mв_gjg╤К╫В²╤╪к²y┘Х═├ъw²╘·ш°xК\"vьvО.{┘Х═├чy²╘·ш▄}В\"vьzГ.╣р╒┌wНv╕{mЯЦ²0┴шaъ\╣в┬^┼mв≥з≥М╤гъuб'm┤}2ж╒┌yБv╕{mqВщp┴шaш°╧О╗^┼mГyз≥М╢гnЖб'm┤]}к▌8┘Х═├ч╫²╘·вэxК\"vьyс.zФ╒┌yчv╕{_1шъp┴шaЦL╨шX^┼mш╘з≥М{г^Вб'm┤n╡Кm!z(!╥gjg╣К╫В²╤vк·З┘Х═├щШ²╘·в°uъ╛"vьvС.╦Ж╒┌wЖv╕{^1в╫П┴шaъ°╨в≤^┼mЦiз≥Мwг]Зб'm┤~rГ╬║z(!╥█Гjg╣ш}с²╤╢к·╧┘Х═├щ╩²╘·в\xъ°"vьxъ.{Й╒┌wчv╕{]1шnП┴шaС|╥ВH^┼mС≥з≥ОqВ_0┴шaш°╨шH^┼mЦиз≥О1шnП┴шaв▐2Цmaz(!╥^w²╘·ОxВ²╤xк╜y┘Х═├ч'jg╨г^Вб'm┤мrшn!z(!╥█Гjg╧гщ╦б'm┤м╡Г╝az(!╥}gjg╦г~uб'm┤ъrв²!z(!╥╫╖jg╥гщ╦б'm┤nrш╞az(!╥]:²╘·ш}С²╤9к²y┘Х═├щtчv╕{\yъ\"vьuъ|╧ъH^┼mВyз≥М1ж╒┌uсn'jg╡╨xБ·) │Цз╤╝·8╖Чв╠╕x
|
||||
{"width":1024,"SubTexture":[{"width":406,"y":1,"height":301,"name":"1_7","x":1},{"width":237,"y":291,"height":151,"name":"1_6","x":679},{"width":369,"y":1,"height":147,"name":"1_5","x":620},{"width":302,"y":150,"height":139,"name":"1_4","x":620},{"width":146,"y":304,"height":224,"name":"1_3","x":1},{"width":251,"y":304,"height":115,"name":"1_2","x":149},{"width":268,"y":291,"height":151,"name":"1_1","x":409},{"width":209,"y":1,"height":271,"name":"1_0","x":409},{"width":97,"y":598,"height":25,"name":"yinying","x":351},{"width":78,"y":291,"height":97,"name":"28","x":918},{"width":58,"y":444,"height":120,"name":"27","x":582},{"width":160,"y":444,"height":119,"name":"26","x":299},{"width":68,"y":515,"height":93,"name":"25","x":461},{"width":27,"y":57,"height":55,"name":"24","x":991},{"width":65,"y":610,"height":37,"name":"23","x":450},{"width":31,"y":114,"height":15,"name":"22","x":991},{"width":30,"y":1,"height":54,"name":"21","x":991},{"width":25,"y":576,"height":53,"name":"20","x":272},{"width":119,"y":444,"height":69,"name":"19","x":461},{"width":50,"y":565,"height":53,"name":"18","x":299},{"width":40,"y":621,"height":26,"name":"17","x":173},{"width":26,"y":620,"height":39,"name":"16","x":299},{"width":52,"y":576,"height":37,"name":"15","x":136},{"width":28,"y":649,"height":39,"name":"14","x":173},{"width":35,"y":615,"height":42,"name":"13","x":136},{"width":35,"y":576,"height":43,"name":"12","x":190},{"width":20,"y":565,"height":27,"name":"11","x":435},{"width":43,"y":576,"height":33,"name":"10","x":227},{"width":83,"y":390,"height":85,"name":"9","x":918},{"width":25,"y":620,"height":48,"name":"8","x":227},{"width":148,"y":421,"height":153,"name":"7","x":149},{"width":14,"y":615,"height":4,"name":"6","x":173},{"width":81,"y":224,"height":43,"name":"5","x":924},{"width":82,"y":565,"height":31,"name":"4","x":351},{"width":99,"y":150,"height":72,"name":"3","x":924},{"width":25,"y":269,"height":106,"name":"2","x":998},{"width":45,"y":515,"height":103,"name":"1","x":531},{"width":133,"y":530,"height":93,"name":"0","x":1}],"height":1024,"name":"yunjin","imagePath":"yunjin_tex.png"}
|
274
派蒙的星光考察H5/派蒙的星光考察所有素材文件/json/yunjin_tex_meihua.json
Normal file
274
派蒙的星光考察H5/派蒙的星光考察所有素材文件/json/yunjin_tex_meihua.json
Normal file
@ -0,0 +1,274 @@
|
||||
{
|
||||
"width": 1024,
|
||||
"SubTexture": [
|
||||
{
|
||||
"width": 406,
|
||||
"y": 1,
|
||||
"height": 301,
|
||||
"name": "1_7",
|
||||
"x": 1
|
||||
},
|
||||
{
|
||||
"width": 237,
|
||||
"y": 291,
|
||||
"height": 151,
|
||||
"name": "1_6",
|
||||
"x": 679
|
||||
},
|
||||
{
|
||||
"width": 369,
|
||||
"y": 1,
|
||||
"height": 147,
|
||||
"name": "1_5",
|
||||
"x": 620
|
||||
},
|
||||
{
|
||||
"width": 302,
|
||||
"y": 150,
|
||||
"height": 139,
|
||||
"name": "1_4",
|
||||
"x": 620
|
||||
},
|
||||
{
|
||||
"width": 146,
|
||||
"y": 304,
|
||||
"height": 224,
|
||||
"name": "1_3",
|
||||
"x": 1
|
||||
},
|
||||
{
|
||||
"width": 251,
|
||||
"y": 304,
|
||||
"height": 115,
|
||||
"name": "1_2",
|
||||
"x": 149
|
||||
},
|
||||
{
|
||||
"width": 268,
|
||||
"y": 291,
|
||||
"height": 151,
|
||||
"name": "1_1",
|
||||
"x": 409
|
||||
},
|
||||
{
|
||||
"width": 209,
|
||||
"y": 1,
|
||||
"height": 271,
|
||||
"name": "1_0",
|
||||
"x": 409
|
||||
},
|
||||
{
|
||||
"width": 97,
|
||||
"y": 598,
|
||||
"height": 25,
|
||||
"name": "yinying",
|
||||
"x": 351
|
||||
},
|
||||
{
|
||||
"width": 78,
|
||||
"y": 291,
|
||||
"height": 97,
|
||||
"name": "28",
|
||||
"x": 918
|
||||
},
|
||||
{
|
||||
"width": 58,
|
||||
"y": 444,
|
||||
"height": 120,
|
||||
"name": "27",
|
||||
"x": 582
|
||||
},
|
||||
{
|
||||
"width": 160,
|
||||
"y": 444,
|
||||
"height": 119,
|
||||
"name": "26",
|
||||
"x": 299
|
||||
},
|
||||
{
|
||||
"width": 68,
|
||||
"y": 515,
|
||||
"height": 93,
|
||||
"name": "25",
|
||||
"x": 461
|
||||
},
|
||||
{
|
||||
"width": 27,
|
||||
"y": 57,
|
||||
"height": 55,
|
||||
"name": "24",
|
||||
"x": 991
|
||||
},
|
||||
{
|
||||
"width": 65,
|
||||
"y": 610,
|
||||
"height": 37,
|
||||
"name": "23",
|
||||
"x": 450
|
||||
},
|
||||
{
|
||||
"width": 31,
|
||||
"y": 114,
|
||||
"height": 15,
|
||||
"name": "22",
|
||||
"x": 991
|
||||
},
|
||||
{
|
||||
"width": 30,
|
||||
"y": 1,
|
||||
"height": 54,
|
||||
"name": "21",
|
||||
"x": 991
|
||||
},
|
||||
{
|
||||
"width": 25,
|
||||
"y": 576,
|
||||
"height": 53,
|
||||
"name": "20",
|
||||
"x": 272
|
||||
},
|
||||
{
|
||||
"width": 119,
|
||||
"y": 444,
|
||||
"height": 69,
|
||||
"name": "19",
|
||||
"x": 461
|
||||
},
|
||||
{
|
||||
"width": 50,
|
||||
"y": 565,
|
||||
"height": 53,
|
||||
"name": "18",
|
||||
"x": 299
|
||||
},
|
||||
{
|
||||
"width": 40,
|
||||
"y": 621,
|
||||
"height": 26,
|
||||
"name": "17",
|
||||
"x": 173
|
||||
},
|
||||
{
|
||||
"width": 26,
|
||||
"y": 620,
|
||||
"height": 39,
|
||||
"name": "16",
|
||||
"x": 299
|
||||
},
|
||||
{
|
||||
"width": 52,
|
||||
"y": 576,
|
||||
"height": 37,
|
||||
"name": "15",
|
||||
"x": 136
|
||||
},
|
||||
{
|
||||
"width": 28,
|
||||
"y": 649,
|
||||
"height": 39,
|
||||
"name": "14",
|
||||
"x": 173
|
||||
},
|
||||
{
|
||||
"width": 35,
|
||||
"y": 615,
|
||||
"height": 42,
|
||||
"name": "13",
|
||||
"x": 136
|
||||
},
|
||||
{
|
||||
"width": 35,
|
||||
"y": 576,
|
||||
"height": 43,
|
||||
"name": "12",
|
||||
"x": 190
|
||||
},
|
||||
{
|
||||
"width": 20,
|
||||
"y": 565,
|
||||
"height": 27,
|
||||
"name": "11",
|
||||
"x": 435
|
||||
},
|
||||
{
|
||||
"width": 43,
|
||||
"y": 576,
|
||||
"height": 33,
|
||||
"name": "10",
|
||||
"x": 227
|
||||
},
|
||||
{
|
||||
"width": 83,
|
||||
"y": 390,
|
||||
"height": 85,
|
||||
"name": "9",
|
||||
"x": 918
|
||||
},
|
||||
{
|
||||
"width": 25,
|
||||
"y": 620,
|
||||
"height": 48,
|
||||
"name": "8",
|
||||
"x": 227
|
||||
},
|
||||
{
|
||||
"width": 148,
|
||||
"y": 421,
|
||||
"height": 153,
|
||||
"name": "7",
|
||||
"x": 149
|
||||
},
|
||||
{
|
||||
"width": 14,
|
||||
"y": 615,
|
||||
"height": 4,
|
||||
"name": "6",
|
||||
"x": 173
|
||||
},
|
||||
{
|
||||
"width": 81,
|
||||
"y": 224,
|
||||
"height": 43,
|
||||
"name": "5",
|
||||
"x": 924
|
||||
},
|
||||
{
|
||||
"width": 82,
|
||||
"y": 565,
|
||||
"height": 31,
|
||||
"name": "4",
|
||||
"x": 351
|
||||
},
|
||||
{
|
||||
"width": 99,
|
||||
"y": 150,
|
||||
"height": 72,
|
||||
"name": "3",
|
||||
"x": 924
|
||||
},
|
||||
{
|
||||
"width": 25,
|
||||
"y": 269,
|
||||
"height": 106,
|
||||
"name": "2",
|
||||
"x": 998
|
||||
},
|
||||
{
|
||||
"width": 45,
|
||||
"y": 515,
|
||||
"height": 103,
|
||||
"name": "1",
|
||||
"x": 531
|
||||
},
|
||||
{
|
||||
"width": 133,
|
||||
"y": 530,
|
||||
"height": 93,
|
||||
"name": "0",
|
||||
"x": 1
|
||||
}
|
||||
],
|
||||
"height": 1024,
|
||||
"name": "yunjin",
|
||||
"imagePath": "yunjin_tex.png"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user