Offtopic: Into Commodore 64 (6502) coding, pixeling or music?
Xentax is looking for new members for the C64 activities!
Just drop us a message at forum@xentax.com and join the Scene Team!

Forum rules: Click here

XMA transform

Get help on any and all audio formats, or chip in and help others!
brendan19
ultra-veteran
ultra-veteran
Posts: 377
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 82 times

Re: XMA transform

Post by brendan19 » Wed Aug 12, 2015 1:27 pm

Rename xma_test to xma_parse. It's the exact same program. It will work just fine then :)

Also, here's a copy of ToWAV

JYSB59
n00b
Posts: 10
Joined: Sun Aug 09, 2015 12:04 pm

Re: XMA transform

Post by JYSB59 » Thu Aug 13, 2015 12:02 pm

brendan thank you :D , it works perfectly, but I have another question, I would like to know how created a file XMA from an XACT project, I heard about a xma_encode.exe who find in the XDK but I is not found , thanx

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

Re: XMA transform

Post by AlphaTwentyThree » Thu Aug 13, 2015 3:28 pm

JYSB59 wrote:I have xml_parser.cpp / .h and xma_test.exe but not xma_parse.exe, could you do without a copy of ToWAV please, the website that was proposing was the close and he was not found , Thanx
Rename xma_test to xma_parse and it will work. Will upload towav later.
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 ;)

JYSB59
n00b
Posts: 10
Joined: Sun Aug 09, 2015 12:04 pm

Re: XMA transform

Post by JYSB59 » Thu Aug 13, 2015 6:48 pm

Thanx Alpha

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

Re: XMA transform

Post by AlphaTwentyThree » Thu Aug 13, 2015 7:10 pm

Here's towav.
You do not have the required permissions to view the files attached to this post.
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 ;)

JYSB59
n00b
Posts: 10
Joined: Sun Aug 09, 2015 12:04 pm

Re: XMA transform

Post by JYSB59 » Thu Aug 13, 2015 8:52 pm

Thanx for Towav Alpha "but I have another question, I would like to know how created a file XMA from an XACT project, I heard about a xma_encode.exe who find in the XDK but I is not found , thanx" you would know how to do?

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

Re: XMA transform

Post by AlphaTwentyThree » Thu Aug 13, 2015 9:54 pm

JYSB59 wrote:Thanx for Towav Alpha "but I have another question, I would like to know how created a file XMA from an XACT project, I heard about a xma_encode.exe who find in the XDK but I is not found , thanx" you would know how to do?
Sorry, I have no experience with that. :\
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 ;)

JYSB59
n00b
Posts: 10
Joined: Sun Aug 09, 2015 12:04 pm

Re: XMA transform

Post by JYSB59 » Fri Aug 14, 2015 11:19 am

thanks anyway

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

Re: XMA transform

Post by AlphaTwentyThree » Sun Aug 30, 2015 7:40 pm

UPDATE

Corrected a little mistake when adding a header without parsing. Now you only have to set PARSE 0 and leave WRITE_UNPARSED at 0 to work. Silly mistake. ;)
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 ;)

JYSB59
n00b
Posts: 10
Joined: Sun Aug 09, 2015 12:04 pm

Re: XMA transform

Post by JYSB59 » Sun Sep 13, 2015 12:17 pm

hi, it's me again here is the script works perfectly except for XMA Forza 2 and Forza 3 or it puts me an error with a number of byte (56), if someone could help me (Forza 3 http://www.mediafire.com/download/h4de6 ... Xtrack.xma ) (Forza 2 http://www.mediafire.com/download/t4m5i ... l85/34.xma )

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

Re: XMA transform

Post by AlphaTwentyThree » Sun Sep 20, 2015 4:23 pm

JYSB59 wrote:hi, it's me again here is the script works perfectly except for XMA Forza 2 and Forza 3 or it puts me an error with a number of byte (56), if someone could help me (Forza 3 http://www.mediafire.com/download/h4de6 ... Xtrack.xma ) (Forza 2 http://www.mediafire.com/download/t4m5i ... l85/34.xma )
No need to run them through my tool, they are already ready to decode with towav. :)
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 ;)

JYSB59
n00b
Posts: 10
Joined: Sun Aug 09, 2015 12:04 pm

Re: XMA transform

Post by JYSB59 » Mon Sep 21, 2015 7:44 pm

Ok thanx man :D

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

Re: XMA transform

Post by AlphaTwentyThree » Wed Oct 21, 2015 7:37 am

UPDATE

Corrected a major mistake in the UT3 file type heuristic. Now almost all UT3 variants are supported! :)
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: 626 times

Re: XMA transform

Post by AlphaTwentyThree » Thu Oct 22, 2015 7:05 pm

UPDATE

Added yet another UT3 variant.
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 ;)

Extreme110
ultra-n00b
Posts: 1
Joined: Sat Jul 09, 2011 1:43 pm
Has thanked: 1 time
Been thanked: 1 time

Re: XMA transform

Post by Extreme110 » Sun Nov 01, 2015 8:16 am

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 :)

Post Reply