Any graphics artist looking for something different? Why not join us and create 8-bit graphics in the C64 scene! Click here for more info.
Join also our Discord channel! Click here.

XMA transform

Get help on any and all audio formats, or chip in and help others!
AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 634 times

Re: XMA transform

Post by AlphaTwentyThree » Sun Nov 01, 2015 12:58 pm

Extreme110 wrote:Christ above Alpha, you're a goddam legend.

I've been trying to rip the music from Halo 3; I'm using the tool Adjutant, which automatically parses the extracted .xma files into towav.exe. Unfortunately, they don't support the cinematic music because it's multi-channel, and they couldn't get it work with towav.

Using your script, I could extract the headerless .xma files, put them through your script and then into towav. I initially forgot to change the default frequency so the files were coming out high pitched, but I solved that right quick.

Cheers for the hard work :)
Glad my script was useful to you. :)
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 634 times

Re: XMA transform

Post by AlphaTwentyThree » Mon Nov 16, 2015 11:00 pm

UPDATE

Added the variant from Star Wars: The Force Unleashed.

Script for xp/xd extraction: viewtopic.php?f=13&t=4450&p=112374#p112374
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 634 times

Re: XMA transform

Post by AlphaTwentyThree » Fri Nov 20, 2015 9:43 am

UPDATE

Corrected the variant from Star Wars: The Force Unleashed. Some variations weren't supported correctly. ;)
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

LarsMasters
beginner
Posts: 28
Joined: Mon Aug 25, 2014 3:30 am
Been thanked: 2 times

Re: XMA transform

Post by LarsMasters » Tue Dec 15, 2015 2:26 pm

Can you do Marvel Ultimate Alliance? It was found right here: http://zenhax.com/viewtopic.php?t=1075

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 634 times

Re: XMA transform

Post by AlphaTwentyThree » Tue Dec 15, 2015 6:59 pm

Can't do anything without samples...
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

LarsMasters
beginner
Posts: 28
Joined: Mon Aug 25, 2014 3:30 am
Been thanked: 2 times

Re: XMA transform

Post by LarsMasters » Wed Dec 16, 2015 5:49 am

An xma file?

LordNazo
ultra-n00b
Posts: 2
Joined: Fri Jan 01, 2016 11:08 pm

Re: XMA transform

Post by LordNazo » Sat Jan 02, 2016 2:33 am

Hi, Destiny isn't working with the script. You need an XMA, correct?

AnonBaiter
veteran
Posts: 82
Joined: Thu Oct 15, 2015 8:15 pm
Has thanked: 18 times
Been thanked: 6 times

Re: XMA transform

Post by AnonBaiter » Mon Jan 04, 2016 1:42 am

Is it just me or am i the only one who doesn't know how to convert XMA to WAV?

EDIT: Nevermind, I just discovered how to convert them anyway.

AnonBaiter
veteran
Posts: 82
Joined: Thu Oct 15, 2015 8:15 pm
Has thanked: 18 times
Been thanked: 6 times

Re: XMA transform

Post by AnonBaiter » Wed Jan 27, 2016 10:45 pm

https://mega.nz/#!IIszzbDQ!M_v3BWyYMgqh ... 74m6N8ebA8 - Here's an XMA2 file from Beautiful Katamari. It doesn't work with this script.

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 634 times

Re: XMA transform

Post by AlphaTwentyThree » Thu Jan 28, 2016 9:51 am

Have you tried different settings? Have you located xma_parse in the script folder?
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

AnonBaiter
veteran
Posts: 82
Joined: Thu Oct 15, 2015 8:15 pm
Has thanked: 18 times
Been thanked: 6 times

Re: XMA transform

Post by AnonBaiter » Thu Jan 28, 2016 5:45 pm

AlphaTwentyThree wrote:Have you tried different settings? Have you located xma_parse in the script folder?
>Have you tried different settings?
No.
>Have you located xma_parse in the script folder?
Yes.

But as it turns out, only 5 of the .nps files were converted into .xma files, although I have yet to test them. The rest of them however, didn't work because it caused some errors("zero frames in this packet"). I can upload all .nps files of them if you wish.

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 634 times

Re: XMA transform

Post by AlphaTwentyThree » Thu Jan 28, 2016 6:28 pm

UPDATE

New revision: XMA2 processing corrected (e.g. Beautiful Katamari *.nps).

Thanks go out to AnonBaiter for providing a sample.
If you like what you see, why not click the little Thank You button? ;) It will definitely motivate me! :)
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks ;)

slavikus
ultra-n00b
Posts: 1
Joined: Wed Feb 17, 2016 9:14 am

Re: XMA transform

Post by slavikus » Tue Apr 12, 2016 6:36 pm

Thanks for a great tool!

Trying to use it against Destiny's XMA files as they are definitely a RIFX from looking at the binary, but not having much success. Can you please look into it and maybe you'll have an insight?

Here's two examples:

http://slavikus.ru/1caKq
http://slavikus.ru/156Xg

Getting errors like

Code: Select all

Parse error: skip bits (14336) did not match previous packet overflow (0)
TIA!

AnonBaiter
veteran
Posts: 82
Joined: Thu Oct 15, 2015 8:15 pm
Has thanked: 18 times
Been thanked: 6 times

Re: XMA transform

Post by AnonBaiter » Tue May 17, 2016 8:46 pm

Hi.

So I tested these .xma files with your script and they all gave me errors, each with a different issue. Here are the files if you're interested:
https://mega.nz/#!1VUnlYjI!vbx3AHzUhs4n ... l8gkz38Fn4

Thanks.

kurczaczak
ultra-n00b
Posts: 1
Joined: Wed Jun 01, 2016 8:58 pm

Re: XMA transform

Post by kurczaczak » Wed Jun 01, 2016 9:09 pm

Tony Hawk's Project 8, Parse error: skip bits (18728) did not match previous packet overflow
https://mega.nz/#!CNkH2Q4T!6OxgFgluA3bv ... gVG7I68DMM

Post Reply