Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

FGO2.56.1更新后无法解密 #4

Closed
hexstr opened this issue Jul 3, 2022 · 5 comments
Closed

FGO2.56.1更新后无法解密 #4

hexstr opened this issue Jul 3, 2022 · 5 comments

Comments

@hexstr
Copy link
Owner

hexstr commented Jul 3, 2022

看看有没有人贡献一下代码修复问题

@ACPudding
Copy link

ACPudding commented Jul 3, 2022

日服部分资源用的key不是通用key。是为了防剧透而使用其他的key加密了(so里面我看过了填充key是使用了
CatAndMouseGame.OtherHomeBuilding这个函数)
AssetStorage里面有小尾巴,这个是keytype。
QQ截图20220703211941
key的话存在topdata的assetbundlekey(用MasterDataUnpacker.MouseInfoMsgPack就能拆)
QQ截图20220703212447
解出来是这样的,可以对应解密keytype找key
QQ截图20220703212057
这是根据大佬您的已有内容加上的部分(瞎写的一个资源下载解密小工具orz),可以参考一下,mousegame3和mousegame4都是有针对防剧透设置的额外加密(写出来都很简单233,MouseGame3_34091232和 MouseGame4_34091820,OtherHomeBuilding也在里面orz)

Osakabehime

@hexstr
Copy link
Owner Author

hexstr commented Jul 3, 2022

@ACPudding 感谢提供完整的思路和文件

@hexstr hexstr closed this as completed Jul 3, 2022
@Thunderltx
Copy link

@ACPudding 感谢 感谢 不明觉厉

@ACPudding
Copy link

ACPudding commented Jul 3, 2022

@hexstr 稍微补充一下 - -
剧情文本有用额外key加密的话是存在ScriptActionEncrypt@ScriptFileList.unity3d这个文件里面。MonoBehavior有对应文件的keytype
类似:
"m_Name": "ScriptEncryptSetting", "settings": [ { "scriptName": "9404650310", "keyType": "4239a5" }, { "scriptName": "9404650311", "keyType": "4239a5" },......
,当然图省事的办法就是暴力枚举((((((
不过暴力枚举只适合解密剧情文本的MouseGame3。(至少目前我试下来暂时没出问题orz.)
MouseGame4有多解可能,需要对应orz。

@hexstr
Copy link
Owner Author

hexstr commented Jul 4, 2022

@ACPudding 那改的还有点多,反正最近也没想提取的,干脆鸽了吧ᕕ( ᐛ )ᕗ

hexstr added a commit that referenced this issue Jul 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants