XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Aug 19, 2017 9:33 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Weird .wav files won't play
PostPosted: Tue Dec 27, 2016 9:40 pm 
Offline
beginner

Joined: Fri Mar 04, 2016 9:26 pm
Posts: 32
Has thanked: 3 times
Have thanks: 1 time

I've recently been extracting sounds from the underrated, infamous prequel: Perfect Dark Zero using unxwb.exe to extract the sounds from .xwb and .xsb files. However, after extracting these files, the output of them is in .wav, yet none of them are playable in WavePad or Audacity. I tried using ToWav.exe, but it's not working for me. Any ideas? I've included some samples here. Thank you, and have a nice day :)

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Wed Dec 28, 2016 1:43 pm 
Offline
advanced

Joined: Mon Aug 02, 2010 4:11 pm
Posts: 51
Has thanked: 0 time
Have thanks: 2 times
It would probably be more helpful if you could provide a sample of the original .xsb/.xwb files.


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Wed Dec 28, 2016 7:12 pm 
Offline
veteran

Joined: Sat Feb 27, 2010 6:57 pm
Posts: 86
Has thanked: 37 times
Have thanks: 67 times
The sample files are still compressed or encrypted. Seems like whatever converter didn't really make them into wave data. After forcing them to play by modifying their headers, its just static/noise/compressed/encrypted ...


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Wed Dec 28, 2016 8:00 pm 
Offline
beginner

Joined: Fri Mar 04, 2016 9:26 pm
Posts: 32
Has thanked: 3 times
Have thanks: 1 time
Liandril wrote:
It would probably be more helpful if you could provide a sample of the original .xsb/.xwb files.


Here, I uploaded some .xwb's and .xsb's that are for music and I assume SFX.


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Thu Dec 29, 2016 12:25 am 
Offline
advanced

Joined: Mon Aug 02, 2010 4:11 pm
Posts: 51
Has thanked: 0 time
Have thanks: 2 times
Hi Pepsee

and thanks for the samples. The .xwbs are in big endian order and contain wma files. The problem is: xactxtract can extract wma, but only little endian order files. unxwb can extract big endian, but no wma. unxwb doesn't show a message that it cannot extract wma. Instead, it obviously just writes a wav header and appends the wma data, that's why you hear only static noise.


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Thu Dec 29, 2016 3:29 am 
Offline
beginner

Joined: Fri Mar 04, 2016 9:26 pm
Posts: 32
Has thanked: 3 times
Have thanks: 1 time
Liandril wrote:
Hi Pepsee

and thanks for the samples. The .xwbs are in big endian order and contain wma files. The problem is: xactxtract can extract wma, but only little endian order files. unxwb can extract big endian, but no wma. unxwb doesn't show a message that it cannot extract wma. Instead, it obviously just writes a wav header and appends the wma data, that's why you hear only static noise.


Thanks for looking into them, Liandril! Well, what script/program should be used in order to get the appropriate files?


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Thu Dec 29, 2016 1:09 pm 
Offline
advanced

Joined: Mon Aug 02, 2010 4:11 pm
Posts: 51
Has thanked: 0 time
Have thanks: 2 times
Pepsee wrote:
Thanks for looking into them, Liandril! Well, what script/program should be used in order to get the appropriate files?

