XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Oct 18, 2018 8:11 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: .xma sound files - Perfect Dark Zero (Xbox 360)
PostPosted: Sat Mar 05, 2016 1:30 pm 
Offline
advanced

Joined: Fri Mar 04, 2016 9:26 pm
Posts: 79
Has thanked: 4 times
Have thanks: 2 times














You can make the ads go away by registering

Hello, everyone. For a couple days I've been trying to dig though the audio files of one of the most underrated games of all time for the Xbox 360, Perfect Dark Zero, a prequel to the original Perfect Dark for the N64.

Anyhow, I found that the audio files are .xwb and .xsb, but upon extracted them with EkszBox-ABX v1.5, I get .xma files which I have no clue how to open. After doing some research, I found out that they are open-able in the Cross-platform Audio Creation Tool (XACT). However, I couldn't find this tool anywhere and I really would like to get the music and sound effects from this game. I will upload some samples for download.

Thanks for reading and have a good one! :D


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: .xma sound files - Perfect Dark Zero (Xbox 360)
PostPosted: Sat Mar 05, 2016 2:38 pm 
Offline
advanced

Joined: Mon Feb 14, 2011 8:09 am
Posts: 78
Has thanked: 18 times
Have thanks: 43 times
to decode .xma use xmaencode.exe or towav.exe


Top
 Profile  
 
 Post subject: Re: .xma sound files - Perfect Dark Zero (Xbox 360)
PostPosted: Sat Mar 05, 2016 3:33 pm 
Offline
ultra-veteran
ultra-veteran

Joined: Thu Aug 12, 2010 8:15 am
Posts: 361
Has thanked: 54 times
Have thanks: 79 times
These samples are mono channel headerless XMA streams.

You'll need to use QuickBMS from Aluigi and AlphaTwentyThree's XMA Transform Script to add a proper XMA header.


From the samples you provided, they are definitely mono from the XMA flag identifier near the start of the file (FC 03 80 00) found at 0x06 so you might need to adjust two lines in the script and change it around for other audio files as well as needed.

set FREQ_DEFAULT 48000 # for files without given freq info/headerless files (replace 48000 with one of the following: 22050, 32000, 44100 or 48000)
set CH_DEFAULT 2 # for headerless XMA files (2 for stereo files, 1 for mono files)

Stereo files have the XMA flag identifier (FC 01 C0 01) which can also found at 0x06.


After you have added a proper header, ToWAV will decode them from XMA to WAV.


Top
 Profile  
 
 Post subject: Re: .xma sound files - Perfect Dark Zero (Xbox 360)
PostPosted: Thu Mar 01, 2018 12:00 am 
Offline
advanced

Joined: Fri Mar 04, 2016 9:26 pm
Posts: 79
Has thanked: 4 times
Have thanks: 2 times
Sorry for the very late reply, I left this postponed for a very long while whilst checking out other games.
I get this error message whenever I try to add a .xma file inside...


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: .xma sound files - Perfect Dark Zero (Xbox 360)
PostPosted: Sun Mar 18, 2018 8:08 am 
Offline
ultra-veteran
ultra-veteran

Joined: Thu Aug 12, 2010 8:15 am
Posts: 361
Has thanked: 54 times
Have thanks: 79 times
I forgot to mention that Alpha's script relies on the HCS tool XMA Parse so put that inside the same folder as QuickBMS.


Top
 Profile  
 
 Post subject: Re: .xma sound files - Perfect Dark Zero (Xbox 360)
PostPosted: Thu Mar 29, 2018 10:47 pm 
Offline
advanced

Joined: Fri Mar 04, 2016 9:26 pm
Posts: 79
Has thanked: 4 times
Have thanks: 2 times
I don't understand how to do this. Can you explain me the process in detail, please? How do I convert a .xma file to .wav? From start to finish


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group