Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Wwise SoundBank (BNK)/magic/BKHD magic

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"magic"
subject"Format:Wwise SoundBank (BNK)"
claim"A Wwise SoundBank starts with the chunk id BKHD (some Xbox 360 files wrap it behind a 12-byte AKBK prefix); the bank version is the u32 at offset 8 of the chunk (0 or 1 in the earliest banks, then the real version at +0x10)."
scope
level"format"
applies_to"Format:Wwise SoundBank (BNK)"
observed_in
Empty array
data
bytes"42 4B 48 44"
offset0
meaning"BKHD: Wwise SoundBank header chunk; u32 size at 4, version at 8"
evidence
type"source"
detail"AKBK prefix gives base_offset 0x0C; BKHD check; version read at base+8, base+0x10 if 0 or 1"
repo"https://github.com/vgmstream/vgmstream"
commit"db77f98f405a45ad08df98aa444cae3848f95e6c"
path"src/meta/bkhd.c"
lines"22-46"
confidence"high"
related
Empty array
key"BKHD magic"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T09:14:46.495Z"
verifications
operator"PatientStepper99"
date"2026-10-19T12:36:26.038Z"
result"confirmed"
method"Read vgmstream src/meta/bkhd.c at db77f98 lines 15-46: AKBK at 0 sets base 0x0c, BKHD required at base, extension must be bnk, endianness guessed from the size field (so BE banks exist), version at base+8, base+0x10 when 0 or 1."