05-12-2012, 09:55 AM
(This post was last modified: 04-01-2014, 04:24 AM by puggsoy.)
Video Game Sound Converter (a.k.a VGS Converter or just VGSC) is a program that basically has the ability to convert a range of different video game audio formats into .wav files. It can do multiple files at once, and it can be a mixture of formats.
The program uses a library called vgmstream, which does that actual converting. The range of file formats is quite large, and will hopefully include what people here wish to convert.
Unfortunately I'm not really useful at C++ or C# or any language that could use this library properly. I do know Haxe though, which can run separate programs.
One the very page that I linked to above, there's a link to some builds of a test program. This test program is basically a command-line application that samples what the library can do. Obviously it's not meant to be used properly, but it's got a few parameters that customize how files are converted. Unfortunately this is very tedious and pretty much useless if you want to convert a bunch of files, since it can only do one at a time.
What my application does is it accesses files selected by the user, feeds them through to this program (along with some parameters) and then the program does the rest, producing a .wav file. All my program really does is makes it easier for people to use this program, giving it a UI and the ability to convert multiple files (that is, converting files one after the other).
How to use
There are two ways to use this. The first and most straightforward way is to just open VGSC.exe, you'll see this:
A file opening dialog will come up. Navigate to and select the files you want to convert. Now a folder selection dialog will appear; use that to select the folder you want the converted files to be saved in (note: the folder must exist beforehand). You'll see a bunch of text come up, similar to this:
The other way you can run it is just through the command-line, either using the command prompt or writing a .bat file. This is the usage:
Code: VGSC inDir outDir
inDir: Path to directory containing files to convert
outDir: Path to directory where converted files will be saved
I'm planning to add extra optional arguments that affect how the files are converted in the future. For now however, this is probably not the option most people will use.
Compatability
Here is a list of the currently supported files according to the vgmstream readme (you can find the readme itself in the vgmstream subfolder of the application). I can't guarantee that all or most of these will work, I've only tested a few of them. However I believe that as long as you got the file from the console associated with its extension below (e.g. a .ss2 file from a PSX game), you should have no trouble converting it.
vgmstream readme Wrote:--- 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.
PS2/PSX ADPCM:
- .ads/.ss2
- .ass
- .ast
- .bg00
- .bmdx
- .ccc
- .cnk
- .dxh
- .enth
- .sir
- .filp
- .gcm
- .gms
- .hgc1
- .ikm
- .ild
- .ivb
- .joe
- .kces
- .khv
- .leg
- .mcg
- .mib, .mi4 (w/ or w/o .mih)
- .mic
- .mihb (merged mih+mib)
- .msa
- .msvp
- .musc
- .npsf
- .pnb
- .psh
- .rkv
- .rnd
- .rstm
- .rws
- .rxw
- .snd
- .sfs
- .sl3
- .smpl (w/ bad flags)
- .ster
- .str+.sth
- .str (MGAV blocked)
- .sts
- .svag
- .svs
- .tec (w/ bad flags)
- .tk5 (w/ bad flags)
- .vas
- .vag
- .vgs (w/ bad flags)
- .vig
- .vpk
- .vs
- .vsf
- .wp2
- .xa2
- .xa30
GC/Wii DSP ADPCM:
- .aaap
- .agsc
- .amts
- .asr
- .bns
- .bo2
- .capdsp
- .cfn
- .ddsp
- .dsp
- standard, optional dual file stereo
- RS03
- Cstr
- _lr.dsp
- MPDS
- .gca
- .gcm
- .gsp+.gsp
- .hps
- .idsp
- .ish+.isd
- .lps
- .mpdsp
- .mss
- .mus (not quite right)
- .ndp
- .pdt
- .sdt
- .smp
- .sns
- .spt+.spd
- .ssm
- .stm/.dsp
- .str
- .str+.sth
- .sts
- .swd
- .thp, .dsp
- .tydsp
- .vjdsp
- .waa, .wac, .wad, .wam
- .was
- .wsd
- .wsi
- .ydsp
- .ymf
- .zwdsp
PCM:
- .aiff (8 bit, 16 bit)
- .asd (16 bit)
- .baka (16 bit)
- .bh2pcm (16 bit)
- .dmsg (16 bit)
- .gcsw (16 bit)
- .gcw (16 bit)
- .his (8 bit)
- .int (16 bit)
- .pcm (8 bit, 16 bit)
- .kraw (16 bit)
- .raw (16 bit)
- .rwx (16 bit)
- .sap (16 bit)
- .snd (16 bit)
- .sps (16 bit)
- .str (16 bit)
- .xss (16 bit)
- .voi (16 bit)
- .wb (16 bit)
- .zsd (8 bit)
Xbox IMA ADPCM:
- .matx
- .wavm
- .wvs
- .xmu
- .xvas
- .xwav
Yamaha ADPCM:
- .adpcm
- .dcs+.dcsw
- .str
- .spsd
IMA ADPCM:
- .bar (IMA ADPCM)
- .dvi (DVI IMA ADPCM)
- .hwas (IMA ADPCM)
- .idvi (DVI IMA ADPCM)
- .ivaud (IMA ADPCM)
- .myspd (IMA ADPCM)
- .stma (DVI IMA ADPCM)
- .strm (IMA ADPCM)
multi:
- .aifc (SDX2 DPCM, DVI IMA ADPCM)
- .asf, .as4 (8/16 bit PCM, EACS IMA ADPCM)
- .ast (GC AFC ADPCM, 16 bit PCM)
- .aud (IMA ADPCM, WS DPCM)
- .aus (PSX ADPCM, Xbox IMA ADPCM)
- .brstm (GC DSP ADPCM, 8/16 bit PCM)
- .emff (PSX APDCM, GC DSP ADPCM)
- .fsb, .wii (PSX ADPCM, GC DSP ADPCM, Xbox IMA ADPCM)
- .genh (lots)
- .musx (PSX ADPCM, Xbox IMA ADPCM, DAT4 IMA ADPCM)
- .nwa (16 bit PCM, NWA DPCM)
- .psw (PSX ADPCM, GC DSP ADPCM)
- .rwar, .rwav (GC DSP ADPCM, 8/16 bit PCM)
- .rwsd (GC DSP ADPCM, 8/16 bit PCM)
- .rsd (PSX ADPCM, 16 bit PCM, GC DSP ADPCM, Xbox IMA ADPCM, Radical ADPCM)
- .rrds (NDS IMA ADPCM)
- .sad (GC DSP ADPCM, NDS IMA ADPCM, Procyon Studios NDS ADPCM)
- .seg (Xbox IMA ADPCM, PS2 ADPCM)
- .sng, .asf, .str, .eam (EA/XA ADPCM or PSX ADPCM)
- .strm (NDS IMA ADPCM, 8/16 bit PCM)
- .ss7 (EACS IMA ADPCM, IMA ADPCM)
- .swav (NDS IMA ADPCM, 8/16 bit PCM)
- .xwb (16 bit PCM, Xbox IMA ADPCM)
- .wav, .lwav (unsigned 8 bit PCM, 16 bit PCM, GC DSP ADPCM, MS IMA ADPCM)
etc:
- .2dx9 (MS ADPCM)
- .aax (CRI ADX ADPCM)
- .acm (InterPlay ACM)
- .adp (GC DTK ADPCM)
- .adx (CRI ADX ADPCM)
- .afc (GC AFC ADPCM)
- .ahx (MPEG-2 Layer II)
- .aix (CRI ADX ADPCM)
- .baf (Blur ADPCM)
- .bgw (FFXI PS-like ADPCM)
- .bnsf (G.722.1)
- .caf (Apple IMA4 ADPCM)
- .de2 (MS ADPCM)
- .kcey (EACS IMA ADPCM)
- .lsf (LSF ADPCM)
- .mwv (Level-5 0x555 ADPCM)
- .ogg, .logg (Ogg Vorbis)
- .p3d (Radical ADPCM)
- .rsf (CCITT G.721 ADPCM)
- .sab (Worms 4 soundpacks)
- .s14/.sss (G.722.1)
- .sc (Activision EXAKT SASSC DPCM)
- .scd (MS ADPCM, MPEG Audio, 16 bit PCM)
- .sd9 (MS ADPCM)
- .smp (MS ADPCM)
- .spw (FFXI PS-like ADPCM)
- .stm renamed .ps2stm (DVI IMA ADPCM)
- .str (SDX2 DPCM)
- .stx (GC AFC ADPCM)
- .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) This compatibility list is from the readme, which hasn't been updated in a while. This is most likely because no major formats or features have been added, but there have been slight fixes and tweaks (hence newer vgmstream versions in each release), which you can view on the vgmstream SourceForge changelog. The changes made are mostly relatively small and only matter for specific situations and thus I'm not going to update VGSC for each revision, only when I update VGSC itself or if significant changes have been made to it. However, if you want me to update VGSC to a new revision of vgmstream for a specific purpose, feel free to say so.
Download
You can download the latest version, v2.0, here. The program is only available for Windows.
History log
Version 2.0 (Latest version)
-Rewritten in Haxe
-Better stability
-No installer required
-No runtime required, runs natively
-Updated vgmstream to r1024
Version 1.2 ( Download)
-Implemented file adding/removing system
-Allowed dragging files into window
-Allowed adding of folders and their subfolders
-Made the window resizable
-The application now remembers the last folder you added files from
-Updated vgmstream to r1007
Version 1.1 ( Download)
-Added save location options.
-Updated vgmstream to r979
Version 1.0 ( Download)
Initial release. Uses vgmstream r975.
If you find any bugs, have any questions, or think the compatibility list is wrong, please post here. Comments on how awesome you think this is are also welcome, of course
Thanked by: Previous, Ploaj, Gaia, Garamonde, redblueyellow, ~Axis~, TGE, Guy, Shade, Mag, kilik, SuperFlomm, SuperMonkeyBallfan, Mystie, unknowntrojan, slex989, SuperTVGRFan18496, Demonslayerx8, Superjustinbros, Warechu, ToastyKip, ky666, LukeWarnut
Posts: 999
Threads: 40
Joined: Aug 2010
Wow this will really come in handy
05-12-2012, 11:56 AM
(This post was last modified: 05-12-2012, 11:58 AM by Gaia.)
This will be useful, now I can rip SE from games I couldn't before!
... Yet it appears to re-direct me elsewhere. So what I reccomend is uploading it onto mediafire.
Sorry about that. Google Drive struggles with direct links, looks like it's not working for people other than me.
I've changed it so that it's not a direct link. It should work now, but if it doesn't I'll use Mediafire.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Good, now that I downloaded it making music and sound through a rom should be easier (I have two certain roms that can do that).
Posts: 1,678
Threads: 58
Joined: Mar 2012
Wow Puggsoy! This tool will come in very handy! Thanks for making it! Are you planning to put in more any compatible formats? Just wondering...
Anonymous Wrote:...the world is so much simpler if you just dont give a FUCK...
Posts: 3,787
Threads: 75
Joined: May 2008
(05-13-2012, 02:33 AM)BlueBlur97 Wrote: Wow Puggsoy! This tool will come in very handy! Thanks for making it! Are you planning to put in more any compatible formats? Just wondering... If you had actually read his description, you'd know that format support is up to vgmstream ;-)
05-13-2012, 03:56 AM
(This post was last modified: 05-13-2012, 10:42 AM by puggsoy.)
Indeed, as Previous says, I can't decide which formats are supported, that's up to vgmstream. I'll check every now and then, and will update the program with any new versions of vgmstream that may appear, but last I checked the project doesn't seem very active. If I ever get into it, I might be able to expand it myself, but for the time being I'm afraid I can't do much. The current range is still pretty wide though, only the newer consoles (Wii (U), 3DS, etc) might use unknown formats.
However I might occasionally add some other features that I do have control over, such as allowing you to choose vgmstream parameters. If I can find a way, I might even be able to let users choose an output folder (instead of the .wav files being in the same folder as the original files.)
By the way, Google Drive doesn't really seem fit for public file sharing as much as private file storage, so I've updated the link to a Mediafire one. There should be no more problems with downloading now. It's still the same app though, no changes or updates.
EDIT: Huh, it seems that vgmstream is still active, the most recent update (the one that's used in VGS Converter right now) was from the 21st of March this year. I'm following the page for changes now, and will update this VGS Converter whenever a useful new version appears. Some versions may add nothing useful for my app though, in those cases I obviously won't update.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
OK, right, really sorry about this. I tested my app after installation for the first time (all other tests had been debug runs during development), and I noticed that it doesn't actually work. Well, it opened, but it didn't convert the files, or even attempt to. Don't know why nobody else reported it, but I'm guessing that no-one's used it yet.
Anyway, figured out what was wrong (application options required for release that I changed just before I released it messed it up) and fixed it. I decided to add the version number to the end of the installer to keep track, and I changed the installer's folder options a little bit (it automatically creates a subfolder for the folder you select). It's also an .exe now, instead of .air.
Anyway this isn't an update, I haven't added anything only fixed it, but anybody who's already downloaded the old version should get this instead. Just use the same link in the first post, I re-linked it.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Posts: 1,567
Threads: 59
Joined: Feb 2012
Oh damn yes, I was waiting for a gui version of Vgmstream so I could mass convert stuff. Thanks man!
Posts: 3,787
Threads: 75
Joined: May 2008
Welp, sorry, but apparently, I don't have any weird exotic audio files for conversion. The weirdest stuff I have are some .rws files (from Silent Hill Origins, PSP) which are not accepted (but play just fine in MediaPlayer Classic (while WinAmp rejects them)). Sooo I can't really test it. Sorry.
05-27-2012, 12:26 PM
(This post was last modified: 01-04-2013, 10:48 AM by puggsoy.)
Right, a new version's out!
Version 1.1
Download
Not much new going on here, but you now have more options of where your converted files go. You can choose to keep them in the same folder as the originals, in a new folder called "wavs" (within the original folder), or you can choose a totally different directory altogether.
This took some time to actually get working, so it's possible that it might not function properly under certain circumstances. Please be sure to say if you notice anything weird, especially file type incompatibility where there shouldn't be (since that's what most errors will result in).
I also updated it with the newest version of vgmstream (r797, released on 15 May), although the readme doesn't mention any new formats, and I couldn't find anything different. Maybe it's just more stable, I dunno.
If you have any suggestions for future features (NOT additional formats), feel free to post them here (or PM me if you'd prefer, whatever).
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Posts: 1,567
Threads: 59
Joined: Feb 2012
I FUCKING LOVE THIS PROGRAM!
I've been using it alot, because I'm porting SA2 music to Generations.
Anyone who wants a beta, pm me.
06-02-2012, 04:01 AM
(This post was last modified: 06-02-2012, 04:02 AM by puggsoy.)
I glad you like it so much, it's good to know I'm helping people! Be sure to tell me if you stumble upon a format or something that's in the compatibility list but doesn't work, or have any problems with save locations.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Posts: 42
Threads: 11
Joined: Jan 2012
Thanks!!! This is useful!!! Now I can convert the sound files I need!!!
''ERROR!!! NO SIGNATURE AVAILABLE!!!''
|