Converts Twilight Princess Audio Archive files (BAA) to SoundFonts. This may work for other games as well, but it's only been tested with Z2Sound.baa.
This project is the result of various reverse engineering efforts and the work of many people, especially from the HCS forum.
First, you need to download and install the POCO library. See here for instructions.
Then, you can clone the project and build it with CMake:
git clone https://github.com/tmwsnrx/baa2sf2 --recursive
cd baa2sf2
mkdir build
cd build
cmake ..
cmake --build .
You need the game's extracted Audiores folder that contains Z2Sound.baa
and the Waves
folder. Then run:
baa2sf2 <YourPath>/Audiores/Z2Sound.baa <YourPath>/path/to/Audiores/Waves <OutputPath>
Since the game has two sound banks this will create two files in the output folder: Z2Sound_0.sf2
(SFX) and Z2Sound_1.sf2
(BGM).
- Attack envelopes