战斗包子
extractCharacterFromArknights

extractCharacterFromArknights

软件依赖

明日方舟apk AssetStudio (用不了) AssetStudioMod GalPhotoAuto

https://github.com/isHarryh/Ark-Unpacker/releases/tag/v4.5.3

ref

明日方舟apk重命名未zip后解压 alt text

assetstudio中loadfile alt text

到达这个目录选中想抽取的角色 alt text

后来debug窗口能看到 alt text

1
Target Game type is Normal                                                                                       [Warning] CABMap is not build, skip resolving dependencies...                                                           [Info] Loading D:\work_console\workspaceforexusuai\arknights-hg-2721\assets\AB\Android\charpack\char_103_angel.ab       [Error] Error while reading bundle file D:\work_console\workspaceforexusuai\arknights-hg-2721\assets\AB\Android\charpack\char_103_angel.ab                                                                                                      System.IO.IOException: Unsupported compression type Lzham                                                                  at AssetStudio.BundleFile.ReadBlocks(FileReader reader, Stream blocksStream) in D:\a\assetstudio\assetstudio\AssetStudio\BundleFile.cs:line 703                                                                                                 at AssetStudio.BundleFile..ctor(FileReader reader, Game game) in D:\a\assetstudio\assetstudio\AssetStudio\BundleFile.cs:line 150                                                                                                                at AssetStudio.AssetsManager.LoadBundleFile(FileReader reader, String originalPath, Int64 originalOffset, Boolean log) in D:\a\assetstudio\assetstudio\AssetStudio\AssetsManager.cs:line 493                                                                                                                                                                         [Info] Read assets...                                                                                                   [Info] Process Assets...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

哈基米老师说这是因为《明日方舟》等游戏为了保护资源或压缩体积,对 Unity 的 AssetBundle 使用了非标准的 Lzham 压缩算法。原版的 AssetStudio 无法直接解压这种格式,所以报了空指针或者 IO 异常。不过它提供的新版本并不存在

本文作者:战斗包子
本文链接:https://paipai121.github.io/2026/04/25/extractCharacterFromArknights/
版权声明:本文采用 CC BY-NC-SA 3.0 CN 协议进行许可