LinuxCommandLibrary

vgmstream_cli

Decode video game audio formats

TLDR

Convert to WAV

$ vgmstream_cli -o [output.wav] [input.adx]
copy
Play audio directly
$ vgmstream_cli -p [file.brstm]
copy
Show file info
$ vgmstream_cli -m [file.fsb]
copy
Loop twice
$ vgmstream_cli -l 2 -o [output.wav] [input.hca]
copy
Select subsong
$ vgmstream_cli -s 3 [file.awb]
copy
Disable looping
$ vgmstream_cli -i -o [output.wav] [input.adx]
copy

SYNOPSIS

vgmstream_cli [-o file] [-p] [-m] [-l loops] [-s subsong] [-i] file

DESCRIPTION

vgmstream_cli decodes audio files from video games into standard WAV format or plays them directly. It supports hundreds of proprietary audio formats used across game consoles and engines, including ADX, HCA, FSB, BRSTM, and many more.
The tool handles game-specific features like seamless looping, subsong extraction from multi-track archives, and accurate sample-level playback. Metadata mode displays format details, sample rate, and loop points without decoding the audio.

PARAMETERS

-o FILE

Output WAV file.
-p
Play to audio device.
-m
Show metadata only.
-l N
Loop count.
-s N
Select subsong.
-i
Ignore loops.
-S N
Start at subsong.
-E N
End at subsong.

CAVEATS

Decode only. Cannot encode to game formats. Some formats need companion files.

HISTORY

vgmstream is a library for playing streamed video game audio, supporting formats from many game engines and platforms.

SEE ALSO

ffmpeg(1), sox(1), audacity(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community