Skip to content

v0.3.1

Choose a tag to compare

@MejiroRina MejiroRina released this 27 Jun 07:14
· 32 commits to main since this release
acc4c8d

Makes the per-AWB AFS2 subkey, needed to decrypt type-56 HCA, available from Python without re-parsing the ACB, and adds a one-call ACB-to-WAV decoder. Purely additive.

Added

  • Extract ACB tracks together with their metadata with extract_acb_tracks(acb_path, output_dir), which returns a list of {"path", "name", "cue_id", "subkey"} (or None for an invalid file). Pass the subkey and the global key to decode_hca to decode encrypted tracks. The Rust crate exposes extract_acb_tracks and extract_acb_tracks_from_file, returning ExtractedTrackFile. (#11)
  • Decode an ACB straight to WAV files with decode_acb_to_wav(acb_path, output_dir, key=None). Each AWB's subkey is applied automatically, so encrypted ACBs need only the global key; non-HCA tracks are written out unchanged. (#11)

Artifacts

Full Changelog: v0.3.0...v0.3.1