SMG2 Aw Files by dj4uk6cjm at 4:27 PM EDT on June 5, 2013
Has anyone figured out how to extract the wav samples from the aw files in the audiores folder that resides in the super mario galaxy 2 iso? I've tried 2 methods audio ripper described


"First, extract .aw files (in /AudioRes/Waves) and SMR.szs from image.
Second, use yaz0dec.exe (in szstools) to extract "SMR.szs 0.rarc" file from SMR.szs, and rename it: "Z2Sound.baa"
Third, put "Z2Sound.baa", "baad.exe" and "wsyster.exe" into the directory of .aw files
Fourth, type these in Command Prompt:
baad Z2Sound.baa
for %1 in (*.wsys) do wsyster %1"

and

"yaz0dec SMR.szs
ren "SMR.szs 0.rarc" SMR.baa
baad SMR.baa
for %%1 in (*.wsys) do wsyster %%1
del SMR.baa*"


Took me a while to figure out he was talking about a batch file...didn't work for me.

All I really want is the wav sample instruments, not the sfx.
Lemme see if I'm doing this right V:

Am I suppose to have the batch file in the same directory for it to work?

edited 4:38 PM EDT June 5, 2013

edited 4:39 PM EDT June 5, 2013
by Benjamin at 5:52 PM EDT on June 5, 2013
I'm pretty sure.

Speaking of .aw, does anyone know how to find the loop points?
by dj4uk6cjm at 8:50 PM EDT on June 5, 2013
Okay the second method works, I got it to work. Exactly 2799 samples 153MB worth. That's minus the other files that were in there that were or were not samples lol and idk benjamin im not a looping expert :P but i am thinking of using these to create a soundfont for my own personal use.


This probably works for TP too if i rename the Z2Sound.baa to SMR.szs, im gonna try it. :)


Edit: Nah doesnt seem to work after renaming so i guess there currently is no way of extracting samples from TP yet.

edited 8:59 PM EDT June 5, 2013
by starerik at 9:06 PM EDT on June 5, 2013
Software like Awave Studio can scan an audio file and suggest a loop point for you. It might not be the exact one Nintendo made, but might be pretty close.
by dj4uk6cjm at 9:46 PM EDT on June 5, 2013
Great, I have Awave Studio and have always known it to scan samples but didn't know it could automatically loop them.
by starerik at 9:48 PM EDT on June 5, 2013
If you figure it out, I wouldn't mind having that soundfont! :D
by Benjamin at 7:56 AM EDT on June 6, 2013
Yes, an SMG2 soundfont would be nice!

Be careful though, some of SMG's soundfont doesn't reappear in SMG2 (like the harp), so be careful if you wanna make soundfonts for both.
by dj4uk6cjm at 9:29 AM EDT on June 6, 2013
Yeah im looking though and listening to the samples to see which ones are instruments and which ones are just voice sounds, not going to use the sounds just the instruments. This should be easy but will take a fairly long time and I have noticed that while some need to be looped a majority of them do not actually need looping like the long strings and brass which is good because I always test my samples out looped and non-looped to see how they sound before making the final version.


God I love how much percussion is in this :) lol and I might not need to add reverb to these samples because some of them already have it in them but I will if i have to.

edited 9:37 AM EDT June 6, 2013
by starerik at 11:03 AM EDT on June 6, 2013
Even if they're long they still need looping, because playing them on higher pitch will shorten the notes and then it might cut off before you want it to.
by dj4uk6cjm at 11:19 AM EDT on June 6, 2013
Yeah that's true and unfortunately I don't have the original copy of the SMG ISO anymore so I can't make a soundfont of that yet until I find it again :P but anyways heres all the instrument sample files untouched or anything here for super mario galaxy 2.
by the_audio_ripper at 12:20 PM EDT on June 6, 2013
My pleasure.
by dj4uk6cjm at 10:56 PM EDT on June 6, 2013
Progress so far? I got 4 samples done -_- lol yeah I need help making an endless loop like this http://www.freesound.org/people/arightwizard/sounds/172117/ i dont know how to it with awave studio. :(
by Benjamin at 7:30 AM EDT on June 7, 2013
I think those samples in Galaxy are synthesized...
by dj4uk6cjm at 1:45 PM EDT on June 7, 2013
They still have to be looped anyway. Anyways I figured out what I was doing wrong thanks to a little help, the songs weren't looping right because I didn't copy and pick out a part of the song, paste it at the end, extended it and loop it that way. Awave Studio is making the loops sound too clicky and very jumpy making it sound terrible like 8bit unless they are suppose to sound 8bit which I completely have no knowledge of...


Now after the extending part all I have to do is adjust and smooth out the region borders and it'll sound right supposedly if I ever find a way to do that that is.

edited 1:46 PM EDT June 7, 2013
by starerik at 8:48 PM EDT on June 7, 2013
I don't have Windows up right now, but Awave Studio converts all samples to 8-bit by default. Open up the sample properties and on the right there will be a dropbox saying something like 8-bit PCM I believe.

edited 10:54 PM EDT June 7, 2013
by dj4uk6cjm at 11:16 PM EDT on June 7, 2013
Thanks i'll try that and got an update: Paulstretch works :) I don't need to find the sustain point anymore, heres an example = old version http://www.mediafire.com/listen/7p8fvqccvqtf3q6/Old_Version.wav and the new version http://www.mediafire.com/listen/dfag5txe05b9kp2/New_Version.wav.


Sounds pretty good huh? This doesn't come without some problems though, the sound can get a little loud if held on key for a long time and i have tested it but other than that it seems fine.

There is a small click/pop at the end but that can easily be fixed ;) one more thing, the sound completely drops if you tap the key just once do i need to add some kind of reverb or echo to make the note vibrate with just the tap or should i leave it as is?

edited 11:24 PM EDT June 7, 2013
by starerik at 2:14 PM EDT on June 8, 2013
Why did it become stereo? The samples should remain intact as they are in the game, they only need proper looping. The MIDI files have reverb programmed into them, or something similar.
by dj4uk6cjm at 4:32 PM EDT on June 8, 2013
Looks like paulstretch outputed the file to stereo and there is no option to change the setting to mono or stereo in the program but i'll think of another way to loop it hopefully... and midi files? I was only able to extract the wav samples didn't get any midi files.
by starerik at 5:05 PM EDT on June 8, 2013
Yep, I know. All I'm saying is that samples are always dry, the game audio engine produces effects. So no reverb should be added.
by dj4uk6cjm at 7:34 PM EDT on June 8, 2013
Ohh lol didn't know that :P thanks for clarifying that up, so loop is all that is needed then and nothing else?
by dj4uk6cjm at 8:48 PM EDT on June 8, 2013
Made a beta version of the soundfont and by "beta" I mean they were all done in a standard loop for testing, percussion is here.
by starerik at 10:37 AM EDT on June 9, 2013
"so loop is all that is needed then and nothing else?"

Exactly!

By the way, I know you said that was a test soundfont, but do you know how to merge and map different samples to the same instrument? Like all the piano samples in one. If you know what I mean.

Also, can you zip it and upload to http://sendspace.com? So I don't have to download them one by one. :)

edited 10:43 AM EDT June 9, 2013

edited 11:01 AM EDT June 9, 2013
by dj4uk6cjm at 6:13 PM EDT on June 9, 2013
Sure, I made a backup copy of all the original samples and even split them into two separate folders. One for the instrument samples and the other for the purcussion to help identify which is which.

http://www.sendspace.com/file/fpu2oz

I haven't had time to rename all the samples to there original instrument names like piano, french horn etc. same goes for the purcussion but if you or anyone else would like to do that for me that would help :) and I could spilt down all individual samples to there counterparts for specific soundfonts, for example all piano, marimba, french horn etc. samples would be in separate sf2 files.



Edit: Direct download method of the same zip if above link is broken.




Beta v1.1 of the SMG2 soundfont is out and with better loops! Get it here now!!
Sadly I wasn't able to loop them all. some were just unloopable or sounded terrible to the ear, meaning I listened to them all with different kinds of loops i tried and to no avail but i may keep working on them and see if i can improve them a little more, most of the ones that did loop were not too bad :) especially the strings and brass. Give it a try and tell me what you think.

edited 12:03 AM EDT June 10, 2013
by starerik at 11:42 PM EDT on June 9, 2013
Does anyone have the AW system fully figured out? I mean… there must be info about the sample content somewhere in the files, that shows the sample rate, channels and of course - loop points. I tried to get Awave to loop the piano files, but it failed me, so I started to manually loop them in Kontakt. But I grew impatient too fast and only did a few.

I can't believe the samples are 22kHz. It's not that disc space was an issue, the Galaxy games didn't fill up the 4 GB anyway.
by dj4uk6cjm at 12:11 AM EDT on June 10, 2013
starerik check out my latest update above, hope this helped some and yeah those piano files are a **** to loop lol dammit nintendo why you gotta make it so hard? :(


Hmm...come to think of it, when I first extracted the wav files i did get this other file that came inside the folder with the super mario galaxy 2 samples called SMR.baa.0.wsys. Still there too, could that be some kind of document containing all the AW details and loop points or something? How would i go about extracting this? Audio ripper you there?

edited 12:24 AM EDT June 10, 2013
by starerik at 10:09 AM EDT on June 10, 2013
The thing is, piano doesn't even loop. I mean.. the sound dies out after a while. So when looping piano samples it just sounds too synthetic after the loop. Not that sampled instruments sound real to begin with, but you know.

Yeah, I don't know anything about these formats, but the info file should be in the same folder as the samples. And that one could be it, but I don't know. I hope someone figures this out sometime.
by dj4uk6cjm at 2:44 PM EDT on June 10, 2013
There is also the possibility that some of them not all have to be looped at all, you know I've been thinking about what you said about the games audio engine and all? If it is possible that it has it's own artificial reverb or something then maybe we don't need to loop them, just a thought/theory but I actually hope that's the case because the way it's looking right now...hm I don't know lol.
by starerik at 3:32 PM EDT on June 10, 2013
I've also thought about it might be possible that the piano doesn't need looping, but I can't know for sure without seeing how long the notes in the MIDIs are.
by dj4uk6cjm at 4:30 PM EDT on June 10, 2013
Melodyne could do it, it converts monophonic wavs to midi nicely and is considered the best wav to midi converter software out there. I would try it myself but my trial version of melodyne expired months ago and I'm not paying $300 to $400 dollars just to do it anyways :P but other wav to midi converters work just as well too like intelliscore but not sure of the results though. It's worth a shot.



Heres the unknown file if anyone can or know how to extract it, could have some viable information on the AW wavs in that one file but I really don't know since it's only 10kb...

edited 4:31 PM EDT June 10, 2013
by starerik at 4:40 PM EDT on June 10, 2013
No, I meant the song MIDI's where samples are used! :) Sorry that I was unclear. If the piano notes in the Galaxy music are shorter than the sample, there's no need to loop them.
by starerik at 4:44 PM EDT on June 10, 2013
Well, it's probably just an encrypted "text" file. It only needs to show some numbers and letters.
by dj4uk6cjm at 4:56 PM EDT on June 10, 2013
Oh my bad lol that's okay, I am a total noob at hex editing but I looked at the file in a hex editor (HxD) and there were alot of words and symbols. Couldn't make out most of them but at about half way down toward the end there was a line that said B00mahit_0.aw, could mean something but I don't know.
by dj4uk6cjm at 5:08 PM EDT on June 10, 2013
Man making this soundfont is harder than I thought or should I say looping is harder actually.

Just think if we do get this soundfont complete we could remake the super mario 64 music with super mario galaxy instruments! Yes that is my goal to remake all the super mario 64 music super mario galaxy style haha wouldn't that be awesome? :D
by starerik at 5:44 PM EDT on June 10, 2013
I prefer the original samples. :P Didn't much like the remix of SM64 Main Theme in Galaxy 2, it lost all its personality and sounded like the re-arrangement from the Mario & Zelda Big Band Live concert. It used too many real instruments. Didn't even match the Galaxy sound.

But hey, that's me!

I have a question for anyone who's reading: does the AW extractor extract the actual wave files or does it just convert to WAV? Sample loop points could be lost in the translation. Nintendo always use AIFF format for wave files. Well, they did anyways. Can't find the info in the dev documents. I've looked through the GameCube and Wii dev manuals for anything helpful, but AW can not be found anywhere.

I don't know about WAV, but AIFF can include loop points.

edited 5:46 PM EDT June 10, 2013
by dj4uk6cjm at 6:05 PM EDT on June 10, 2013
Lol yeah but that's what I meant, using the original samples ;) I have a copy of all the original midi files from SM64DS which is basically the same as SM64 and the DLS samples. You could easily replace the dls samples with super mario galaxy 2 soundfont and they would sound exactly like SM64, just galaxy style :P something I might work on in the future if we ever get this soundfont finished that is.


It's cool I know how to identify sample instruments by ear with training of course. XD
by starerik at 6:09 PM EDT on June 10, 2013
I meant I prefer the SM64 with the original N64 samples. ;)
by dj4uk6cjm at 7:05 PM EDT on June 10, 2013
Well by any length I hope we do find the loop points, it gives me a good feeling though that most of them probably don't need looping.
by dj4uk6cjm at 10:56 AM EDT on June 14, 2013
Just wanted to upload and share the whole super mario galaxy 2 sample set if anyone wants to use it for their projects, includes voices as well.

edited 10:57 AM EDT June 14, 2013
by dj4uk6cjm at 2:45 PM EDT on July 17, 2013
I haven't worked on this much anymore, if anyone is still interested in taking their hand at looping the samples let me know. I would gladly like to see this one finished.


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source