bnkextr icon indicating copy to clipboard operation
bnkextr copied to clipboard

Wwise *.BNK File Extractor

Wwise *.BNK File Extractor

This is a C++ rewrite and extension of bnkextr originally written by CTPAX-X in Delphi. It extracts WEM files from the ever more popular Wwise BNK format.

Use ww2ogg to convert WEM files to the OGG format.

Usage

Usage: bnkextr filename.bnk [/swap] [/nodir] [/obj]
        /swap - swap byte order (use it for unpacking 'Army of Two')
        /nodir - create no additional directory for the *.wem files
        /obj - generate an objects.txt file with the extracted object data

BNK Format

  • See the original Delphi code for the initial file specification
  • See the XeNTaX wiki for a more complete file specification
  • See the bnk.bt file for 010 Editor specification
  • See the bnk.ksy file by ADawesomeguy for a Kaitai Struct specification

Supported HIRC Events

  • Generic event type logging
  • Event
  • EventAction

Build

CMake

cmake -S . -B build/
cmake --build build/ --target install

GCC

g++ bnkextr.cpp -std=c++17 -static -O2 -s -o bnkextr.exe

License

  • bnkextr.dpr falls under the original copryright holders rights and is solely kept for archival purpose
  • bnkextr.cpp is available under 2 licenses: Public Domain or MIT -- choose whichever you prefer