Skip to content

AzurLaneTools/acb.py

This branch is 3 commits ahead of, 15 commits behind summertriangle-dev/acb.py:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
qiushiyang
Nov 28, 2021
d5829d9 · Nov 28, 2021

History

20 Commits
Feb 11, 2021
Nov 28, 2021
Feb 10, 2021
Feb 10, 2021
Feb 10, 2021
Feb 11, 2021
Feb 11, 2021
Feb 11, 2021
Feb 11, 2021
Feb 11, 2021

Repository files navigation

acb.py

For all your ACB extracting needs. Based on VGMToolbox.

HCA decryption is based on the 2ch HCA decoder. Thanks also to Headcrabbed who documented the new extra key here.

Usage:

pip install acb-py
python3 -m acb somefile.acb output
# equivalent
acbextract somefile.acb output

You can also pass --disarm-with=key1,key2 to have the library decrypt (but not decode) files for you. The key format --disarm-with=k1,k2 is equivalent to hca_decoder -a k1 -b k2, but you can also combine them into a 64-bit hex integer. This also supports AWB embedded keys (see here). If you use disarm heavily, you should also install the _acb_speedup C extension in the fast_sub directory. It will substantially speed up the decryption process.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 88.0%
  • C 12.0%