|
WwiseAudioTools
Tools for working with Wwise file types
|
A C++ library and command-line tool for converting Wwise WEM audio files to OGG Vorbis format and extracting WEM files from BNK soundbanks.
Wwise encodes audio as .wem files using a modified Vorbis format with stripped headers, custom packet framing, and external codebooks. The traditional approach to decoding these requires chaining two separate tools (ww2ogg + revorb) with manual codebook management. This project combines both into a single library with a clean API and a CLI tool that handles everything automatically.
Prebuilt wwtools binaries for Windows, macOS, and Linux are available on the GitHub Releases page. Download the appropriate archive for your platform and add the binary to your PATH.
This package is not on Conan Center. To consume it as a dependency, use the tnt-coders fork of cmake-conan which supports building packages from source via a #recipe: annotation.
In your conanfile.py, add the #recipe: comment pointing to the Git repository:
The cmake-conan provider will automatically clone the repository, run conan create, and cache the package. No manual steps are needed.
In your CMakeLists.txt:
When extracting from a BNK, streamed WEMs (those not fully embedded) require the corresponding <id>.wem file to be present in the same directory as the BNK.
The public API is defined in a single header: wwtools/wwtools.h
WEM to OGG conversion:
Extracting WEMs from a BNK soundbank:
Dependencies are installed automatically via cmake-conan during the CMake configure step.
| Option | Default | Description |
|---|---|---|
BUILD_CLI | ON | Build the wwtools command-line tool |
PACKED_CODEBOOKS_AOTUV | ON | Use aoTuV 603 codebook data (recommended) |
PROJECT_CONFIG_ENABLE_DOCS | ON | Enable Doxygen documentation target (requires Doxygen) |
PROJECT_CONFIG_ENABLE_CLANG_TIDY | ON | Enable clang-tidy lint targets (requires clang-tidy) |
Requires clang-tidy and run-clang-tidy to be installed (typically from an LLVM/Clang package). The targets are only available when run-clang-tidy is found on PATH.
API documentation for the latest stable release is hosted on GitHub Pages at: https://tnt-coders.github.io/wwise-audio-tools/
To build the documentation locally for a specific release or branch, you need Doxygen installed and on PATH. Optionally, install Graphviz to enable DOT graph generation (dependency diagrams, call graphs, etc.).
The generated HTML will be in build/release/docs/html/.