英雄联盟语音解包工具, 由Python语言编写.
可以将英雄联盟中wpk或bnk中音频文件按照皮肤的触发条件分类解包, 默认为wem音频格式, 使用 vgmstream 可转码.
- index.py中 extract_audio 函数逻辑以及HIRC部分块结构和WPK文件结构参考Morilli编写的解包工具https://github.com/Morilli/bnk-extract
- WAD.py中 文件结构以及部分逻辑来源于https://github.com/CommunityDragon/CDTB 和 https://github.com/Pupix/lol-file-parser
其余bnk文件结构来参考:http://wiki.xentax.com/index.php/Wwise_SoundBank_(*.bnk)
WAD操作部分需要两个第三方包, xxhash和zstd, 前者处理路径hash后者解压资源.
pip install -r requirements.txt
参考index.py文件中, example函数. 此脚本适合提取已知皮肤语音, 如需全部提取请关注 lol_extract_voice
Virace
- blog: 孤独的未知数
-
@Morilli, bnk-extract
-
@Pupix, lol-file-parser
-
@CommunityDragon, CDTB
-
@vgmstream, vgmstream
-
以及JetBrains提供开发环境支持