Battlefield V .cas .cat

The Original Forum. Game archives, full of resources. How to open them? Get help here.
BGmoder
n00b
Posts: 17
Joined: Thu Nov 22, 2018 12:43 pm
Has thanked: 5 times

Re: Battlefield V .cas .cat

Post by BGmoder » Sun Dec 09, 2018 6:50 am


Damoclès
ultra-n00b
Posts: 8
Joined: Wed Oct 21, 2015 11:10 am

Re: Battlefield V .cas .cat

Post by Damoclès » Sun Dec 09, 2018 1:26 pm

BGmoder wrote:Yea, but, i packed two archives: V1/JB2 Rocket Sounds, and soundtrack https://drive.google.com/open?id=14O4mf ... 8ruValodvl
https://drive.google.com/open?id=120Fde ... 6IFIpP35i3
Did you solve the problem from python ?

BGmoder
n00b
Posts: 17
Joined: Thu Nov 22, 2018 12:43 pm
Has thanked: 5 times

Re: Battlefield V .cas .cat

Post by BGmoder » Sun Dec 09, 2018 1:29 pm

One man unelegal, from Frosty ToolSuite channel give me fix. And i edit script, and this working :) https://cdn.discordapp.com/attachments/ ... perFix.rar

Damoclès
ultra-n00b
Posts: 8
Joined: Wed Oct 21, 2015 11:10 am

Re: Battlefield V .cas .cat

Post by Damoclès » Sun Dec 09, 2018 7:41 pm

BGmoder wrote:One man unelegal, from Frosty ToolSuite channel give me fix. And i edit script, and this working :) https://cdn.discordapp.com/attachments/ ... perFix.rar
Thanks man, i will test it tomorrow. :wink:
The only difference is that those lines were added.
adad.JPG
You do not have the required permissions to view the files attached to this post.

BGmoder
n00b
Posts: 17
Joined: Thu Nov 22, 2018 12:43 pm
Has thanked: 5 times

Re: Battlefield V .cas .cat

Post by BGmoder » Mon Dec 10, 2018 7:15 am

761 line, after try going binBundle=BinaryBundle(bundleFile.fileRef.getCas(catalogs), bundleFile.offset)
You do not have the required permissions to view the files attached to this post.

BRAGme
n00b
Posts: 11
Joined: Sun Dec 10, 2017 3:28 am

Re: Battlefield V .cas .cat

Post by BRAGme » Tue Dec 25, 2018 8:08 pm

Could i have all the raw/lossless music files, i cant figure out how to rip this lol

mono24
mega-veteran
mega-veteran
Posts: 313
Joined: Sat Nov 06, 2010 12:27 am
Has thanked: 109 times
Been thanked: 54 times

Re: Battlefield V .cas .cat

Post by mono24 » Wed Dec 26, 2018 6:40 am

BRAGme wrote:Could i have all the raw/lossless music files, i cant figure out how to rip this lol
As far as I know the raw files not only are highly illegal/DMCA stuff, but there is no such lossless sound/music in the game, they where already encoded by the devs during game development thus no longer lossless, at best you can just grab the scripts make sure you have correct settings/paths and dump game, then decode music yourself, you really have every bit of information already available.

BRAGme
n00b
Posts: 11
Joined: Sun Dec 10, 2017 3:28 am

Re: Battlefield V .cas .cat

Post by BRAGme » Wed Dec 26, 2018 2:33 pm

This is as far as i can get, im stuck here:


Traceback (most recent call last):
File "C:\Users\Chuck\Desktop\BFVDumperFix\Audio\BfVPreset\Dump Scripts\swbf2_bfv_dumper.py", line 829, in <module>
processManifest(bf1Directory)
File "C:\Users\Chuck\Desktop\BFVDumperFix\Audio\BfVPreset\Dump Scripts\swbf2_bfv_dumper.py", line 725, in processManifest
layout = cas.readToc(root + "\\Data\\layout.toc")
File "C:\Users\Chuck\Desktop\BFVDumperFix\Audio\BfVPreset\Dump Scripts\cas.py", line 102, in readToc
return Entry(unXor(tocPath))
File "C:\Users\Chuck\Desktop\BFVDumperFix\Audio\BfVPreset\Dump Scripts\cas.py", line 84, in unXor
f=open(path,"rb")
IOError: [Errno 2] No such file or directory: 'C:\\Users\\Chuck\\Desktop\\BATTLEFIELD V FILES\\mp_installpkg\\Data\\layout.toc'

mono24
mega-veteran
mega-veteran
Posts: 313
Joined: Sat Nov 06, 2010 12:27 am
Has thanked: 109 times
Been thanked: 54 times

Re: Battlefield V .cas .cat

Post by mono24 » Thu Dec 27, 2018 2:25 am

