2008-05-13 21:53:31 +02:00
|
|
|
vgmstream
|
|
|
|
|
|
|
|
This is vgmstream, a library for playing streamed audio from video games.
|
2008-07-05 13:49:29 +02:00
|
|
|
It is very much under development. There are two end-user bits: a command
|
2008-05-13 21:53:31 +02:00
|
|
|
line decoder called "test", and a simple Winamp plugin called "in_vgmstream".
|
|
|
|
|
2008-06-15 10:00:11 +02:00
|
|
|
--- needed files (for Windows) ---
|
2008-07-05 13:49:29 +02:00
|
|
|
Since Ogg Vorbis and MPEG audio are now supported, you will need to have
|
|
|
|
libvorbis.dll and libmpg123-0.dll.
|
|
|
|
I suggest getting libvorbis.dll here:
|
2008-06-15 10:00:11 +02:00
|
|
|
http://www.rarewares.org/files/ogg/libvorbis1.2.0.zip
|
2008-07-05 13:49:29 +02:00
|
|
|
and the companion Intel math dll:
|
2008-06-15 10:00:11 +02:00
|
|
|
http://www.rarewares.org/files/libmmd9.1.zip
|
2008-07-05 13:49:29 +02:00
|
|
|
And libmpg123-0.dll from this archive:
|
|
|
|
http://www.mpg123.de/download/win32/mpg123-1.4.3-x86.zip
|
2008-06-15 10:00:11 +02:00
|
|
|
|
2008-07-05 13:49:29 +02:00
|
|
|
Put libvorbis.dll, libmmd.dll, and libmpg123-0.dll somewhere Windows can find
|
|
|
|
them. For in_vgmstream this means in the directory with winamp.exe, or in a
|
|
|
|
system directory. For test.exe this means in the same directory as test.exe,
|
|
|
|
or in a system directory.
|
2008-06-15 10:00:11 +02:00
|
|
|
|
|
|
|
--- test.exe ---
|
2008-05-13 21:53:31 +02:00
|
|
|
Usage: test.exe [-o outfile.wav] [-l loop count]
|
2008-05-16 22:57:19 +02:00
|
|
|
[-f fade time] [-d fade delay] [-ipPcmxeE] 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
|
|
|
|
-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
|
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-05-16 22:57:19 +02:00
|
|
|
Drop the in_vgmstream.dll in your Winamp plugins directory.
|
2008-05-13 21:53:31 +02:00
|
|
|
|
|
|
|
---
|
|
|
|
File types supported by this version of vgmstream:
|
|
|
|
- .adx (CRI ADX ADPCM)
|
|
|
|
- .brstm (RSTM: GC/Wii DSP ADPCM, 8/16 bit PCM)
|
|
|
|
- .strm (STRM: NDS IMA ADPCM, 8/16 bit PCM)
|
|
|
|
- .adp (GC DTK ADPCM)
|
|
|
|
- .agsc (GC DSP ADPCM)
|
|
|
|
- .rsf (CCITT G.721 ADPCM)
|
|
|
|
- .afc (GC AFC ADPCM)
|
|
|
|
- .ast (GC/Wii AFC ADPCM, 16 bit PCM)
|
|
|
|
- .hps (GC DSP ADPCM)
|
|
|
|
- .dsp (GC DSP ADPCM)
|
|
|
|
- standard, with dual file stereo
|
|
|
|
- RS03
|
|
|
|
- Cstr
|
|
|
|
- .stm
|
2008-05-16 00:06:33 +02:00
|
|
|
- _lr.dsp
|
2008-05-13 21:53:31 +02:00
|
|
|
- .gcsw (16 bit PCM)
|
|
|
|
- .ads/.ss2 (PSX ADPCM)
|
|
|
|
- .npsf (PSX ADPCM)
|
|
|
|
- .rwsd (Wii DSP ADPCM, 8/16 bit PCM)
|
|
|
|
- .xa (CD-ROM XA audio)
|
|
|
|
- .rxw (PSX ADPCM)
|
|
|
|
- .int (16 bit PCM)
|
2008-05-13 22:34:13 +02:00
|
|
|
- .stm/.dsp (GC DSP ADPCM)
|
2008-05-13 21:53:31 +02:00
|
|
|
- .sts (PSX ADPCM)
|
|
|
|
- .svag (PSX ADPCM)
|
2008-05-15 00:56:07 +02:00
|
|
|
- .mib, .mi4 (w/ or w/o .mih) (PSX ADPCM)
|
2008-05-15 00:30:36 +02:00
|
|
|
- .mpdsp (GC DSP ADPCM)
|
2008-05-16 00:06:33 +02:00
|
|
|
- .mic (PSX ADPCM)
|
|
|
|
- .mss (GC DSP ADPCM)
|
|
|
|
- .gcm (GC DSP ADPCM)
|
2008-05-17 21:26:55 +02:00
|
|
|
- .raw (16 bit PCM)
|
2008-05-18 07:41:48 +02:00
|
|
|
- .vag (PSX ADPCM)
|
2008-06-09 02:50:52 +02:00
|
|
|
- .gms (PSX ADPCM)
|
|
|
|
- .str+.sth (PSX ADPCM)
|
|
|
|
- .ild (PSX APDCM)
|
|
|
|
- .pnb (PSX ADPCM)
|
|
|
|
- .wavm (XBOX IMA ADPCM)
|
|
|
|
- .xwav (XBOX IMA ADPCM)
|
|
|
|
- .wp2 (PSX ADPCM)
|
|
|
|
- .str (GC DSP ADPCM)
|
|
|
|
- .sng, .asf, .str, .eam (EA/XA ADPCM or PSX ADPCM)
|
|
|
|
- .cfn (GC DSP ADPCM)
|
|
|
|
- .vpk (PSX ADPCM)
|
2008-07-12 17:38:05 +02:00
|
|
|
- .genh (PSX ADPCM, XBOX IMA ADPCM, GC DTK ADPCM, 8/16 bit PCM, SDX2, DVI, MPEG)
|
2008-06-15 10:00:11 +02:00
|
|
|
- .ogg, .logg (Ogg Vorbis)
|
2008-06-15 11:34:59 +02:00
|
|
|
- .sad (GC DSP ADPCM)
|
2008-06-25 18:48:03 +02:00
|
|
|
- .bmdx (PSX ADPCM)
|
2008-06-29 03:30:13 +02:00
|
|
|
- .wsi (Wii DSP ADPCM)
|
2008-07-02 03:48:16 +02:00
|
|
|
- .aifc (SDX2 DPCM, DVI IMA ADPCM)
|
|
|
|
- .aiff (8/16 bit PCM)
|
2008-07-02 05:57:21 +02:00
|
|
|
- .str (SDX2 DPCM)
|
2008-07-04 02:15:50 +02:00
|
|
|
- .aud (IMA ADPCM, WS DPCM)
|
2008-07-05 13:49:29 +02:00
|
|
|
- .ahx (MPEG-2 Layer II)
|
2008-07-06 10:59:14 +02:00
|
|
|
- .ivb (PS2 ADPCM)
|
2008-07-06 14:23:37 +02:00
|
|
|
- .amts (GC DSP ADPCM)
|
|
|
|
- .svs (PS2 ADPCM)
|
2008-07-06 20:05:04 +02:00
|
|
|
- .wav (8/16 bit PCM)
|
|
|
|
- .pos (8/16 bit PCM)
|
2008-07-11 02:41:21 +02:00
|
|
|
- .nwa (16 bit PCM)
|
2008-07-12 17:20:39 +02:00
|
|
|
- .xss (16 bit PCM)
|
|
|
|
- .sl3 (PS2 ADPCM)
|
|
|
|
- .hgc1 (PS2 ADPCM)
|
|
|
|
- .aus (PS2 ADPCM)
|
|
|
|
- .rws (PS2 ADPCM)
|
2008-07-16 05:21:37 +02:00
|
|
|
- .fsb (PS2 ADPCM, Wii DSP ADPCM, Xbox IMA ADPCM)
|
|
|
|
- .rsd (PS2 ADPCM, 16 bit PCM)
|
|
|
|
- .rwx (16 bit PCM)
|
|
|
|
- .xwb (16 bit PCM)
|
|
|
|
- .asf, .as4 (8/16 bit PCM, EACS IMA ADPCM)
|
|
|
|
- .cnk (PS2 ADPCM)
|
|
|
|
- .xa30 (PS2 ADPCM)
|
|
|
|
- .musc (PS2 ADPCM)
|
2008-07-17 03:47:08 +02:00
|
|
|
- .leg (PS2 ADPCM)
|
|
|
|
- .filp (PS2 ADPCM)
|
|
|
|
- .ikm (PS2 ADPCM)
|
|
|
|
- .musx (PS2 ADPCM)
|
2008-07-18 22:12:52 +02:00
|
|
|
- .sfs (PS2 ADPCM)
|
2008-07-18 22:54:36 +02:00
|
|
|
- .bg00 (PS2 ADPCM)
|
2008-07-18 22:12:52 +02:00
|
|
|
- .dvi (DVI IMA ADPCM)
|
2008-07-18 22:39:34 +02:00
|
|
|
- .kcey (EACS IMA ADPCM)
|
2008-07-19 18:23:27 +02:00
|
|
|
- .rstm (PS2 ADPCM)
|
2008-05-13 21:53:31 +02:00
|
|
|
|
|
|
|
Enjoy!
|
|
|
|
-hcs
|