Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Mirrors Edge catalyst

Get help on any and all audio formats, or chip in and help others!
justshopatkmart43
advanced
Posts: 49
Joined: Tue Nov 06, 2012 7:57 am
Has thanked: 10 times
Been thanked: 15 times

Mirrors Edge catalyst

Post by justshopatkmart43 »

Just wondering if anyone with a beta code was able to extract the music from the mirrors edge beta.
gottagofast420
ultra-n00b
Posts: 1
Joined: Sat Apr 23, 2016 10:15 am

Re: Mirrors Edge catalyst

Post by gottagofast420 »

I've tried the numerous tools I've found here, but to no avail.

If anyone has any suggestions/tools I could try, don't be afraid to tell me.

Here's the file structure of the beta, if anyone was wondering:
http://pastebin.com/CjFz2bnC
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Mirrors Edge catalyst

Post by daemon1 »

have you tried battlefield 4/hardline dumper / audio decoder ?

Note that resource dumping lines are commented in this version, so it only dumps audio chunks and sound ebx's
You do not have the required permissions to view the files attached to this post.
brendan19
ultra-veteran
ultra-veteran
Posts: 389
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 93 times

Re: Mirrors Edge catalyst

Post by brendan19 »

I got an error attempting to use it.

Unless I'm doing something wrong?
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Mirrors Edge catalyst

Post by daemon1 »

That means the format is not the same as in battlefield. Have you tried Star wars dumper? I think you did...

And in this case, I need game files, otherwise I can't help you.
brendan19
ultra-veteran
ultra-veteran
Posts: 389
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 93 times

Re: Mirrors Edge catalyst

Post by brendan19 »

The Star Wars dumper did indeed work.

I got a whole heap of .chunk files and couldn't work out if any of them had audio as they didn't have proper filenames.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Mirrors Edge catalyst

Post by daemon1 »

brendan19 wrote:The Star Wars dumper did indeed work.
Very good. Do you also have EBX folder dumped? Now run the audio decoder, its in separate script "fb3decoder.py".
brendan19 wrote:I got a whole heap of .chunk files and couldn't work out if any of them had audio as they didn't have proper filenames.
They don't have to have proper names. Names are in EBX files. That's OK
brendan19
ultra-veteran
ultra-veteran
Posts: 389
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 93 times

Re: Mirrors Edge catalyst

Post by brendan19 »

Tested it with the initial package, managed to get decoded SFX with names. Now trying with all of the cat/cas pairs.

Successfully decoded audio :) (can't say it's everything since it's still a beta)
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Mirrors Edge catalyst

Post by daemon1 »

Congratulations ;)
User avatar
durandal217
veteran
Posts: 95
Joined: Tue Jul 17, 2012 3:52 am
Has thanked: 16 times
Been thanked: 12 times

Re: Mirrors Edge catalyst

Post by durandal217 »

which star wars dumper? the python one I used isn't working. Keeps telling me chunk isn't found.
brendan19
ultra-veteran
ultra-veteran
Posts: 389
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 93 times

Re: Mirrors Edge catalyst

Post by brendan19 »

Use this edited version of the script for Mirror's Edge: Catalyst

I also included the ealayer3 tool.

Basically, all you need to change in these scripts is the following

sw_dumper.py:

Code: Select all

targetDirectory = r"<THE DIRECTORY WHERE YOU WANT THE FILES TO EXTRACT TO>"

fb3decoder.py

Code: Select all

dumpDirectory   = r"<THE DIRECTORY WHERE YOU EXTRACTED YOUR FILES>"
targetDirectory = r"<THE DIRECTORY WHERE YOU WANT THE DECODED .WAV FILES PLACED>"

#Download Zench's tool so the script can handle EALayer3.
ealayer3Path=r"<THE DIRECTORY THAT HAS THE EALAYER3 TOOL>\ealayer3.exe" 

EDIT: Updated ealayer3 tool.
swbf_me-c_edit tool
Last edited by brendan19 on Tue Apr 26, 2016 7:17 pm, edited 1 time in total.
justshopatkmart43
advanced
Posts: 49
Joined: Tue Nov 06, 2012 7:57 am
Has thanked: 10 times
Been thanked: 15 times

Re: Mirrors Edge catalyst

Post by justshopatkmart43 »

Great work! Look forward to trying it out
Last edited by justshopatkmart43 on Mon Apr 29, 2019 9:18 am, edited 1 time in total.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Mirrors Edge catalyst

Post by daemon1 »

brendan19 wrote:I also included the ealayer3 tool.
You included Zench's version of the tool. And I far as I remember, it will extract multi-file chunks wrong. For example, from the chunk with 5 sounds it will extract 15 files, 10 of which will be duplicates. Better use my updated version of his tool.
Last edited by daemon1 on Tue Apr 26, 2016 7:19 pm, edited 1 time in total.
brendan19
ultra-veteran
ultra-veteran
Posts: 389
Joined: Thu Aug 12, 2010 8:15 am
Has thanked: 54 times
Been thanked: 93 times

Re: Mirrors Edge catalyst

Post by brendan19 »

Updated link with your version of ealayer3 included :)
Hello
ultra-n00b
Posts: 1
Joined: Sat Jun 11, 2016 9:19 am

Re: Mirrors Edge catalyst

Post by Hello »

Hey, thanks a lot for making these tools.

I'm having a problem with the latest version of MEC. Extraction seems to work perfectly with brendan19's link. I'm able to get 28.5gb of files in /bundles and /chunks. However, when I run fb3decoder.py it runs through hundreds of .ebx files and ends with the output below.

Code: Select all

pf_bauble_effects.ebx
lms_bauble_bitumen_static.ebx
lms_bauble_bitumen_static_mesh.ebx
lms_bauble_destrasset_merged.ebx
lms_bauble_roofcolor_static.ebx
lms_bauble_roofcolor_static_mesh.ebx
lms_bauble_roofflat_static.ebx
lms_bauble_roofflat_static_mesh.ebx
lms_bauble_voro_static.ebx
lms_bauble_voro_static_mesh.ebx
lms_bauble_walltiles_static.ebx
lms_bauble_walltiles_static_mesh.ebx
lms_bauble_windows_static.ebx
lms_bauble_windows_static_mesh.ebx
Traceback (most recent call last):
  File "F:\Extract\mec\fb3decoder\fb3decoder.py", line 576, in <module>
    main()
  File "F:\Extract\mec\fb3decoder\fb3decoder.py", line 566, in main
    dbx=Dbx(f,relPath)
  File "F:\Extract\mec\fb3decoder\fb3decoder.py", line 342, in __init__
    inst=self.readComplex(instanceRepeater.complexIndex,f,True)
  File "F:\Extract\mec\fb3decoder\fb3decoder.py", line 368, in readComplex
    cmplx.fields.append(self.readField(fieldIndex,f))
  File "F:\Extract\mec\fb3decoder\fb3decoder.py", line 421, in readField
    (typ,length)=numDict[fieldDesc.type]
KeyError: 49437
I'm unfamiliar with python but I've traced the keyerror back to:
numDict={0xC12D:("Q",8),0xc0cd:("B",1) ,0x0035:("I",4),0xc10d:("I",4),0xc14d:("d",8),0xc0ad:("?",1),0xc0fd:("i",4),0xc0bd:("b",1),0xc0ed:("h",2), 0xc0dd:("H",2), 0xc13d:("f",4)}

49437 in hexadecimals is 0xC11D, which isn't in that list. I assume I have to add it to the list but I'm not sure what to add it as.

Any help is appreciated. Thanks!
Post Reply