BRAGme wrote:IOError: [Errno 2] No such file or directory: 'C:\\Users\\Chuck\\Desktop\\BATTLEFIELD V FILES\\mp_installpkg\\Data\\layout.toc'
Huh, how did you end up having such an error based on the script baffles me, but, lets take one step at a time.
You used old script, new one was slightly modified by GalaxyMan2015 to support latest updates, did you used correct paths, did you enable necessary parameters, there for, lets begin.

First you need to install python, versions between 2.7.3-64bit up to 2.7.15-64bit will work, default settings and path installation is fine, after that you need to grab last updated script, I named the .zip 2nd to know which one people are using to avoid confusion in future.
BFV_2nd_dumper.zip
After that done right click on: swbf2_bfv_dumper.py
And click: Edit with IDLE
The IDLE window will open and you'll see a bunch of text in green/red/black/blue/orange
Scroll down a bit and on the following strings:
Change bf1Directory = r"[GameDirectory]" to where your game is installed.
Change targetDirectory = r"[OutDirectory]" to where you want to dump the game (make sure its different HDD to speed things up)
Example:

Code: Select all

bf1Directory   = r"C:\Origin\Battlefield V"
targetDirectory   = r"D:\BFV_dump"
And then right under those strings above the following should look like this, all set to True,

Code: Select all

dumpEbxEnabled = True  # DATA
# EVERYTHING ELSE ←↓
dumpResEnabled = True
dumpChunksEnabled = True
dumpChunksTocEnabled = True
After making sure you set correct paths and settings, hit F5 on your keyboard, click OK when prompted.
Now another IDLE window will open showing all game assets being dumped in blue strings, just let it run.
Once you will see this >>> as last line means its done, it can take between tens of minutes to even more than an hour, or if you have an old computer half a day, so be prepared regardless.

Now that you have whole game dumped, audio decoding is next.
Now make sure you uninstall that python 64-bit and now grab the 32-bit this time, because the required components do not support 64-bit, and install it same way you did the other one.
Get the BFVdecoder script posted here on previous page: viewtopic.php?p=146185#p146185
And make sure the following are changed accordingly, don't touch anything else, unless you know what your doing of course.

Code: Select all

dumpDirectory       = r"X:\YOUR PATH GOES HERE"
targetDirectory     = r"X:\YOUR PATH GOES HERE"

ealayer3Path        = r"X:\YOUR PATH GOES HERE\ealayer3.exe"
As you can see the steps are similar just different scripts, you get the idea.

PS: these steps work assuming you have a legit copy of the game with files intact and not corrupted, with their required file/folder structure, this is 100% procedure for 100% success rate, period, no other errors occur if everything done right.
Just be patient and follow through every step.


have fun
You do not have the required permissions to view the files attached to this post.
Last edited by mono24 on Wed Jan 30, 2019 5:30 am, edited 2 times in total.

Puterboy1
veteran
Posts: 116
Joined: Fri Mar 02, 2018 3:05 am
Been thanked: 5 times

Re: Battlefield V .cas .cat

Post by Puterboy1 » Thu Dec 27, 2018 6:19 am

mono24 wrote:
BRAGme wrote:IOError: [Errno 2] No such file or directory: 'C:\\Users\\Chuck\\Desktop\\BATTLEFIELD V FILES\\mp_installpkg\\Data\\layout.toc'
Huh, how did you end up having such an error based on the script baffles me, but, lets take one step at a time.
You used old script, new one was slightly modified by GalaxyMan2015 to support latest updates, did you used correct paths, did you enable necessary parameters, there for, lets begin.

First you need to install python, versions between 2.7.3-64bit up to 2.7.15-64bit will work, default settings and path installation is fine, after that you need to grab last updated script, I named the .zip 2nd to know which one people are using to avoid confusion in future.
BFV_2nd_dumper.zip
After that done right click on: swbf2_bfv_dumper.py
And click: Edit with IDLE
The IDLE window will open and you'll see a bunch of text in green/red/black/blue/orange
Scroll down a bit and on the following strings:
Change bf1Directory = r"[GameDirectory]" to where your game is installed.
Change targetDirectory = r"[OutDirectory]" to where you want to dump the game (make sure its different HDD to speed things up)
Example:

Code: Select all

bf1Directory   = r"C:\Origin\Battlefield V"
targetDirectory   = r"D:\BFV_dump"
And then right under those strings above the following should look like this, all set to True,

Code: Select all

dumpEbxEnabled = True  # DATA
# EVERYTHING ELSE ←↓
dumpResEnabled = True
dumpChunksEnabled = True
dumpChunksTocEnabled = True
After making sure you set correct paths and settings, hit F5 on your keyboard, click OK when prompted.
Now another IDLE window will open showing all game assets being dumped in blue strings, just let it run.
Once you will see this >>> as last line means its done, it can take between tens of minutes to even more than an hour, or if you have an old computer half a day, so be prepared regardless.

