https://github.com/summertriangle-dev/acb.py
https://github.com/summertriangle-dev/acb.py
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/summertriangle-dev/acb.py
- Owner: summertriangle-dev
- License: other
- Created: 2016-04-11T07:15:37.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-11-19T05:33:05.000Z (over 3 years ago)
- Last Synced: 2025-09-30T00:28:26.741Z (9 months ago)
- Language: Python
- Size: 62.5 KB
- Stars: 25
- Watchers: 3
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## acb.py
For all your ACB extracting needs. Based on [VGMToolbox](https://sourceforge.net/projects/vgmtoolbox/).
HCA decryption is based on the 2ch HCA decoder. Thanks also to Headcrabbed who documented the new extra key [here](https://blog.mottomo.moe/categories/Tech/RE/en/2018-10-12-New-HCA-Encryption/).
Usage:
```sh
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](https://github.com/hozuki/libcgss/issues/4)).
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.