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

InvalidDataException when unpack archive PSB due to irregular .m name #68

Closed
skilittle opened this issue Oct 14, 2021 · 9 comments
Closed
Assignees
Labels
Milestone

Comments

@skilittle
Copy link

旧版
image
新版
image
样本文件较大,我把它放在了我的磁盘里(它会在48小时后失效,请尽快获取)
http://data.ancgk.cn:8000/ps/

@UlyssesWu
Copy link
Owner

image_info.psb.m 下载不了。
“您要找的资源已被删除、已更名或暂时不可用。”

@skilittle
Copy link
Author

image_info.psb.m 下载不了。 “您要找的资源已被删除、已更名或暂时不可用。”
尝试

data.ancgk.cn:8000/ps

image

@skilittle
Copy link
Author

key是压缩包中没有后缀名的文件

@UlyssesWu
Copy link
Owner

感谢,已复现问题。目测主要是因为info psb中的文件是否有压缩是无规律的,或者有内在规律但是还没摸索清楚。前几个版本在其他psb.m上出现问题所以调整了下策略。

@skilittle
Copy link
Author

感谢,已复现问题。目测主要是因为info psb中的文件是否有压缩是无规律的,或者有内在规律但是还没摸索清楚。前几个版本在其他psb.m上出现问题所以调整了下策略。

除此之外,在新版本中大量音频文件的格式变为了xwma
image

@UlyssesWu
Copy link
Owner

xwma样本何在

@skilittle
Copy link
Author

xwma样本何在

我检查了一下,是我提取的psb文件被二次封装过了

@UlyssesWu
Copy link
Owner

/* the "amazing" design of archive psb:
"expire_suffix_list": [".psb.m"]
"image/man003" -> packed with key man003.psb.m
"scenario/ca01_06.txt.scn.m" -> packed with key ca01_06.txt.scn.m (?)
"script/ikusei.nut.m" -> packed with key ikusei.nut.m (ok fine)
"sound/bgm.psb" -> not packed (??)
"bg_c_whit.m" -> packed with key bg_c_whit.m.psb.m (???)
*/

info bin中的文件密钥,毫无规律可言,甚至自相矛盾😞

@UlyssesWu UlyssesWu self-assigned this Oct 14, 2021
@UlyssesWu UlyssesWu added the bug label Oct 14, 2021
@UlyssesWu UlyssesWu added this to the v4.0 milestone Oct 14, 2021
@UlyssesWu UlyssesWu changed the title 在3.0版本中无法dump image_info.psb.m,而在旧版中不存在此问题 InvalidDataException when unpack archive PSB due to irregular .m name Oct 14, 2021
@UlyssesWu
Copy link
Owner

可以试下最新的CI Build。
https://ci.appveyor.com/project/UlyssesWu/freemote/build/artifacts

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

No branches or pull requests

2 participants