Harry Potter Kinect [.mus]

Codecs, formats, encoding/decoding of game audio, video and music
McCunyao
Posts: 21
Joined: Fri Jan 06, 2017 12:33 pm

Harry Potter Kinect [.mus]

Post by McCunyao »

Hi everyone, I've been trying to rip the voice files for the game Harry Potter Kinect. The format seems to be a derivative of 007 Legends, but I'm having trouble converting the XMA Parse data to WAV.

The XMA Transform tool won't work on the MUS files unless the output parameter is changed from 0x00010000 to 0x00000800. Here's the command line I use in xmaparse:
xma_parse.exe %%F -b 0x00010000 -2 -o 0x00000800 -r PARSED\%%~nF.xma

After that I get some exported files, but they do not work with neither FFMpeg nor ToWav. Could you please tell me what am I doing wrong?
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Harry Potter Kinect [.mus]

Post by Puterboy1 »

Well, what a coincidence! I've been trying to make these files playable as well. If you become successful, maybe you can submit them to www.sounds-resource.com
Anexenaumoon
Posts: 119
Joined: Sun Dec 27, 2015 10:22 pm

Re: Harry Potter Kinect [.mus]

Post by Anexenaumoon »

It's because the audio is headerless, which is why it won't play. It's a mono-channel XMA variant 2 sound file at 48,000 hz. Attached is converted properly:
0006.zip
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Harry Potter Kinect [.mus]

Post by Puterboy1 »

Anexenaumoon wrote:It's because the audio is headerless, which is why it won't play. It's a mono-channel XMA variant 2 sound file at 48,000 hz. Attached is converted properly:
0006.zip

Can we have an English sample? The one you put up is in Spanish.
Anexenaumoon
Posts: 119
Joined: Sun Dec 27, 2015 10:22 pm

Re: Harry Potter Kinect [.mus]

Post by Anexenaumoon »

Puterboy1 wrote:
Anexenaumoon wrote:It's because the audio is headerless, which is why it won't play. It's a mono-channel XMA variant 2 sound file at 48,000 hz. Attached is converted properly:
0006.zip

Can we have an English sample? The one you put up is in Spanish.

If you can get him to upload a sample that IS english then sure. The one provided is Spanish. You’re more than capable of doing it yourself.
McCunyao
Posts: 21
Joined: Fri Jan 06, 2017 12:33 pm

Re: Harry Potter Kinect [.mus]

Post by McCunyao »

Anexenaumoon wrote:It's because the audio is headerless, which is why it won't play. It's a mono-channel XMA variant 2 sound file at 48,000 hz. Attached is converted properly:
0006.zip

Thank you! Could you please tell me what's the step required to add the header? I'm kinda lost and I want to extract all the Spanish voice files. (I might be able to help with the British ones as well)

EDIT: Nevermind, I've found the solution now via VGMToolbox's XMA Converter.

Use the following values:
Start Offset: 0x00000800
Block Size: 0x00010000
Data Size is at offset: 0x44, size 4, Little Endian

Add RIFF Header
Frequency 48000
Number of Channels is at offset 0x8C, size 4, Little Endian*

Enjoy your British ripping.

EDIT 2019/04/10: Fixed the specs, some audios are actually in Stereo.