The VG Resource

Full Version: VGSC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
VGSC (Video Game Sound Converter) 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. I should point out that my program is only a wrapper and I cannot add to or modify the conversion code, so please don't ask me to.


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:

[Image: 4nIiCdk.png]

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:

[Image: Wl1eD5c.png]

This is just information about the files it's converting. You'll notice that files aren't compatible if you see "failed opening".
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 in the future that affect how the files are converted. For now however, this is probably not the option most people will use.

Compatibility
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), it should probably give you some results.


Download
You can download the latest version, v2.1, here.The program is only available for Windows.
The source code is available up on Github; keep in mind this is the code for the VGSC wrapper and not the vgmstream converter.

History log

Version 2.1 (Latest version)
-Prints stuff a bit nicer
-Added readme
-Fixed a bug that didn't disable looping by default
-Updated vgmstream to r1040

Version 2.0 (Download)
-Rewritten in Haxe
-Better stability
-No installer required
-No runtime required, runs natively
-Updated vgmstream to r1026

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 just want to say how helpful this is, feel free to post here or PM me Smile
Does this work with wii roms?
(08-01-2014, 04:40 PM)SmashBrosFan10 Wrote: [ -> ]Does this work with wii roms?

I think you mean "ISOs". Anyway, it will work with some Wii sounds, read the compatibility list for supported filetypes.
In attempting to use this program, a click to activate it causes the program to come up for a flicker of a second, then immediately vanish. Are there any user-side issues that might be responsible for this?
Oh I'm sorry about that! That's actually my fault, I forgot to include a specific file. This is an issue that happened with another application of mine but I didn't think to check if this had it as well. Thanks for catching that!

Here's the fixed version, I've updated the link in the OP as well. I've also given it the newest revision of vgmstream (I may as well) and removed some unnecessary files to shave off a few kilobytes Wink

Hopefully it should work now!
The program loads up fine, but now I'm getting a "failed opening" error; the files are in .swav format, pulled using Tinke. I'm a bit of an old man when it comes to "cmd" programs; is this simply operator error, or have I possibly fouled up somewhere else along the line?

Edit: running the program as administrator, and renaming the folder to remove any non alphanumeric characters hasn't helped, unfortunately.
It sounds like the .swav files are simply unsupported. Despite the extension being in the compatability list, this doesn't mean much in terms of the actual format of the file, and they might be different from most .swav files.

If you could upload a couple I can take a look though and see if I can help. I can't modify the program to support new formats, but maybe there's some other way to convert them.
http://www.mediafire.com/?swzz7sczszdgxru

This is the first folder's worth of files. The source game is Megaman Battle Network 5 Double Team DS.

Edit: for the record, Tinke can play them all without issue.

Edit2: SDAT Extractor has successfully ripped the whole lot. Thank you for your help, but it seems I have my answer.
Taking a quick look and comparing with some SWAV documentation, it simply looks like Tinke failed to extract them properly. Glad you found a solution though Smile
I highly recommend this, it works great!
New version Smile

Version 2.1 fixes a bug that it had where it would loop loopable files. This is default behaviour of vgmstream, but usually people will only want the file to play once when converted. I'd forgotten to add the flag to disable this, but someone informed me and I fixed it now.

I also did a couple of other smaller things like make my code a bit nicer and put it up on Github, make it print out things a little prettier (as well as a little credit thingy at the top), and updated the vgmstream version to r1040.

Enjoy!
tested some sdt formats and seem to ERROR.
What kind of error? If it's just incompatible then I can't do anything about that, but if it's something else it might be my fault.
It wont Rip Tornado Outbreak voices Sad why
(04-19-2017, 06:35 PM)Larryeedwards Wrote: [ -> ]It wont Rip Tornado Outbreak voices Sad why
Please don't necropost. Also, it seems you've intentionally made a bunch of posts in a row to reach 20. Are you intending on doing so to post a request?
Pages: 1 2 3 4