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

Library:FMOD

From ReverseEngineering.wiki
Library
Developer Firelight Technologies
Vendor Firelight Technologies
Platforms Windows, macOS, Linux, Android, iOS, consoles
License proprietary (free tier for indie use)
Website https://www.fmod.com
On this wiki Facts · Code · Notes · Topics

Firelight Technologies' cross-platform audio middleware (FMOD Ex, FMOD Studio), embedded in a very large share of commercial games; its data lives in FSB sound banks and FMOD Studio .bank files.

Identification

  • Libraries: fmod.dll / fmodex.dll / fmodex64.dll (FMOD Ex, 4.x), fmod.dll, fmod64.dll, fmodL.dll (the logging build) and fmodstudio.dll, fmodstudioL.dll (FMOD Studio API, 2.x), libfmod.so, libfmod.dylib. Often statically linked into console and mobile builds, then only strings and data reveal it.
  • Data: files starting with FSB5 or FSB1 to FSB4, .fsb, .bank (RIFF with FEV ). Unity games ship FMOD banks as .bank or as .assets-wrapped .fsb/.snd. See Format:FSB (FMOD sound bank) and Format:FMOD bank (RIFF FEV).
  • Unverified, from memory and not checked in this session: the DLL contains the version as a string like FMOD ... or a FMOD_VERSION number (0xAAAABBCC product, major, minor; for example 0x00020203 is 2.02.03) and the call FMOD::System_Create / FMOD_System_Create(&system, headerversion) in 2.x takes the header version as an argument, which the game's compiled-in SDK header sets; look at it in the import's caller to date the SDK a game was built with.

Codecs

PCM, IMA ADPCM, FADPCM (FMOD's own), MPEG, Vorbis (stripped Ogg, FMOD-internal codebooks), CELT, Opus, XMA, ATRAC9, GameCube DSP, VAG/HEVAG. See the codec table on Format:FSB (FMOD sound bank).

Pitfalls

  • FSB Vorbis is not ordinary Ogg; ordinary tools find no OggS.
  • Some games encrypt FSB data (bank flag in FSB1-4); the key is in the game.
  • The .bank files separate metadata and audio into several banks (Master.bank, Master.strings.bank); event names live in the strings bank.

Code & repositories

See the vgmstream entry below.

Related

Technique:Game audio and video middleware, Library:Wwise, Library:CRIWARE, Library:Bink Video.

Evidence & references

  • vgmstream commit db77f98f405a45ad08df98aa444cae3848f95e6c (ISC): src/meta/fsb5.c, fsb.c, fsb5_fev.c.