It's a command-line utility, which means it doesn't have a graphical-user-interface. In simple terms, think "DOS application". I'm still slightly surprised people don't know what these are. These were all the rage a few years ago, and now, it seems as though no ones heard of them!
Basically, you need to open the command prompt. This is done by clicking the Start button > Programs > Accessories > Command Prompt. I'm going to essentially quote HCS at this point, rather than rewriting everything:
"Once in the command prompt, you navigate to the directory that contains the exe and the *.XA files. The beginning of the line tells you the current directory; you can go to a subdirectory by typing "cd DirectoryName" and you can go up to the containing directory by typing "cd ..". The easiest thing to do is to just say "cd \the\full\path" where "\the\full\path" is the whole path to the directory that contains your file. If you have different drives you may have to switch to the right drive letter first, by typing "C:" to get to the C: drive, or whatever drive it may happen to be on.
"Once you're in the right directory, typing "test" should run the program, it will give you an "Argument error" but that will at least confirm that you can run it."
You'll need the external DLLs in the same directory as test.exe (did you read the readme? It's there for a reason) for it to run. It will give you a list of options/arguments that VGMstream (aka test.exe) needs to know to process the file. To simply convert XA to WAV you should be able to type "test -o OutPutFileName.WAV InputFileName.XA" where "OutPutFileName.WAV" is the name of the WAV you want to create, and "InputFileName.WAV" is the XA you want to convert. To convert an entire directory of XA files to WAV files, you should be able to type:
for %A in (*.xa) do test -o "%A.wav" "%A"
^ In the above, if your files have spaces, the " marks are probably required, otherwise leave them out.
That should work for you, and convert all your XA files to waves. Good luck, and if that still doesn't work, I messed up. Come back, ask again, and I'm sure someone will answer correctly. Mouser X over and out.
According to Google's translator, the error message says:
---------------- C:\Program Files\foobar2000\components\test.exe was loaded but the DllRegisterServer entry point not found
C:\Program Files\foobar2000\components\test.exe is not a DLL or. Ocx file ----------------
What are you trying to do, and how are you trying to do it? Test.exe is a program, not a foobar2000 plugin/component. If you follow the process I went through in my last post, test.exe should convert the XA files to WAVs. You do not need foobar2000, or any other program, (except Windows, the OS) to run test.exe (but you do need the appropriate DLLs, as you've noticed). As such, I'm confused as to how this error message occurred, and from where it originated.
Did you try running test.exe from the command prompt as mentioned in my last post? If yes, I am thoroughly at a loss as to what's going on. What I interpret from the error message is that you attempted to "force" foobar2000 (or some other program) to load test.exe as a component/plugin, and that failed (which it should). I can't see how you could even get that kind of error message when running test.exe properly (from the command-prompt). Since HCS wrote it (well, with help from others to figure out various formats), maybe he'd have some better idea as to what's going on. Mouser X over and out.
I'm pretty old skool, but I still have "PSMPlay" and I use that to load up XAs (off an ISO, not the disc) and then convert them to wavs and that's all there is to it..
Here is my attempt to clarify the process the best I possibly can. I have uploaded a step-by-step process, in picture form, in the hopes that this will clear up any issues you're having. If it doesn't, I can't help you, as the problems you're describing do not match any experience I have ever had with this sort of thing.
You should now have a black box/window open that looks like this (specifically, I'm using Windows 7. The only real difference between Windows OS versions is the directory it opens to):
Step 03 - running VGMstream (aka, "test.exe") * Now push "enter" and type "test" (this is to make sure that test.exe is running properly) * It will look like this * Push "enter" to run "test". This will run "test.exe with no arguments/options. Test.exe will display what options are available to you. * Type the commands/options you want to get test.exe to decode the files. Specifically, here I've typed:
for %i in (*.xa) do test.exe -o "%i.wav" "%i"
This tells VGMstream (aka test.exe) to decode "%i" to "%i.wav" with no extra options. Windows/DOS will replace the %i with the appropriate file name automatically.
Could it be that there is something wrong with the .xa files i got ? (Game Soviet Strike) Do you have a Sample for me,that you already converted to .wav so i can redo it ?
It looks to me like your XA files are corrupt. Where did you get them, how did you rip them? If you simply copied them from the PSX CD, then they're broken. Ripping XA files from a disc requires tools. Specifically, I've heard that VGMToolbox can rip XA files (I've never done it myself, though I have been meaning to). Try getting the XA files again, using VGMToolbox, then try running the XA files through VGMstream (test.exe) again, and see if that makes a difference.
The other suggestion I would have is to upload your "funny" (aka not working) XA files, and have someone look at them. Although I cannot, there are those who can recognize what went wrong when copying/ripping the XA files. Most likely, as stated above, you didn't rip the XA files properly, and they need to be re-ripped (again, try VGMToolbox). Hopefully that helps. Mouser X over and out.
VGMToolbox specifically states (or stated; maybe it's been updated) that XA files should be ripped from a PS1 disc with a tool like CDMage before using VGMToolbox. VGMT can then properly detect the streams within those files.
I think JudgeIto might be right. But I don't think that CDmage can rip XA. I think you're supposed to use CDmage to rip the PSX game to ISO, and then rip the XAs from the ISO using VGMToobox. But, I can't remember one way or the other. Try the ISO method (if available) and try to rip the XAs using CDmage (if available). Hopefully someone can clarify the method of ripping XA with VGMToolbox soon. I've been meaning to use it, but I keep forgetting. I'd try to do it now, byt my PC is packed, and unavailable. Sorry I can't help more than that. Mouser X over and out.
No, CDmage's big feature is its ability to load an image and read/extract so many semi-standard file and track formats like, specifically, XA.
And VGMToolbox does state: Extract XA data from files. CDmage should be used to remove XA files from your disc images, and then you can extract the data here.
Loading a PS1 ISO or original disc through CDmage will give you a directory listing of the game's data. If the game uses XA sound, the disc might have one or two big XA files that you would extract with CDmage. You would then drag those files into VGMToolbox's CD-XA extractor, where it can scan them for individual tracks, insert the right headers, check the proper interleaves and all the other wonderful automagic stuff the Toolbox does.
So: 1) Rip the game to ISO by any means 2) Load the ISO in CDmage to extract XA 3) Split resulting XA files with VGMToolbox
Thanks for the clarification JudgeIto. I guess I made it quite obvious that I've only ever looked at CDmage (and not actually used it). Sorry about the mixup, but at least it's been thoroughly clarified. What JudgeIto said should work. Rip the XAs using CDmage, and then use VGMToolbox to split the XAs appropriately, and then send those through VGMstream (aka test.exe). In other words, following JudgeIto's above steps, it'd be:
1) Rip the game to ISO by any means 2) Load the ISO in CDmage to extract XA 3) Split resulting XA files with VGMToolbox 4) Run those XA files through VGMstream (aka test.exe) (see previous page on how to do this). 5) ??? 6) Profit! (aka, at this point, you should have WAV files from your XA files)
Good luck ripping the XA files. Mouser X over and out.
I know that snakemeat has said this before, so I figured I should point out that, apparently, a specific version of CDmage needs to be used to correctly rip XA files. That would be CDmage 1.02.1 beta 5, which can be found here, or here ( <- might not work? It's simplistic...). Hopefully these tools and instructions will help you correctly rip XAs. Good luck. Mouser X over and out.
by Executable at 7:43 AM EDT on September 28, 2010
1) Rip the game to ISO by any means 2) Load the ISO in CDmage to extract XA 3) Split resulting XA files with VGMToolbox 4) Run those XA files through VGMstream (aka test.exe) (see previous page on how to do this). 5) Profit! (aka, at this point, you should have WAV files from your XA files)
----------------------------------
This works great ! Thanks for the great Help and assistance.
Another Question,i extracted the .xa,and it contains only Voice. Is the Music somewhere else stored ? There are different filetypes on the Image.