LeatherHead333
08-24-2012, 11:19 PM
I've recently come across some games that do not have a gamerip for them on this site or anywhere else. What is the needed equipment to do your own gamerip of a game soundtrack? I assume you just need some program to extract them from the cd but i have no idea what those programs might be.

Any help would be great :)

tehƧP@ƦKly�ANK� -Ⅲ�
08-24-2012, 11:30 PM
Follow some of the members here who have done plenty of their own game ripping.
There's several here who do a lot.

There's also a forum called xentax that can "help" you.
Granted you don't sign up there and tell them you want to upload and share everything.
They have to protect themselves and don't condone to actions of piracy.

But sign-up and lurk through there for anything relevant. There's usually a command-line tool to rip the music for you. Or a scripting program, that's popular.

You'll need several programs. A hex editor (free ones work well, like HxD) to read the header info, to reveal the compression method or if it's encrypted.
Some games may be easy enough to extract using common archive extractors for game archives.
Encrypted files will need to be decrypted, if at all possible.
Also note that you may not always get a proper naming scheme for your file extractions. This may not always be fixable. Some volunteering developers may be able to find a way to find a naming list for all the files, but not always.

And sometimes the only thing to do, as a last resort, is to simply record the audio streams by sound card capturing.
Some games encrypt their data so well there's no other way to get the music.
IIRC, EA has a tendency to do that. C&C 3: Tiberium Wars was like, I think. For both music and sfx. I wanted the sfx mostly.

The extraction programs can vary, from 1 to many.
Sometimes you'll need to an archive program simply to extract more files and require a second program to convert a file to another compatible format and finally extract with a third program.
All without data-loss and zero transcoding.
IIRC, Arkham Asylum required such a lengthy process to extract all the sfx.

Command line tools aren't that hard to figure out. Scripting requires a little more patience.
Check some of the largest members in the VGM section who have down their own work and inquire.
And mention specific games, they may have tried the game already and may have bad news for you or just haven't had the time to upload.

EDIT: Extracting to get the original audio files is key. If it's OGG, keep it as the OGG and don't convert to MP3 for compatibility.
If you're going to share them, offer the original files as well as the lossy-transcoded MP3 files. Purists will want the original files without any further data loss.
If you're not going to share them and keep them to yourself, keep which ever you want.
But if you're going to convert anything to MP3 and share it, you must let everyone know. They'll ask if it's the original files or not.

And be wary of any WAV files. They may be WAV in format, but may have reduced sample rate and bitrate. I've seen many that are either 22.1kHz or 11kHz.

LeatherHead333
08-25-2012, 12:46 AM
These are old PS2 games so i'm sure it shouldn't be a problem. Thanks for the help :3

tehƧP@ƦKly�ANK� -Ⅲ�
08-25-2012, 01:34 AM
PS2 should be easy enough.
I believe you can read all the contents of the disc natively in Windows.

LeatherHead333
08-25-2012, 07:08 AM
Ok heres what i'm getting. I inserted the disc and was able to get into it's files. I checked a i clicked a file called data and found something labeled "SOUND". Now due to the huge size of the file i was guessing it's music. I used the HxD but i'm not sure where to go from there. All i'm getting is a bunch of numbers and letters i don't really understand. Where do i go from here? Also i tried that site and donated 5$ but i was denied access many times and it also asked me to donate again and due to the fact i'm poor right now i'm not willing to do that.

