Audio Format Overview
| Format | Purpose | Conversion Tool |
|---|---|---|
| WEM | Game audio format (Wwise Encoded Media) | vgmstream, FFmpeg |
| WAV | Intermediate format for editing | FFmpeg |
| MP3/FLAC/OGG | Source formats for your custom audio | FFmpeg |
Typical Conversion Pipeline
Converting Game Audio to WAV (WEM → WAV)
ZZAR automatically converts.wem files to .wav when you play or preview audio in the Audio Browser.
How it works
- vgmstream is tried first (best compatibility with Wwise WEM format)
- If vgmstream fails, FFmpeg is used as a fallback
- Output is 48kHz, 16-bit PCM WAV
Converting Your Audio to WAV (Any → WAV)
When you select a replacement audio file in the Audio Browser, ZZAR converts it to WAV automatically.Supported Input Formats
- MP3
- FLAC
- OGG
- M4A
- AAC
- Opus
- WMA
- WAV (re-encoded to standardize format)
Conversion Settings
- Sample Rate: 48000 Hz (game standard)
- Channels: 2 (stereo)
- Bit Depth: 16-bit PCM
- Normalization: Enabled by default (target: -9 LUFS)
Why Normalization Matters
Normalization ensures your audio has consistent volume with the game’s original audio:- -9 LUFS is the target loudness (standard for games)
- -1.5 dB True Peak prevents clipping
- 11 LU is the loudness range (preserves dynamics)
Converting WAV to WEM (WAV → WEM)
This is the final step before packing audio into the game. ZZAR uses Wwise for this conversion.Ensure Wwise is Installed
Go to Settings and click Install Wwise. See Setup & Configuration for details.
Wwise is required to create mods. Without it, ZZAR can browse and play audio, but cannot generate
.wem files.Batch Conversion
ZZAR supports batch conversion for advanced workflows:Batch WEM → WAV
.wem files in extracted/ to extracted/wav/.
Batch Audio → WAV
Batch WAV → WEM
.wav files to .wem using Wwise. Requires Wwise installation.
Troubleshooting
”Audio conversion tools not found”
On Windows, install FFmpeg and vgmstream from Settings. On Linux:“Failed to convert <file>.wem”
Cause: The WEM file uses a codec that neither vgmstream nor FFmpeg can decode. Solution:- Ensure vgmstream is installed (FFmpeg alone is often not enough)
- Check that the WEM file is not corrupted
- Try extracting the WEM from the PCK again
”Wwise is not installed”
Cause: You’re trying to create a mod but Wwise is missing. Solution: Go to Settings > Install Wwise and follow the installation prompts. See Setup & Configuration.Audio is too quiet or too loud in-game
Cause: Normalization was disabled or your source audio has extreme levels. Solution:- Enable normalization in Audio Browser settings
- Use an audio editor (Audacity, Audition) to manually level your audio to -9 LUFS before importing
”WEM files require vgmstream-cli for conversion”
Cause: FFmpeg cannot decode this WEM file’s codec. Solution:Advanced: Manual Conversion
For complete control, you can manually convert audio outside ZZAR:Extract WEM from PCK
Convert WEM → WAV
Edit in DAW
Editoutput.wav in your favorite audio editor:
- Adobe Audition
- Audacity
- Reaper
- FL Studio