Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit

- Add NIS .bgm Ogg and cleanup [Yomawari: Midnight Shadows (PC)]
- Add RIFF .xms [Ty the Tasmanian Tiger (Xbox)]
- Fix Ogg .eno
- Improve TXTH dynamic dechunking
- Remove unused aif-loop extension

Git stats


Failed to load latest commit information.
Latest commit message
Commit time
Oct 9, 2022
Aug 4, 2022
Apr 30, 2019


This is vgmstream, a library for playing streamed (prerecorded) video game audio.

Some of vgmstream's features:

  • Hundreds of video game music formats and codecs, from typical game engine files to obscure single-game codecs, aiming for high accuracy and compatibility.
  • Support for looped BGM, using file's internal metadata for smooth transitions, with accurate sample counts.
  • Subsongs, playing a format's multiple internal songs separately.
  • Many types of companion files (data split into multiple files) and custom containers.
  • Encryption keys, internal stream names, and many other unusual cases found in game audio.
  • TXTH function, to add external support for extra formats, including raw audio in many forms.
  • TXTP function, for real-time and per-file config, like forced looping, removing channels, playing certain subsong, or fusing multiple files into a single one.
  • Simple external tagging via .m3u files.
  • Plugins are available for various media player software and operating systems.

The main development repository:

Automated builds with the latest changes:

Common releases:

Help can be found here:

More documentation:

Getting vgmstream

There are multiple end-user components:

The main library (plain vgmstream) is the code that handles the internal conversion, while the above components are what you use to get sound.

If you just want to convert game audio to .wav, easiest would be getting test.exe/vgmstream-cli (see below) then drag-and-drop one or more files to the executable. This should create (file.extension).wav, if the format is supported. More usable would be installing a music player like foobar2000 (for Windows) or Audacious (for Linux) then the appropriate component, so you can listen to VGM without converting and set options like infinite looping.

See components in the usage guide for full install instructions and explanations. The aim is feature parity, but there are a few differences between them due to missing implementation on vgmstream's side or lack of support in target player or API.

Note vgmstream cannot encode (convert from .wav to some video game format), it only decodes (plays game audio).


You should get, which also bundles various components, or foo_input_vgmstream.fb2k-component for the installable foobar2000 plugin from the latest prebuilt binaries on our website:

You can also get them from the less frequently updated releases on GitHub:

If the above links fail, you may also try the alternative, somewhat recent versions built by bnnm:

If you prefer, you may compile the components from source as well, see the build guide for more information.


For convenience, releases distribute a command-line decoder in It is statically linked and should work on all systems running Linux kernel v3.2 and above.

Building from source will also give you, an Audacious plugin, and vgmstream123, a command-line player.

When building from source code, many components have to be installed or compiled separately. The build guide describes this process in more detail. For a quick build on Debian and Ubuntu-style distributions, run ./ The script will be installing various dependencies, so you may prefer to copy the commands from the file and run them one by one.


Please follow the build guide.

More info

Enjoy! hcs