Sorry for the trouble :(

tehƧP@ƦKly�ANK� -Ⅲ�
08-26-2012, 12:16 AM
HxD is just a hex viewer to view all files.
It's purpose is to figure out how the files are archived.

Hang on, I've been out of the PS2 stuff for a long time.

Can you list the games you want to rip?

I'll do a quick test with an old PS2 game I have.

LeatherHead333
08-26-2012, 12:25 AM
They are all from the same franchise so i don't think any of their codings would be different.

Naruto ultimate ninja 2
Naruto ultimate ninja 3
Naruto ultimate ninja 4

That's all i really have planned.

tehƧP@ƦKly�ANK� -Ⅲ�
08-26-2012, 12:46 AM
I'm actually going to need a lot more information.

Can you take screenshots of the folders when you browse the disc in your comp.

So far it seems no one has had any real luck with this franchise.

The sound file you found, how big was it?
It was under 100mb, chances are it was just a very complex indexing system for when the music plays and what tracks.

Every game is different and hides the music differently.
I'll need to see all the files you have and the sizes they are.

I don't have the games so I can't tell you anything.
And the forums only talk about 5 having an unbreakable encryption.

LeatherHead333
08-26-2012, 01:43 AM



First one is what i see when i open the cd on "MY computer"

The second is found in the data folder and it lists something called SOUNDS.AFS which seems like it would be music. It is 613 mbs.

tehƧP@ƦKly�ANK� -Ⅲ�
08-26-2012, 02:22 AM
Thanks.

I read that you can just browse/extract using UltraISO or WinRAR.
If that doesn't work it's encrypted.

4 has been reported as encypted, so it won't work.
There's a lengthy work-around to extract encrypted data, but it requires much more work.

If it's not encrypted, you can continue.

Sounds.AFS could just sound effects.
Try this AFS extractor on it.

http://www.gamefront.com/files/3633315/AFS-Extract-7.1.3-Beta-5-Freeware-license

Try opening the CVM files with UltaISO or WinRAR.

Further research is limited.

LeatherHead333
08-26-2012, 05:39 AM



Heres what came up when i used AFS.

It appears winrar wasn't letting me extract the files and only gave me the option to add to archive. I downloaded UltraISO but with the trial version i'm not allowed to try to extract more than 94mbs at a time (and the file is 613). Do you know if the full version of UltaISO would work?

Thanks for your help so far by the way :3.

tehƧP@ƦKly�ANK� -Ⅲ�
08-26-2012, 08:19 AM
:erm: The AFS extractor won't extract files for you?

Use "export file".

LeatherHead333
08-26-2012, 09:47 PM
Oops my bad. Ok i exported them into a folder. Is there a converting program i need now?

tehƧP@ƦKly�ANK� -Ⅲ�
08-27-2012, 12:10 AM
Umm...what's the format now?

LeatherHead333
08-27-2012, 12:43 AM
the bgm.afs one is AFS format

the bgm a one is A format. It doesn't tell me what the format for the rest of them is for some reason.

tehƧP@ƦKly�ANK� -Ⅲ�
08-27-2012, 01:39 PM
I mean when you export them with AFS Extractor, what are the new file formats?

Try googling for different AFS extractors.
Add your game name or the SLUS #.

LeatherHead333
08-27-2012, 05:14 PM

Heres what i get. The bgm.afs is labeled AFS format. the bgm.a is labled A format which i have no idea what that is. Both are 282MB

The rest don't seem to have a format.

LeatherHead333
08-28-2012, 05:10 AM
Been looking for AFS extractors but none seem to work or they are the same as i the one i currently have. I also really can't tell which sites are safe or not.

jizames
08-30-2012, 08:28 AM
I can help. I've been ripping stuff from PS2 games for years so based on the screenshots you posted, it'll be a total cakewalk to guide you through. ;)

First off, AFS files are very common in PS2 games, they're essentially archives that almost 99% of the time contain audio files and usually in the ADX format. AFS Explorer was a great tool back in the day but vgmtoolbox is the best way to go. You can download it here: VGMToolbox | Free Audio & Video software downloads at SourceForge.net (http://sourceforge.net/projects/vgmtoolbox/)

Something else you'll need is the vgmstream plugin for Winamp, which will all you to decode and play the ADX files (and convert to wav via Winamp's Disk Writer plugin), assuming that it's the format used in those Naruto games. vgmstream plays a ton of game audio formats, so it's extremely useful to have. You can download vgmstream here: Index of /files/vgmstream (http://hcs64.com/files/vgmstream/) Download the latest version and make sure to read the readme file. It mentions how you need 3 specific files in your Winamp directory and contains the link on where to get them as well as where to place the vgmstream plugin.

After you've taken care of those two things, copy the AFS files from your Naruto disc to somewhere on your hard drive, anywhere's fine. Now, to extract the audio files just open VGMToolbox. There's a slew of tools that you can use for all kinds of audio formats but for now, you're just going to attempt to extract ADX files. Expand Misc. Tools > Extraction Tools > Streams > and click on CRI ADX Extractor. Assuming you've copied the AFS files already to your hard drive, just click the AFS file and drag it into the grey window of VGMToolbox (it says Drop Files Here). Give it some time and if it finds stuff, it'll create a subfolder with all of the contents. If it found ADX files, you can then play them through Winamp. Give it a go and reply with your results and then we can get you to converting them to wavs/mp3s. :]

LeatherHead333
08-30-2012, 12:25 PM
Thanks for the response zames :).

I've done everything you've told me so far and things were going smoothly till i tried to play them on winamp. Now being that i''m not very tech savvy i couldn't really figure out what the "readme" was telling me to do. Heres what it says.

