Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.6版本前瞻 没能提取完所有资源 #8

Open
HinanawiTenshi104 opened this issue Apr 13, 2024 · 3 comments
Open

4.6版本前瞻 没能提取完所有资源 #8

HinanawiTenshi104 opened this issue Apr 13, 2024 · 3 comments

Comments

@HinanawiTenshi104
Copy link

https://act.mihoyo.com/ys/event/e20240413preview-pvtga2/
提取不到spine等资源。
特地试了试以前其他活动网页,还能正常提取。

@sabrisangjaya
Copy link

it seems the data structure changes since this new version preview
from SPINE_MANIFEST to Mr object var
before
t.SPINE_MANIFEST={Emoji:{atlas:n(105),json:n(170)},g1_L_xmh:{atlas:n(106)
after
Mr={aleiqilou:{atlas:Object.values(Object.assign(

@HinanawiTenshi104
Copy link
Author

https://act.mihoyo.com/ys/event/e20240419arlecchino-vn0wpz/
看了下这次(2024.4.19)的新活动【午夜魅影】,好像数据结构又从Mr object var变回了 SPINE_MANIFEST
这次webstatic-extractor能正常提取。
不知道是不是原神那边不同小组分工的问题。

@xytoki
Copy link
Contributor

xytoki commented Apr 20, 2024

看起来是fastscene的代码压缩方式有变,我去研究研究新的数据结构


看代码是用手写的部分替换了一些自动生成的部分,导致代码压缩后数据结构变了,他甚至把player挂window上了,之前没出现过的……
前瞻的,看起来是手写:
image
活动的,比较符合fastscene自动生成的逻辑:
image


压缩方式变化原来是上了vite啊……
image
难怪没有__esModule了,不好办


Mr没有以任何方式向外暴露,这下得考虑上ast了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants