Extracting Wii channel music by VideoGameScrapBook at 4:48 AM EDT on September 5, 2008
Has anybody extracted audio yet from WiiWare, channels, or channel intros?
I've managed to get to a sound.bin for the intro tune of WiiWare games, and discovered some source code that would allow decoding of the bns sound format. Unfortunately I'm not much of a programmer, so I don't know how to really make use of the C# code.
http://pastebin.com/f332ae5e4
Can anybody create a command line utility with this source code?
hcs, can this be worked into vgmstream?
USEFUL LINKS
Extracting files from Channel (WAD Unpacker and other tools) http://vettacossx.wordpress.com/2008/06/28/dastr33ts0ldiers-amazingly-well-made-wii-banner-tutorial-thanks-again-wii-iso-good-stuff/
Threw a little wrapper around it, and uploaded here (bin + src): http://www.savefile.com/files/1770973.
I had to modify BNRSound.cs in a few places. One to set the incoming stream to the constructor to the zero position (line 168), the other to grab data from a different part of the channel object (line 272). I also added a parameter to the constructor so it would output to the same dir as the executable.
My change on line 272 may be incorrect, but it is the only way I could get data from the sample file. Anyhow, it outputs data (with the sample file). I don't know the proper file extension for use with vgmstream, but with .raw it plays with a bit of static and fast, but you can tell it's music.
I really don't understand how all of this works, I just added a little interface. So maybe someone with more knowledge will be able to make this more correct.