Join also our Discord channel! Click here.

Frostbite 2 sound extraction research

Get help on any and all audio formats, or chip in and help others!
kilik
mega-veteran
mega-veteran
Posts: 183
Joined: Sat Dec 08, 2012 11:14 am
Has thanked: 29 times
Been thanked: 3 times

Re: Frostbite 2 sound extraction research

Post by kilik » Tue Aug 25, 2015 12:46 pm

bumper finaly work
and audioextract say
You must specify an input filename.

i have extract only .sb and look need ebx for do it

User avatar
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

Post by Vosvoy » Mon Sep 26, 2016 7:46 pm

I post this question here as I don't want to flood the forum with new topics:

BF1 Open Beta has been available one or two weeks ago. I tried the usual tool and, as I expected, it doesn't work:

Code: Select all

Traceback (most recent call last):
  File "D:\test\bf4dumper.py", line 258, in <module>
    if "tocRoot2" in locals(): dumpRoot(tocRoot2)
  File "D:\test\bf4dumper.py", line 248, in dumpRoot
    dump(fname,targetDirectory)
  File "D:\test\bf4dumper.py", line 102, in dump
    toc=cas.readToc(tocPath)
  File "D:\test\cas.py", line 95, in readToc
    return Entry(unXor(tocPath))
  File "D:\test\cas.py", line 37, in __init__
    raise Exception("Entry does not start with \\x82 or (rare) \\x87 byte. Position: "+str(f.tell()))
Exception: Entry does not start with \x82 or (rare) \x87 byte. Position: 1
>>> 
Is my savior 'round here?
Vosvoy

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2204
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 53 times
Been thanked: 1810 times

Re: Frostbite 2 sound extraction research

Post by daemon1 » Mon Sep 26, 2016 8:38 pm

tried star wars extractor?

User avatar
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

Post by Vosvoy » Mon Sep 26, 2016 8:44 pm

daemon1 wrote:tried star wars extractor?
Heh? Same engine?
Vosvoy

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2204
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 53 times
Been thanked: 1810 times

Re: Frostbite 2 sound extraction research

Post by daemon1 » Mon Sep 26, 2016 8:45 pm

yes, all the latest frostbite games usually work with that extractor

User avatar
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

Post by Vosvoy » Mon Sep 26, 2016 9:05 pm

daemon1 wrote:yes, all the latest frostbite games usually work with that extractor
Well, I only found the old Frankelstner script (bf4dumper from xentax) and got this in the process:

Code: Select all

Traceback (most recent call last):
  File "D:\test\Python_Scripts\dumper.py", line 282, in <module>
    cat=Cat(catName)
  File "D:\test\Python_Scripts\dumper.py", line 58, in __init__
    entry.offset, entry.size, entry.casnum = unpack("<III",cat.read(12))
error: unpack requires a string argument of length 12
So, either I'm dumb either the tool is not working (I've attached the tool we used on old BF3Beta and BF4Updated before).
You do not have the required permissions to view the files attached to this post.
Vosvoy

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2204
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 53 times
Been thanked: 1810 times

Re: Frostbite 2 sound extraction research

Post by daemon1 » Mon Sep 26, 2016 9:20 pm


User avatar
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

Post by Vosvoy » Mon Sep 26, 2016 9:28 pm

daemon1 wrote:i mean this one: viewtopic.php?f=10&t=13584
Okay I'm gonna give it a go!

I'm not sleepin until it's done. Seeya until further edition...

EDIT1: [10:43PM (GMT+01:00) Bruxelles, Copenhague, Madrid, Paris] Dumper runnin' (Insert french enthusiasm here: "Fantastique!").

