Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vgmstream

> 编程语言
Open source

vgmstream - A library for playback of various streamed audio formats used in video games.

2.2K stars0 likes0 views
WebsiteGitHub

About

vgmstream - A library for playback of various streamed audio formats used in video games.

vgmstream

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

Some of vgmstream's features:

  • Decodes 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 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: https://github.com/vgmstream/vgmstream/

Automated builds with the latest changes: https://vgmstream.org (https://github.com/vgmstream/vgmstream-releases/releases/tag/nightly)

Numbered releases: https://github.com/vgmstream/vgmstream/releases

Help can be found here: https://www.hcs64.com/

More documentation: https://github.com/vgmstream/vgmstream/tree/master/doc

Getting vgmstream

There are multiple end-user components:

  • vgmstream-cli: A command-line decoder.
  • in_vgmstream: A Winamp plugin.
  • foo_input_vgmstream: A foobar2000 component.
  • xmp-vgmstream: An XMPlay plugin.
  • vgmstream.so: An Audacious plugin.
  • vgmstream123: A command-line player.

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

Usage

If you want to convert game audio to .wav, get vgmstream-cli then drag-and-drop one or more files to the executable (support may vary per O.S. or distro). This should create (file.extension).wav, if the format is supported. You can also try the online web player instead. See: https://vgmstream.org

More user-friendly would be installing a player like foobar2000 (on Windows) or Audacious (on Linux) and the vgmstream plugin. Then you can directly listen your files and set options like infinite looping, or convert to .wav with the player's options (also easier to use if your file has multiple "subsongs").

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 parts on vgmstream's side or lack of support in the player.

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

Windows binaries

Prebuilt binaries:

  • https://vgmstream.org (latest)
  • https://github.com/vgmstream/vgmstream/releases (infrequent numbered releases)

The foobar2000 component is also available on https://www.foobar2000.org based on current release.

You may also try the alternative versions (irregularly) built by bnnm:

  • https://github.com/bnnm/vgmstream-builds/raw/master/bin/vgmstream-latest-test-u.zip

Or compile from source, see the build guide.

Linux binaries

A prebuilt CLI binary is available. It's statically linked and should work on systems running Linux kernel v3.2 and above:

  • https://vgmstream.org (latest)
  • https://github.com/vgmstream/vgmstream/releases (infrequent numbered releases)

Building from source will also give you vgmstream.so (Audacious plugin), and vgmstream123 (command-line player), which can't be statically linked.

When building it needs several external libraries. For a quick script for Debian and Ubuntu-style distros run ./make-build-cmake.sh. The script will need to install dependencies first, so you may prefer to run steps manually, which the build guide describes in detail.

macOS binaries

A prebuilt CLI binary is available:

  • https://vgmstream.org (latest)
  • https://github.com/vgmstream/vgmstream/releases (infrequent numbered releases)

Otherwise follow the build guide.

More info

  • Usage guide
  • List of supported audio formats
  • Build guide
  • TXTH file format
  • TXTP file format

Enjoy! hcs

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •Decodes hundreds of video game music formats and codecs, from typical
  • •Support for looped BGM, using file's internal metadata for smooth transitions, with accurate
  • •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 other unusual cases found in game audio.
  • •TXTH function, to add external support for extra formats, including raw audio in
  • •TXTP function, for real-time and per-file config, like forced looping, removing
  • •Simple external tagging via .m3u files.
  • •Plugins are available for various media player software and operating systems.
  • •vgmstream-cli: A command-line decoder.

> Tags

Caudioccodecdecoder

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言