Ratatouille (Wii)

Codecs, formats, encoding/decoding of game audio, video and music
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Ratatouille (Wii)

Post by Mygoshi »

Hey! Is there any chance to be able to play the music from this game (.VAI extension)? I'm not sure the codec used but it is for sure ADPCM.

Thanks!
Last edited by Mygoshi on Wed Feb 17, 2021 11:38 pm, edited 2 times in total.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Ratatouille (Wii)

Post by Mygoshi »

Uploaded some samples: (expired)
Last edited by Mygoshi on Wed Feb 17, 2021 11:39 pm, edited 2 times in total.
puggsoy
Posts: 161
Joined: Sat Dec 13, 2014 1:01 am

Re: Ratatouille (Wii)

Post by puggsoy »

One thing I can tell you is that the second file is not an index file, it's an ELF file which is a sort of "executable" file for Wii. Also, index files are almost always guaranteed to be smaller than the file they're indexing.

As for the actual file, it looks to me like it already has the index information in it. Not sure about extracting or decoding, though.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Ratatouille (Wii)

Post by Mygoshi »

I found out the codec used was Gamecube DSP 4-bit ADPCM, does that help?
Last edited by Mygoshi on Wed Feb 17, 2021 11:39 pm, edited 2 times in total.
puggsoy
Posts: 161
Joined: Sat Dec 13, 2014 1:01 am

Re: Ratatouille (Wii)

Post by puggsoy »

It might help, but I can't promise anything. I'm not extremely skilled and am quite busy lately.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Ratatouille (Wii)

Post by Mygoshi »

Apparently, I need the coefficient offsets for the two channels to make a proper header...
Last edited by Mygoshi on Wed Feb 17, 2021 11:41 pm, edited 2 times in total.
Mygoshi
Posts: 654
Joined: Mon Oct 27, 2014 1:49 pm

Re: Ratatouille (Wii)

Post by Mygoshi »

Please?