Its not going to convert X360 sounds because.
1. its EA XMA format.
2. Needs third party tools to be implemented into the script such as: "ea-Multi_xma to parse the XMA streams" "QuickBMS and XMA header Script to Add the Proper XMA header and Towav to convert the XMA files to wav.
It can be done but the process of adding it is beyond my skills.
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Frostbite 2 sound extraction research
- Vosvoy
- veteran
- Posts: 127
- Joined: Fri Feb 18, 2011 4:58 pm
- Has thanked: 15 times
- Been thanked: 15 times
Re: Frostbite 2 sound extraction research
Oh yeah I completly forgot that it's XMA for Xbox360.OrangeC wrote:Its not going to convert X360 sounds because.
1. its EA XMA format.
2. Needs third party tools to be implemented into the script such as: "ea-Multi_xma to parse the XMA streams" "QuickBMS and XMA header Script to Add the Proper XMA header and Towav to convert the XMA files to wav.
Vosvoy
-
- mega-veteran
- Posts: 278
- Joined: Thu Apr 17, 2008 3:48 am
- Has thanked: 47 times
- Been thanked: 40 times
Re: Frostbite 2 sound extraction research
Ok so, even though I got it to work before, now everytime I try to decode bf3 or warfighter, it tells me how ealayer3 needs a specified input filename.. Can anyone help? it happens as soon as it trys to decode an ealayer3 file, and then i cant do anything but close it. (which shutsdown the whole conversion of all files) I think somethings different, because it used to just pop up a seperate window for each one. but i've updated to the latest fb2 decoder pack and still nothing.
- durandal217
- veteran
- Posts: 95
- Joined: Tue Jul 17, 2012 3:52 am
- Has thanked: 16 times
- Been thanked: 12 times
Re: Frostbite 2 sound extraction research
Sound extraction doesn't work for BF4 Beta. Gotta wait and hope Frank updates his script.
-
- mega-veteran
- Posts: 278
- Joined: Thu Apr 17, 2008 3:48 am
- Has thanked: 47 times
- Been thanked: 40 times
Re: Frostbite 2 sound extraction research
Ah, hadn't tested myself, guess they changed the filesystem somehow. I just looked in cas.cat and was suprised to see nyannyannyan since steam always encrypts all data on preloads. I guess origin is fine with giving everything out besides the executables.
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2871 times
Re: Frostbite 2 sound extraction research
I've just read the long and cool story about extracting sounds from BF3/BF4 with all those .ebx/.cat/.cas things.
Can anyone tell me, in the end, is it possible to properly extract BF4 sounds with names or not? Because it seems it has some very different format and .ebx were compressed with custom compression. Did Frankelstner finally had time to finish it or not?
Can anyone tell me, in the end, is it possible to properly extract BF4 sounds with names or not? Because it seems it has some very different format and .ebx were compressed with custom compression. Did Frankelstner finally had time to finish it or not?
-
- veteran
- Posts: 145
- Joined: Sat Oct 21, 2006 12:58 pm
- Has thanked: 5 times
- Been thanked: 24 times
Re: Frostbite 2 sound extraction research
He did but has been MIA for a year now and bfeditor.org appears to be down where his scripts were at. :/
Would need someone continue his work to update it.
Would need someone continue his work to update it.
-
- double-veteran
- Posts: 868
- Joined: Sun Apr 20, 2008 2:58 am
- Has thanked: 5 times
- Been thanked: 41 times
Re: Frostbite 2 sound extraction research
I still have is scripts. I also included the bf script and the frostbite audio extractor as well.
Also works for Battlefield hardlines PC version.
https://mega.co.nz/#!UNUT3ZyL!esLEiI-NE ... fp_adBZ6JI
Also works for Battlefield hardlines PC version.
https://mega.co.nz/#!UNUT3ZyL!esLEiI-NE ... fp_adBZ6JI
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2871 times
Re: Frostbite 2 sound extraction research
What's need to be updated? As of now, I've changed his script a little to extract just the audio files. It doesn't take as much time and space as full extraction.Apollo wrote:He did but has been MIA for a year now and bfeditor.org appears to be down where his scripts were at. :/
Would need someone continue his work to update it.
A week ago bfeditor was working... Who hosted the site? The same man?
Last edited by daemon1 on Sat Apr 04, 2015 2:49 pm, edited 1 time in total.
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2871 times
Re: Frostbite 2 sound extraction research
Thank you. Can you give me a link to the forum thread where it was posted? Was there anything interesting? I will read it in google cache.OrangeC wrote:I still have is scripts. I also included the bf script and the frostbite audio extractor as well.
Also works for Battlefield hardlines PC version.
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2871 times
Re: Frostbite 2 sound extraction research
Unfortunately, google somehow doesn't have this page saved Anyway, thank you for saving his latest version, i looked through it, he cleared up the code and now it looks really better.OrangeC wrote:Managed to scrounge up this.
This is what I was able to figure out for now:
- We have BF3 script, with ZLIB decompression code. I can't check this, but fortunately it worked for BF3, at least for most files.
- We have BF4 script, with custom LZ77 decompressor by Frankelstner as a separate dll (with no source code). It works for BF4 & BFH. I checked it on BFH beta, the script produced 4337 audio chunks, and successfully unpacked them into wavs. The data of ALL those 4337 chunks were used in unpacking, so I'm almost sure it really extracts ALL audio. Good work. The only problem i see is that XAS is really integer codec, not float. Of course you can extract it to floats, you can even make your cat float, but it doesn't mean it's a floating animal. This results in 2x times bigger files.
- When trying to apply this to Dragon Age Inquisition, I can't unpack anything, because of format changes. Files packed with ZLIB, but BF3 script doesn't work. BF4 doesn't work either, because it assumes it must be LZ77. The only thing people can do (and it is in video tutorial) is to remove all .cas and unpack only EN.VOC file which has about 3000 audio files. I was able to comment lines in BF4 script to extract only chunks, so now i have all 10587 audio files from the game. They are convertible, but have no proper names. DAI tools can find proper names, but can't extract audio (thus conversion errors). Also it is not suitable for mass extraction, but only as explorer.