EDIT2: [11:04PM (GMT+01:00) Bruxelles, Copenhague, Madrid, Paris] EBX and sounds correctly converted (with names and folders, nothin' to worry about).

EDIT3: [11:17PM (GMT+01:00) Bruxelles, Copenhague, Madrid, Paris] ealayer3.exe had some problems during VO sounds extraction: loops of "ealayer3.exe has stopped working" - (Python -> "Error executing EALayer3"). If you came for complete soldier voice assets, you're f*cked (for now).

EDIT4: [00:02AM (GMT+01:00) Bruxelles, Copenhague, Madrid, Paris] DONE. I managed to skip the previous error by erasing the "vo" folder. The tool is workin' (5,60Gb sound files on the disk) except the ealayer3.exe for voices.

Many thanks mate.
Vosvoy

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2204
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 53 times
Been thanked: 1810 times

Re: Frostbite 2 sound extraction research

Post by daemon1 » Tue Sep 27, 2016 5:24 am

Vosvoy wrote:If you came for complete soldier voice assets...
If I'm not mistaking, you can convert them with my updated version of ealayer3, it was here somewhere... I'll find the link later.

p.s. send me examples of files that dont work

User avatar
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

Post by Vosvoy » Wed Sep 28, 2016 3:53 pm

daemon1 wrote:
Vosvoy wrote:If you came for complete soldier voice assets...
If I'm not mistaking, you can convert them with my updated version of ealayer3, it was here somewhere... I'll find the link later.

p.s. send me examples of files that dont work
Alright, gotta dump the files again though. I'll brb.

EDIT: So, I tried to use the old EbxToTxt script (for BF4) to give you an exact chunk name but it doesn't work. Anyway, this is where the troubles start:

Code: Select all

Sound/VO/MP/DE/Autotriggers/Alert/vo_mp_alert_friendly_fire
vo_mp_alert_gas.ebx
Error executing EALayer3.
Sound/VO/MP/DE/Autotriggers/Alert/vo_mp_alert_gas
vo_mp_alert_grenade.ebx
Sound/VO/MP/DE/Autotriggers/Alert/vo_mp_alert_grenade
vo_mp_alert_headsup.ebx
Error executing EALayer3.
Sound/VO/MP/DE/Autotriggers/Alert/vo_mp_alert_headsup
vo_mp_alert_machinegunner.ebx
Sound/VO/MP/DE/Autotriggers/Alert/vo_mp_alert_machinegunner
vo_mp_alert_playerhit.ebx
Sound/VO/MP/DE/Autotriggers/Alert/vo_mp_alert_playerhit
vo_mp_alert_sniper.ebx
Sound/VO/MP/DE/Autotriggers/Alert/vo_mp_alert_sniper
vo_mp_alert_tank.ebx
Error executing EALayer3.
Error executing EALayer3.
I've attached the EbxToTxt from our "common friend" Frankelstner, if you want or if you don't have it anymore.
You do not have the required permissions to view the files attached to this post.
Vosvoy

OrangeC
double-veteran
double-veteran
Posts: 862
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 34 times

Re: Frostbite 2 sound extraction research

Post by OrangeC » Tue Oct 18, 2016 8:27 pm

Anyone tried to extract the BF1 trial, using the sw dumper, but its hardly finding any chunks. Maybe because each level folder has cas/cat files in their folders?

VladlenCry
advanced
Posts: 47
Joined: Wed Sep 10, 2014 12:40 am
Has thanked: 33 times
Been thanked: 1 time

Re: Frostbite 2 sound extraction research

Post by VladlenCry » Thu Oct 20, 2016 6:17 am

OrangeC wrote:Anyone tried to extract the BF1 trial, using the sw dumper, but its hardly finding any chunks. Maybe because each level folder has cas/cat files in their folders?
I tried, but failed. Specifies the path to each file. And each time the program received an error.

Code: Select all

Runtime Error, Program: C:\Python27\pythonw.exe
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. 

FunnyML
beginner
Posts: 22
Joined: Tue Apr 03, 2007 6:45 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Frostbite 2 sound extraction research

Post by FunnyML » Sun Oct 23, 2016 8:59 pm

OrangeC wrote:Anyone tried to extract the BF1 trial, using the sw dumper, but its hardly finding any chunks. Maybe because each level folder has cas/cat files in their folders?
Doesn't work for me either. I just tried another method:
I opened the .SB file for the prologue and renamed all sounds that end with "_wave" in "_waxe" except for the music tracks. Nothing changed, so I did the same with the .SB file in the Patch folder. But then the game crashes.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2204
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 53 times
Been thanked: 1810 times

Re: Frostbite 2 sound extraction research

Post by daemon1 » Mon Oct 24, 2016 6:42 pm

If nothing else helps, you can always get audio without names with a simple chunk extractor I posted my in Star Wars thread. And then decode them with Xas_decode or ealayer3, whatever they're using.

User avatar
FatalBulletHit
beginner
Posts: 26
Joined: Sun Nov 06, 2016 7:29 pm
Has thanked: 11 times
Been thanked: 5 times
Contact:

Re: Battlefield 3: Sounds recording technique

Post by FatalBulletHit » Sun Nov 06, 2016 7:51 pm

It took me a bit to get everything done, but I finally made it.
I guess without one of the main threads on bfeditor.org being down, it would have worked a hell of a lot faster... :D

Anyways, just wanna say thank you to daemon1 for uploading every filed needed to extract the audio of bf3 and for sure to Frankelstner (although he seems to be dead or sth) and to anybody else here, doing a great job! :)

However, if sb after me wants to have all the bf3 sounds and doesn't know how to...
[url=http://forum.xentax.com/viewtopic.php?f=17&t=10347&start=103]Get to post[/url] daemon1 wrote:The "new" scripts to dump and decode frostbite 2 games:

dumper, ebxtotxt, fb2audio

All .dlls and ealayer3 included
  • 1. Download and Install Python 2.7
    2. Download bf3extractor.rar (Uploaded by daemon1)
    3. Adjust paths
    4. Run dumper.py
    5. Run fb2audio.py
Have a nice one! ^^
Last edited by FatalBulletHit on Tue Nov 08, 2016 10:58 am, edited 1 time in total.

Post Reply