Sorry, if I knew an answer to this, I would have posted it :(


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Thu Dec 29, 2016 1:22 pm 
Offline
beginner

Joined: Fri Mar 04, 2016 9:26 pm
Posts: 32
Has thanked: 3 times
Have thanks: 1 time
Liandril wrote:
Pepsee wrote:
Thanks for looking into them, Liandril! Well, what script/program should be used in order to get the appropriate files?

Sorry, if I knew an answer to this, I would have posted it :(


Damn :( Well, there's got to be some way to extract and convert those files


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Fri Dec 30, 2016 6:35 pm 
Offline
beginner

Joined: Fri Mar 04, 2016 9:26 pm
Posts: 32
Has thanked: 3 times
Have thanks: 1 time
Any ideas, anyone?


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Fri Dec 30, 2016 10:44 pm 
Offline
VIP member
VIP member

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 841
Has thanked: 1805 times
Have thanks: 434 times
use unxwb to extract the files and xmaencode to convert them to playable wavs
like the description under unxwb says, seems to work okay :D

http://aluigi.altervista.org/papers.htm#xbox

_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Sat Dec 31, 2016 12:10 am 
Offline
beginner

Joined: Fri Mar 04, 2016 9:26 pm
Posts: 32
Has thanked: 3 times
Have thanks: 1 time
AceWell wrote:
use unxwb to extract the files and xmaencode to convert them to playable wavs
like the description under unxwb says, seems to work okay :D

http://aluigi.altervista.org/papers.htm#xbox


It doesn't work, I'm trying to convert a strange .wav to a regular, playable .wav file.
I tried using Xwmaencode.exe and it gives me an error, saying "Requested PCM format is invalid"


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Sat Dec 31, 2016 8:41 am 
Offline
VIP member
VIP member

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 841
Has thanked: 1805 times
Have thanks: 434 times
Pepsee wrote:
It doesn't work, I'm trying to convert a strange .wav to a regular, playable .wav file.
I tried using Xwmaencode.exe and it gives me an error, saying "Requested PCM format is invalid"

i don't know what "Xwmaencode.exe" is, i used "xmaencode.exe" to convert your samples
to normal wavs and played some in VLC player and worked or else i wouldn't have posted :?

_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Sat Dec 31, 2016 1:46 pm 
Offline
beginner

Joined: Fri Mar 04, 2016 9:26 pm
Posts: 32
Has thanked: 3 times
Have thanks: 1 time
Quote:
i don't know what "Xwmaencode.exe" is, i used "xmaencode.exe" to convert your samples
to normal wavs and played some in VLC player and worked or else i wouldn't have posted :?


Could you please upload it or link me to it? I can only find xWmaencode.exe, no wonder it wasn't working for me
EDIT: Also, how did you use xmaencode to convert to .wav? I thought that was to convert .wav to .xma
Am I supposed to convert it to .xma then use towav to reconvert it? I don't understand


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Sat Dec 31, 2016 4:03 pm 
Offline
advanced

Joined: Mon Aug 02, 2010 4:11 pm
Posts: 51
Has thanked: 0 time
Have thanks: 2 times
Pepsee wrote:
Also, how did you use xmaencode to convert to .wav? I thought that was to convert .wav to .xma
Am I supposed to convert it to .xma then use towav to reconvert it? I don't understand

You can also use xmaencode like this
Code:
XMAENCODE <xmafile> /X <pcmfile>

in order to convert xma to .wav.

After a closer look:
  • stock_s.xwb contains 91 files marked as WMA and 2 files marked as XMA (0000005c, 0000005b)
  • stock.xwb: 870 marked as WMA, 1 marked as XMA (0000035b)

When I use xmaencode on the WMA(!) files (as AceWell did), then I get playable output, but not when I use it on the files marked as XMA. To me it seems as if the format tags are set incorrectly (wma instead of xma and vice versa).

BTW: xmaencode (and xWMAencode) are available for download in this thread.

Happy new year to you all :drunken:


Top
 Profile  
 
 Post subject: Re: Weird .wav files won't play
PostPosted: Sun Jan 01, 2017 4:32 pm 
Offline
beginner

Joined: Fri Mar 04, 2016 9:26 pm
Posts: 32
Has thanked: 3 times
Have thanks: 1 time
Liandril wrote:
Pepsee wrote:
Also, how did you use xmaencode to convert to .wav? I thought that was to convert .wav to .xma
Am I supposed to convert it to .xma then use towav to reconvert it? I don't understand

You can also use xmaencode like this
Code:
XMAENCODE <xmafile> /X <pcmfile>

in order to convert xma to .wav.

After a closer look:
  • stock_s.xwb contains 91 files marked as WMA and 2 files marked as XMA (0000005c, 0000005b)
  • stock.xwb: 870 marked as WMA, 1 marked as XMA (0000035b)

When I use xmaencode on the WMA(!) files (as AceWell did), then I get playable output, but not when I use it on the files marked as XMA. To me it seems as if the format tags are set incorrectly (wma instead of xma and vice versa).

BTW: xmaencode (and xWMAencode) are available for download in this thread.

Happy new year to you all :drunken:



Yes, but I have a major problem. I only get .wav files out of the .xwb with unxwb, I don't get .xma or .wma's :(
P.S: Happy 2017, everyone!



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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