Skip to content

CrescentApricot/acbpy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acbpy

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.

install

pip3 install git+ssh://git@github.com/Cryptomelone/acbpy.git

usage

command line

acbpy target_file [extract dir]

import

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())

models

  • 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

test

python3 setup.py test

license

follows: acb.py

About

simple acb extraction library working on Python3.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%