XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Aug 18, 2018 10:52 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: NBA JAM (android) EA XAS ADPCM Encoding
PostPosted: Mon Apr 09, 2018 5:16 pm 
Offline
ultra-n00b

Joined: Fri Apr 06, 2018 9:21 pm
Posts: 2
Has thanked: 1 time
Have thanks: 0 time

Hi all.

I've been lurking this board and trawling the internet for a couple of weeks looking for answers to my problem and while I've gotten close, I haven't quite cracked it yet. So I figured I'd reach out to the helpful people here.

Long story short, I'm working on a roster update for the android version of NBA JAM (the game hasn't been updated officially in years). I've figured out how to extract and replace textures and now I'm working on commentary audio.

Thanks to daemon1 and others, I've been able to successfully identify and decode the audio -- it has a .caf extension, but is actually the EA XAS ADPCM codec. I can now import the audio into an editor like Audacity and edit the files. However, I'm not sure how to encode the audio so that I can re-insert the edited files back into the game. Anytime I've tried, the game crashes when the audio file triggers.

Any thoughts or suggestions? Any help would be greatly appreciated.

Let me know if there's anything else that I should provide.

Thanks!

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: NBA JAM (android) EA XAS ADPCM Encoding
PostPosted: Tue Apr 10, 2018 7:10 am 
Offline
ultra-veteran
ultra-veteran

Joined: Thu Aug 12, 2010 8:15 am
Posts: 361
Has thanked: 54 times
Have thanks: 79 times
As far as I am aware, I don't believe anyone has actually made an encoder for EA XAS ADPCM, only decoders.


Top
 Profile  
 
 Post subject: Re: NBA JAM (android) EA XAS ADPCM Encoding
PostPosted: Tue Apr 10, 2018 3:50 pm 
Offline
ultra-n00b

Joined: Fri Apr 06, 2018 9:21 pm
Posts: 2
Has thanked: 1 time
Have thanks: 0 time
Bummer -- that's what I was afraid of. Thanks for the reply, though.

I'm gonna spend some time figuring out if there's a way to use the XAS decoding resources out there to create an encoder (even though I'm still not exactly sure how I'm gonna do that yet).

I've also just discovered that players added in the most "recent" (like 3 years ago) roster update have uncompressed commentary audio (byte 0 = 2), so I might try messing around with those files first since I wouldn't have to do any codec work, I think. I can import the raw data into audacity as a S16PCM big-endian with a 22050 sample rate and everything sounds good. The problem I've noticed initially is that when I export it as a raw, headerless audio file and compare the hex values to the original, it seems like all the 2byte block values are reversed (which I think means the endianess is backwards?).

Unfortunately, when I try and import the raw audio into Audacity again but this time as little-endian, it's just static noise.

This is all a bit over my head, so sorry if any of this is incoherent. I'll keep messing around with it, but if anyone has any ideas, let me know -- i'm sure you're all much smarter than me :D


Top
 Profile  
 
 Post subject: Re: NBA JAM (android) EA XAS ADPCM Encoding
PostPosted: Fri Jul 13, 2018 3:16 am 
Offline
ultra-n00b

Joined: Tue Oct 25, 2016 9:34 pm
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
I got the same problem.. [roll]Do you find the way to solve it?



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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 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