acbpy is simple acb extraction library working on Python3.
It contains functions and simple command line tool for parse acb format file.
This library is wrapper library of acb.py.
pip3 install git+ssh:https://[email protected]/Cryptomelone/acbpy.git
acbpy target_file [extract dir]
import acbpy
with open("target_file.acb", "rb") as f:
for i in acbpy.parse_binary(f):
print(i.track.name)
with open(f"{i.track.name}.{i.extension}", "wb") as s:
s.write(i.binary.read())
-
track_t (from acb.py)
- cue_id: int
- name: str
- wav_id: int
- enc_type: int
- is_stream: int
-
Acb (original)
- track: track_t
- binary: io.BytesIO
- extension: str
python3 setup.py test
follows: acb.py