2008-05-13 21:53:31 +02:00
|
|
|
vgmstream
|
|
|
|
|
|
|
|
This is vgmstream, a library for playing streamed audio from video games.
|
2016-12-09 23:26:48 +01:00
|
|
|
It is very much under development. There are multiple end-user bits: a command
|
|
|
|
line decoder called "test.exe", a Winamp plugin called "in_vgmstream", a
|
|
|
|
foobar2000 component called "foo_input_vgmstream", and an xmplay plugin
|
|
|
|
called "xmp-vgmstream".
|
2008-05-13 21:53:31 +02:00
|
|
|
|
2008-12-19 08:26:38 +01:00
|
|
|
*********** IMPORTANT!! ***********
|
2008-06-15 10:00:11 +02:00
|
|
|
--- needed files (for Windows) ---
|
2016-12-11 13:08:59 +01:00
|
|
|
Since Ogg Vorbis, MPEG audio, and other formats are now supported, you will
|
2015-09-21 16:10:04 +02:00
|
|
|
need to have certain DLL files.
|
2016-12-09 23:26:48 +01:00
|
|
|
You can get these from https://f.losno.co/vgmstream-win32-deps.zip, or in
|
|
|
|
the case of the foobar2000 component, they are all bundled for convenience.
|
2008-06-15 10:00:11 +02:00
|
|
|
|
2015-09-21 16:10:04 +02:00
|
|
|
Put libvorbis.dll, libmpg123-0.dll, libg7221_decode.dll, libg719_decode.dll,
|
2016-12-09 23:26:48 +01:00
|
|
|
at3plusdecoder.dll, avcodec-vgmstream-57.dll, avformat-vgmstream-57.dll, and
|
|
|
|
avutil-vgmstream-55.dll somewhere Windows can find them.
|
2009-01-21 13:51:33 +01:00
|
|
|
For in_vgmstream this means in the directory with winamp.exe, or in a
|
2016-12-11 13:08:59 +01:00
|
|
|
system directory or other directory in the PATH variable. For test.exe this
|
|
|
|
means in the same directory as test.exe, or in a system directory/PATH.
|
2008-06-15 10:00:11 +02:00
|
|
|
|
|
|
|
--- test.exe ---
|
2008-12-19 08:26:38 +01:00
|
|
|
Usage: ./test [-o outfile.wav] [-l loop count]
|
|
|
|
[-f fade time] [-d fade delay] [-ipcmxeE] infile
|
2008-05-13 21:53:31 +02:00
|
|
|
Options:
|
|
|
|
-o outfile.wav: name of output .wav file, default is dump.wav
|
|
|
|
-l loop count: loop count, default 2.0
|
|
|
|
-f fade time: fade time (seconds), default 10.0
|
2008-05-16 22:57:19 +02:00
|
|
|
-d fade delay: fade delay (seconds, default 0.0
|
2008-05-13 21:53:31 +02:00
|
|
|
-i: ignore looping information and play the whole stream once
|
|
|
|
-p: output to stdout (for piping into another program)
|
|
|
|
-P: output to stdout even if stdout is a terminal
|
|
|
|
-c: loop forever (continuously)
|
|
|
|
-m: print metadata only, don't decode
|
|
|
|
-x: decode and print adxencd command line to encode as ADX
|
2008-12-19 08:26:38 +01:00
|
|
|
-g: decode and print oggenc command line to encode as OGG
|
2015-09-21 16:10:04 +02:00
|
|
|
-b: decode and print batch variable commands
|
|
|
|
-L: append a smpl chunk and create a looping wav
|
2008-05-13 21:53:31 +02:00
|
|
|
-e: force end-to-end looping
|
|
|
|
-E: force end-to-end looping even if file has real loop points
|
2008-07-12 17:38:05 +02:00
|
|
|
-r outfile2.wav: output a second time after resetting
|
2015-09-21 16:10:04 +02:00
|
|
|
-2 N: only output the Nth (first is 0) set of stereo channels
|
2008-05-13 21:53:31 +02:00
|
|
|
|
|
|
|
Typical usage would be:
|
|
|
|
test -o happy.wav happy.adx
|
|
|
|
to decode happy.adx to happy.wav.
|
|
|
|
|
|
|
|
--- in_vgmstream ---
|
2008-12-19 08:26:38 +01:00
|
|
|
Drop the in_vgmstream.dll in your Winamp plugins directory. Please follow
|
|
|
|
the above instructions for installing the other files needed.
|
2008-05-13 21:53:31 +02:00
|
|
|
|
2008-12-19 08:26:38 +01:00
|
|
|
--- File types supported by this version of vgmstream ---
|
|
|
|
|
|
|
|
As manakoAT likes to say, the extension doesn't really mean anything, but it's
|
|
|
|
the most obvious way to identify files.
|
|
|
|
|
2016-12-11 13:08:59 +01:00
|
|
|
This list is not complete and many other files are supported.
|
|
|
|
|
2008-12-19 08:26:38 +01:00
|
|
|
PS2/PSX ADPCM:
|
|
|
|
- .ads/.ss2
|
|
|
|
- .ass
|
2010-04-10 12:55:14 +02:00
|
|
|
- .ast
|
2008-12-19 08:26:38 +01:00
|
|
|
- .bg00
|
|
|
|
- .bmdx
|
|
|
|
- .ccc
|
|
|
|
- .cnk
|
|
|
|
- .dxh
|
|
|
|
- .enth
|
|
|
|
- .fag
|
|
|
|
- .filp
|
2010-04-10 12:55:14 +02:00
|
|
|
- .gcm
|
2008-12-19 08:26:38 +01:00
|
|
|
- .gms
|
|
|
|
- .hgc1
|
|
|
|
- .ikm
|
|
|
|
- .ild
|
|
|
|
- .ivb
|
|
|
|
- .joe
|
|
|
|
- .kces
|
2010-04-20 23:07:45 +02:00
|
|
|
- .khv
|
2008-12-19 08:26:38 +01:00
|
|
|
- .leg
|
2009-06-17 18:42:15 +02:00
|
|
|
- .mcg
|
2008-12-19 08:26:38 +01:00
|
|
|
- .mib, .mi4 (w/ or w/o .mih)
|
|
|
|
- .mic
|
|
|
|
- .mihb (merged mih+mib)
|
2010-04-10 12:55:14 +02:00
|
|
|
- .msa
|
2008-12-19 08:26:38 +01:00
|
|
|
- .msvp
|
|
|
|
- .musc
|
|
|
|
- .npsf
|
|
|
|
- .pnb
|
|
|
|
- .psh
|
|
|
|
- .rkv
|
|
|
|
- .rnd
|
|
|
|
- .rstm
|
|
|
|
- .rws
|
|
|
|
- .rxw
|
2009-06-17 18:42:15 +02:00
|
|
|
- .snd
|
2008-12-19 08:26:38 +01:00
|
|
|
- .sfs
|
|
|
|
- .sl3
|
2010-04-10 12:55:14 +02:00
|
|
|
- .smpl (w/ bad flags)
|
|
|
|
- .ster
|
2008-12-19 08:26:38 +01:00
|
|
|
- .str+.sth
|
2010-04-20 23:07:45 +02:00
|
|
|
- .str (MGAV blocked)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .sts
|
|
|
|
- .svag
|
|
|
|
- .svs
|
|
|
|
- .tec (w/ bad flags)
|
2009-03-05 20:59:58 +01:00
|
|
|
- .tk5 (w/ bad flags)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .vas
|
|
|
|
- .vag
|
|
|
|
- .vgs (w/ bad flags)
|
|
|
|
- .vig
|
|
|
|
- .vpk
|
|
|
|
- .vs
|
2009-03-05 15:26:59 +01:00
|
|
|
- .vsf
|
2008-12-19 08:26:38 +01:00
|
|
|
- .wp2
|
|
|
|
- .xa2
|
|
|
|
- .xa30
|
|
|
|
|
|
|
|
GC/Wii DSP ADPCM:
|
2010-04-10 12:55:14 +02:00
|
|
|
- .aaap
|
2008-12-19 08:26:38 +01:00
|
|
|
- .agsc
|
|
|
|
- .amts
|
|
|
|
- .asr
|
2009-09-05 14:18:34 +02:00
|
|
|
- .bns
|
2010-04-20 23:07:45 +02:00
|
|
|
- .bo2
|
2010-02-02 22:25:44 +01:00
|
|
|
- .capdsp
|
2008-12-19 08:26:38 +01:00
|
|
|
- .cfn
|
2010-04-20 23:07:45 +02:00
|
|
|
- .ddsp
|
2008-12-19 08:26:38 +01:00
|
|
|
- .dsp
|
2010-04-20 23:07:45 +02:00
|
|
|
- standard, optional dual file stereo
|
2008-05-13 21:53:31 +02:00
|
|
|
- RS03
|
|
|
|
- Cstr
|
2008-05-16 00:06:33 +02:00
|
|
|
- _lr.dsp
|
2010-04-20 23:07:45 +02:00
|
|
|
- MPDS
|
2008-12-19 08:26:38 +01:00
|
|
|
- .gca
|
|
|
|
- .gcm
|
|
|
|
- .gsp+.gsp
|
|
|
|
- .hps
|
|
|
|
- .idsp
|
|
|
|
- .ish+.isd
|
2009-06-17 18:42:15 +02:00
|
|
|
- .lps
|
2008-12-19 08:26:38 +01:00
|
|
|
- .mpdsp
|
|
|
|
- .mss
|
|
|
|
- .mus (not quite right)
|
2009-06-17 18:42:15 +02:00
|
|
|
- .ndp
|
2008-12-19 08:26:38 +01:00
|
|
|
- .pdt
|
|
|
|
- .sdt
|
|
|
|
- .smp
|
2010-03-15 05:33:22 +01:00
|
|
|
- .sns
|
2008-12-19 08:26:38 +01:00
|
|
|
- .spt+.spd
|
|
|
|
- .ssm
|
|
|
|
- .stm/.dsp
|
|
|
|
- .str
|
2009-03-13 00:42:56 +01:00
|
|
|
- .str+.sth
|
2008-12-19 08:26:38 +01:00
|
|
|
- .sts
|
|
|
|
- .swd
|
|
|
|
- .thp, .dsp
|
|
|
|
- .tydsp
|
|
|
|
- .vjdsp
|
|
|
|
- .waa, .wac, .wad, .wam
|
2010-04-20 23:07:45 +02:00
|
|
|
- .was
|
2009-03-28 06:49:16 +01:00
|
|
|
- .wsd
|
2008-12-19 08:26:38 +01:00
|
|
|
- .wsi
|
|
|
|
- .ydsp
|
|
|
|
- .ymf
|
|
|
|
- .zwdsp
|
|
|
|
|
|
|
|
PCM:
|
|
|
|
- .aiff (8 bit, 16 bit)
|
|
|
|
- .asd (16 bit)
|
2009-03-05 15:26:59 +01:00
|
|
|
- .baka (16 bit)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .bh2pcm (16 bit)
|
2010-04-10 12:55:14 +02:00
|
|
|
- .dmsg (16 bit)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .gcsw (16 bit)
|
|
|
|
- .gcw (16 bit)
|
2010-01-19 20:40:41 +01:00
|
|
|
- .his (8 bit)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .int (16 bit)
|
|
|
|
- .pcm (8 bit, 16 bit)
|
|
|
|
- .kraw (16 bit)
|
|
|
|
- .raw (16 bit)
|
|
|
|
- .rwx (16 bit)
|
|
|
|
- .sap (16 bit)
|
2009-06-17 18:42:15 +02:00
|
|
|
- .snd (16 bit)
|
|
|
|
- .sps (16 bit)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .str (16 bit)
|
|
|
|
- .xss (16 bit)
|
2010-04-20 23:07:45 +02:00
|
|
|
- .voi (16 bit)
|
2010-04-10 12:55:14 +02:00
|
|
|
- .wb (16 bit)
|
2009-03-13 00:42:56 +01:00
|
|
|
- .zsd (8 bit)
|
2008-12-19 08:26:38 +01:00
|
|
|
|
|
|
|
Xbox IMA ADPCM:
|
2009-03-05 15:26:59 +01:00
|
|
|
- .matx
|
|
|
|
- .wavm
|
|
|
|
- .wvs
|
|
|
|
- .xmu
|
|
|
|
- .xvas
|
|
|
|
- .xwav
|
2008-12-19 08:26:38 +01:00
|
|
|
|
|
|
|
Yamaha ADPCM:
|
2009-06-17 18:42:15 +02:00
|
|
|
- .adpcm
|
2010-02-15 10:02:31 +01:00
|
|
|
- .dcs+.dcsw
|
2009-03-05 15:26:59 +01:00
|
|
|
- .str
|
|
|
|
- .spsd
|
2008-12-19 08:26:38 +01:00
|
|
|
|
2009-03-05 15:26:59 +01:00
|
|
|
IMA ADPCM:
|
2010-06-13 06:41:26 +02:00
|
|
|
- .bar (IMA ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .dvi (DVI IMA ADPCM)
|
2009-06-17 18:42:15 +02:00
|
|
|
- .hwas (IMA ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .idvi (DVI IMA ADPCM)
|
2009-03-28 06:49:16 +01:00
|
|
|
- .ivaud (IMA ADPCM)
|
2010-01-10 22:22:20 +01:00
|
|
|
- .myspd (IMA ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .stma (DVI IMA ADPCM)
|
2009-03-05 15:26:59 +01:00
|
|
|
- .strm (IMA ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
|
|
|
|
multi:
|
2008-07-02 03:48:16 +02:00
|
|
|
- .aifc (SDX2 DPCM, DVI IMA ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .asf, .as4 (8/16 bit PCM, EACS IMA ADPCM)
|
|
|
|
- .ast (GC AFC ADPCM, 16 bit PCM)
|
2008-07-04 02:15:50 +02:00
|
|
|
- .aud (IMA ADPCM, WS DPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .aus (PSX ADPCM, Xbox IMA ADPCM)
|
|
|
|
- .brstm (GC DSP ADPCM, 8/16 bit PCM)
|
|
|
|
- .emff (PSX APDCM, GC DSP ADPCM)
|
2009-06-17 18:42:15 +02:00
|
|
|
- .fsb, .wii (PSX ADPCM, GC DSP ADPCM, Xbox IMA ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .genh (lots)
|
2016-12-11 13:08:59 +01:00
|
|
|
- .msf (PCM, PSX ADPCM, ATRAC3, MP3)
|
2009-12-16 07:12:53 +01:00
|
|
|
- .musx (PSX ADPCM, Xbox IMA ADPCM, DAT4 IMA ADPCM)
|
2008-08-03 16:58:03 +02:00
|
|
|
- .nwa (16 bit PCM, NWA DPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .psw (PSX ADPCM, GC DSP ADPCM)
|
2009-06-17 18:42:15 +02:00
|
|
|
- .rwar, .rwav (GC DSP ADPCM, 8/16 bit PCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .rwsd (GC DSP ADPCM, 8/16 bit PCM)
|
2010-04-10 14:06:25 +02:00
|
|
|
- .rsd (PSX ADPCM, 16 bit PCM, GC DSP ADPCM, Xbox IMA ADPCM, Radical ADPCM)
|
2009-03-05 15:26:59 +01:00
|
|
|
- .rrds (NDS IMA ADPCM)
|
2008-12-28 07:29:43 +01:00
|
|
|
- .sad (GC DSP ADPCM, NDS IMA ADPCM, Procyon Studios NDS ADPCM)
|
2016-12-11 13:08:59 +01:00
|
|
|
- .sgd/sgb/sgx (PSX ADPCM, ATRAC3plus, AC3)
|
2011-01-22 03:31:52 +01:00
|
|
|
- .seg (Xbox IMA ADPCM, PS2 ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .sng, .asf, .str, .eam (EA/XA ADPCM or PSX ADPCM)
|
2009-03-05 15:26:59 +01:00
|
|
|
- .strm (NDS IMA ADPCM, 8/16 bit PCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .ss7 (EACS IMA ADPCM, IMA ADPCM)
|
2009-03-05 15:26:59 +01:00
|
|
|
- .swav (NDS IMA ADPCM, 8/16 bit PCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .xwb (16 bit PCM, Xbox IMA ADPCM)
|
2009-06-17 18:42:15 +02:00
|
|
|
- .wav, .lwav (unsigned 8 bit PCM, 16 bit PCM, GC DSP ADPCM, MS IMA ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
|
|
|
|
etc:
|
2010-06-29 17:52:07 +02:00
|
|
|
- .2dx9 (MS ADPCM)
|
2009-01-03 14:23:51 +01:00
|
|
|
- .aax (CRI ADX ADPCM)
|
2008-07-20 09:28:17 +02:00
|
|
|
- .acm (InterPlay ACM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .adp (GC DTK ADPCM)
|
|
|
|
- .adx (CRI ADX ADPCM)
|
|
|
|
- .afc (GC AFC ADPCM)
|
|
|
|
- .ahx (MPEG-2 Layer II)
|
2008-08-02 12:48:46 +02:00
|
|
|
- .aix (CRI ADX ADPCM)
|
2016-12-11 13:08:59 +01:00
|
|
|
- .at3 (Sony ATRAC3 / ATRAC3plus)
|
2010-09-11 22:57:39 +02:00
|
|
|
- .baf (Blur ADPCM)
|
2011-01-13 09:11:58 +01:00
|
|
|
- .bgw (FFXI PS-like ADPCM)
|
2010-03-23 21:57:12 +01:00
|
|
|
- .bnsf (G.722.1)
|
2009-08-30 04:16:54 +02:00
|
|
|
- .caf (Apple IMA4 ADPCM)
|
2008-08-11 10:31:51 +02:00
|
|
|
- .de2 (MS ADPCM)
|
2016-12-11 13:08:59 +01:00
|
|
|
- .hca (CRI)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .kcey (EACS IMA ADPCM)
|
2011-01-13 09:11:58 +01:00
|
|
|
- .lsf (LSF ADPCM)
|
2009-01-04 16:36:06 +01:00
|
|
|
- .mwv (Level-5 0x555 ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .ogg, .logg (Ogg Vorbis)
|
2010-04-10 14:06:25 +02:00
|
|
|
- .p3d (Radical ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .rsf (CCITT G.721 ADPCM)
|
2009-11-18 01:46:36 +01:00
|
|
|
- .sab (Worms 4 soundpacks)
|
2010-03-23 21:57:12 +01:00
|
|
|
- .s14/.sss (G.722.1)
|
2009-09-04 06:19:39 +02:00
|
|
|
- .sc (Activision EXAKT SASSC DPCM)
|
2010-09-11 01:56:39 +02:00
|
|
|
- .scd (MS ADPCM, MPEG Audio, 16 bit PCM)
|
2009-06-17 18:42:15 +02:00
|
|
|
- .sd9 (MS ADPCM)
|
2010-04-10 12:55:14 +02:00
|
|
|
- .smp (MS ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .spw (FFXI PS-like ADPCM)
|
2009-11-22 15:06:45 +01:00
|
|
|
- .stm renamed .ps2stm (DVI IMA ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .str (SDX2 DPCM)
|
2009-11-18 01:46:36 +01:00
|
|
|
- .stx (GC AFC ADPCM)
|
2008-12-19 08:26:38 +01:00
|
|
|
- .um3 (Ogg Vorbis)
|
|
|
|
- .xa (CD-ROM XA audio)
|
|
|
|
|
|
|
|
loop assists:
|
|
|
|
- .mus (playlist for .acm)
|
|
|
|
- .pos (loop info for .wav)
|
|
|
|
- .sli (loop info for .ogg)
|
|
|
|
- .sfl (loop info for .ogg)
|
2008-05-13 21:53:31 +02:00
|
|
|
|
2016-12-11 13:08:59 +01:00
|
|
|
other:
|
|
|
|
- .adxkey (decryption key for .adx, in start/mult/add format)
|
|
|
|
- .hcakey (decryption key for .hca, in HCA Decoder format)
|
|
|
|
- .vgmstream/.vgms + .pos (to force FFmpeg formats + loop assist)
|
|
|
|
|
2008-05-13 21:53:31 +02:00
|
|
|
Enjoy!
|
|
|
|
-hcs
|