Since Ogg Vorbis, MPEG audio, and G.722.1 are now supported, you will need to
have libvorbis.dll, libmpg123-0.dll, and libg7221_decode.dll.
You can get these from http://hcs64.com/files/vgmstream_external_dlls.zip

Put libvorbis.dll, libmpg123-0.dll, and libg7221_decode.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.

I have no idea how i could move them to the system directory or what that even is. And what does it mean by a place windows will recognize? Again sorry i'm not very tech savvy :(.

jizames
08-30-2012, 08:21 PM
Thanks for the response zames :).

I've done everything you've told me so far and things were going smoothly till i tried to play them on winamp. Now being that i''m not very tech savvy i couldn't really figure out what the "readme" was telling me to do. Heres what it says.

Since Ogg Vorbis, MPEG audio, and G.722.1 are now supported, you will need to
have libvorbis.dll, libmpg123-0.dll, and libg7221_decode.dll.
You can get these from http://hcs64.com/files/vgmstream_external_dlls.zip

Put libvorbis.dll, libmpg123-0.dll, and libg7221_decode.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.

I have no idea how i could move them to the system directory or what that even is. And what does it mean by a place windows will recognize? Again sorry i'm not very tech savvy :(.

lol It's ok, I had a feeling that part might stump you as it's a step I've forgotten a few times in the past. Just place those 3 files (libvorbis.dll, libmpg123-0.dll, and libg7221_decode.dll) in the same directory that winamp.exe is, so more than likely it's Program Files (x86)\Winamp. You don't need to put them in a system directory. in_vgmstream.dll should be in the Winamp\Plugins folder. You DON'T need test.exe, that's only for command line usage (which you won't be doing). You should then be able to play the adx files with Winamp.

After you've confirmed that the adx files can play in Winamp, you can now configure vgmstream's loop settings to fit your needs. Just enter Winamp's preferences (CTRL+P or just right click on the track controls or equalizer and select Options > Preferences), click Input (under Plug-ins), and double click vgmstream plugin. There's just a few settings you can change but they can be useful. Loop count means how many times you want the song to loop, fade length is for specifying how many seconds in the end-of-track fade starts, and fade delay tells winamp to delay the time until the fade kicks in. When tracks sound like they don't need to loop, it's good to use "Ignore looping" but you should be fine for the most part with loop normally.