Now that you have whole game dumped, audio decoding is next.
Now make sure you uninstall that python 64-bit and now grab the 32-bit this time, because the required components do not support 64-bit, and install it same way you did the other one.
Get the BFVdecoder script posted here on previous page: viewtopic.php?p=146185#p146185
And make sure the following are changed accordingly, don't touch anything else, unless you know what your doing of course.

Code: Select all

dumpDirectory       = r"X:\YOUR PATH GOES HERE"
targetDirectory     = r"X:\YOUR PATH GOES HERE"

ealayer3Path        = r"X:\YOUR PATH GOES HERE\ealayer3.exe"
As you can see the steps are similar just different scripts, you get the idea.

PS: these steps work assuming you have a legit copy of the game with files intact and not corrupted, with their required file/folder structure, this is 100% procedure for 100% success rate, period, no other errors occur if everything done right.
Just be patient and follow through every step.


have fun
Does this mean you can now give us the entire sound directory?

BRAGme
n00b
Posts: 11
Joined: Sun Dec 10, 2017 3:28 am

Re: Battlefield V .cas .cat

Post by BRAGme » Thu Dec 27, 2018 6:40 am

Ok now the problem i ran across is this:

for installChunk in layout.installManifest.installChunks:
catFile=root + "\\Data\\Win32\\" + installChunk.name + "\\cas.cat"
if not(installChunk.name.startswith("installation/default")):
catalogs.append(root + "\\[PATH]\\Win32\\" + installChunk.name + "\\")

It said theres an error in your program: unexpected indent. That indent is right before it says "if not(installChunk.name.startswith("installation/default")):

mono24
mega-veteran
mega-veteran
Posts: 313
Joined: Sat Nov 06, 2010 12:27 am
Has thanked: 109 times
Been thanked: 54 times

Re: Battlefield V .cas .cat

Post by mono24 » Fri Dec 28, 2018 4:48 am

Puterboy1 wrote:Does this mean you can now give us the entire sound directory?
You have every necessary needed tools to do that yourself, don't beg for actual game files, those are illegal, own the game and play with to your own hearts content in your own privacy.
And do NOT quote the whole freaking comment, your making a mess.
BRAGme wrote:It said theres an error in your program: unexpected indent. That indent is right before it says "if not(installChunk.name.startswith("installation/default")):
Make sure you at least include an error as such in a code not as text as it gets scrambled, like this:

Code: Select all

    for installChunk in layout.installManifest.installChunks:
        catFile=root + "\\Data\\Win32\\" + installChunk.name + "\\cas.cat"
		if not(installChunk.name.startswith("installation/default")):
            catalogs.append(root + "\\[PATH]\\Win32\\" + installChunk.name + "\\")
An also a screenshot explains better what is going on, even code mode for text messes up the lines, but since I know what is that error about all you have to do is remove those two tab spaces and your good to go, like this, see the difference?

Code: Select all

    for installChunk in layout.installManifest.installChunks:
        catFile=root + "\\Data\\Win32\\" + installChunk.name + "\\cas.cat"
        if not(installChunk.name.startswith("installation/default")):
            catalogs.append(root + "\\[PATH]\\Win32\\" + installChunk.name + "\\")
sample.JPG
I've also corrected it myself and updated the link above.
You do not have the required permissions to view the files attached to this post.

BRAGme
n00b
Posts: 11
Joined: Sun Dec 10, 2017 3:28 am

Re: Battlefield V .cas .cat

Post by BRAGme » Fri Dec 28, 2018 3:20 pm

Problem after problem lol, so i redownloaded your updated script, now i have this error:
You do not have the required permissions to view the files attached to this post.

mono24
mega-veteran
mega-veteran
Posts: 313
Joined: Sat Nov 06, 2010 12:27 am
Has thanked: 109 times
Been thanked: 54 times

Re: Battlefield V .cas .cat

Post by mono24 » Fri Dec 28, 2018 5:18 pm

BRAGme wrote:Problem after problem lol, so i redownloaded your updated script, now i have this error:
Attach that .TOC, I want to check it.
But it clearly seems your doing something wrong with your selected game path, so that is NOT a script error, its a error caused by your path selection, like it cant access it to move forward.

But if you cant find it means you have a pirated version, or borrowed files from a friend or something, because with out it the process will never be able to continue.

BRAGme
n00b
Posts: 11
Joined: Sun Dec 10, 2017 3:28 am

Re: Battlefield V .cas .cat

Post by BRAGme » Sat Dec 29, 2018 3:13 pm

Ok so the .toc was in another location. Its now where its supposed to be, But now i have this error: (EDIT- I dont have any sound files, thats what im looking for)
You do not have the required permissions to view the files attached to this post.

Post Reply