My personal settings for it (which I feel work well with most game music) is loop count 2, fade length 10 seconds, and fade delay 5 seconds. You can fiddle with it and you can always return to default settings should you forget what it orginally was. Once you're happy with the way the songs sound/loop, it's time to convert them to wavs. To do that, just click Output (also under Plug-ins in Preferences) and double click Nullsoft Disk Writer. Set the directory that you want the wavs to output, make sure "Convert to format" is UNTICKED (it'll rip the ADX files from source attributes that way), and if you want, you can specify the playlist index so it'll show what track number the ADX files were in Winamp's playlist. Once that's all set, click ok and make sure that you have SHUFFLE and LOOP disabled. You can now just throw all the ADX files into Winamp's Playlist (or a single file, however many you want is fine) and double click the first file on the list. They'll all convert quickly to wav files to the folder you specified. Don't forget to change your output back to Nullsoft DirectSound or WaveOut when you're done!

At this point, it's up to you to convert them to your preferred format and tag them. mp3tag is a great program for tagging large amounts of files easily. I hope all of this helped out, if you run into any bumps, just ask here!

LeatherHead333
08-31-2012, 04:35 AM


Ok heres what i did. Not sure if that's right or not because it's still won't let me add it to winamp.

jizames
08-31-2012, 06:32 AM
Wrong place. lol You placed it where the Winamp shortcut is on your Start menu. You have to place it here:



Take note of the file path at the top. If you're NOT on a 64-bit version of Windows, then it'll just be called "Program Files" instead of "Program Files (x86)." libvorbis.dll, libmpg123-0.dll, and libg7221_decode.dll have to be in that folder (C:\Program Files (x86)\Winamp), same as the one that contains winamp.exe, just like in this picture above. See that folder called "Plugins" at the top? Inside that folder is where you place in_vgmstream.dll

You should be set once you've done that.

LeatherHead333
08-31-2012, 07:04 AM
YESHZ IT'S WORKING NOW!

Ok I'll do all the other stuff tomorrow and tell you the results. Thanks for your help :)

jizames
08-31-2012, 09:31 AM
YESHZ IT'S WORKING NOW!

Ok I'll do all the other stuff tomorrow and tell you the results. Thanks for your help :)

No problem, glad you got it working! Just follow everything from my post explaining how to convert them to wavs and you should be good to go.

LeatherHead333
08-31-2012, 09:45 AM
Ok i got everything converted to wavs fine. Thanks jzames! I did have just a FEW more questions to ask though. If you check the post that i showed what was in the data folder above there is a STREAM.AFS there along with the SOUND.AFS one i extracted. Well i went ahead and extracted the stream one and it contains this.

Naruto Ultimate Ninja 3: All Ougi's Pt.1 720p HD - YouTube (http://www.youtube.com/watch?v=naZCe8Zk968)

In the video above there are short sound clips for each characters ultimate technique. This is what was in the stream one. However when i went to listen to them i noticed the voices were still present. I was wondering was there a way to get rid of the voices and just have the music or is the best i can get for getting those songs. It's no big deal if it's not possible since i was able to extract all the songs from story mode, fights and games fine just wondering.

Also what converter do you use for wavs? The reason i ask is just to be on the safe side. I know just blindly downloading extractors can be dangerous.

LeatherHead333
08-31-2012, 10:00 PM
Whoa when and why did this get moved? o_O

jizames
08-31-2012, 11:16 PM
Ok i got everything converted to wavs fine. Thanks jzames! I did have just a FEW more questions to ask though. If you check the post that i showed what was in the data folder above there is a STREAM.AFS there along with the SOUND.AFS one i extracted. Well i went ahead and extracted the stream one and it contains this.

Naruto Ultimate Ninja 3: All Ougi's Pt.1 720p HD - YouTube (http://www.youtube.com/watch?v=naZCe8Zk968)

In the video above there are short sound clips for each characters ultimate technique. This is what was in the stream one. However when i went to listen to them i noticed the voices were still present. I was wondering was there a way to get rid of the voices and just have the music or is the best i can get for getting those songs. It's no big deal if it's not possible since i was able to extract all the songs from story mode, fights and games fine just wondering.

Also what converter do you use for wavs? The reason i ask is just to be on the safe side. I know just blindly downloading extractors can be dangerous.

Awesome, glad you got it converted to wavs! As far as the stuff in streams, if they contain voices then that's just the way it was originally recorded. There won't be a way to remove the voices, unless you somehow found other tracks buried in that data that was only music without the voices (which is unlikely). As far as converting mp3s, I use dBpoweramp but it's not freeware. I don't know what others here on ffshrine use but from what I can tell, LameXP looks to be a good, easy-to-use all-purpose converter. You can download it here: Download LameXP from SourceForge.net (http://sourceforge.net/projects/lamexp/files/LameXP.2012-04-26.Release-Static.Build-988.zip/download)

Just extract the contents to a folder anywhere on your PC (desktop is fine, or anywhere else for that matter). Accept the license thing and if you're just planning on converting wavs to mp3s, you can select "Don't Show Again" when it asks about the Nero AAC thing. First thing you'll want to do is click the Compression tab. It'll be on Lame MP3 by default. I don't know what your preferred mp3 quality is (CBR or VBR) but my personal preference (as well as many around here on FFShrine) is Quality-based (VBR) with the Quality Level at maximum (0). That's what "v0 MP3" means when you look through the download section. If you like Constant Bitrate (CBR), most around here go with Maximum (320) as well.

Once you've got that set, click the Advanced Options tab. Set the Lame Algorithm Quality to Best Quality (Very Slow). Don't be scared by the description of it being slow, that honestly just applies to pretty old computers. Most computers in the past 4, 5 years can convert mp3s fairly quickly at the highest settings. You probably won't need to adjust anything else in Advanced Options but feel free to examine some of them. Rename Output Files might be something you'd like to fiddle with in the future.

Next, click the Output Directory tab and pick a folder where you want the mp3s to go. That should be simple enough. lol After that, click the Meta Data tab and this is where you can give the mp3's some details before you convert the wavs. If you don't care for m3u (playlist files), then you can untick "Automatically generate playlist file (.m3u)" at the bottom. Now, you should be ready to convert your wavs.

Click the Source Files tab and as it says, you can drop your audio files on the window or alternatively, just click the Add File(s) button and find and select all the files you want to convert. Once you've done that, just click Encode Now! and when the process is done, just go to the output folder you specified and there they are! All you'll need to do at this point is tag them and possibly rename the files, which you can do with mp3tag (http://www.mp3tag.de/en/).

LeatherHead333
09-01-2012, 05:58 AM
Awesome thanks. I just finished editing everything and i'm good to go. I'll share this rip on this site asap :3.
Thanks for all your help guys i really appreciate it. I plan on doing all the naruto ultimate ninja games (expect the 5th one since it seem people are having problems with it).