Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
CosmicDreams
Posts: 100
Joined: Thu Sep 13, 2018 6:38 pm

Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by CosmicDreams »

Not much i know about this other than that Frosty Editor can read and write it and that it got rid of .SB files in favour of a "manifest" of some kind for faster loading.

I don't have much knowledge on these sorts of things, but would like to extract the raw data for these games. Frosty works fine for SWBF2 as support was added properly but BFV can only be loaded with
the SWBF2 profile at the moment. Most things work fine, but the big thing that breaks is meshes. New format.
So i think getting the raw data may be the only way to get more or less everything at the moment.
All the current scripts are broken from what i know, and no one has attempted to update them since it was first introduced in a SWBF2 update.
Frosty is currently the only thing that can access the files of this new layout.

I don't think i can send samples right now due to file sizes and overall just lack of knowledge on what would need to be sent. So your best bet would be to download the game for yourself and look that
way for now im afraid. You can get a trial with Origin Access ATM so that might be a good way to get your hands on it.
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by Puterboy1 »

And if you are successful, will you submit the SFX and voices to the Sounds Resource?
CosmicDreams
Posts: 100
Joined: Thu Sep 13, 2018 6:38 pm

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by CosmicDreams »

I can get those with Frosty.
It's just meshes i can't really access.
CosmicDreams
Posts: 100
Joined: Thu Sep 13, 2018 6:38 pm

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by CosmicDreams »

Good news.
Galaxyman2015, the developer of Frosty updated the old python script for extracting to the new layout and things are working fine.
I suspect the 3DS Max model importer script is borked though.
Durandal217
Posts: 31
Joined: Sun Apr 10, 2016 3:54 pm

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by Durandal217 »

Where did he post it? i'm not seeing it anywhere..
CosmicDreams
Posts: 100
Joined: Thu Sep 13, 2018 6:38 pm

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by CosmicDreams »

On the frosty tool suite discord server.
Once I'm on my PC I'll send it over here.
Durandal217
Posts: 31
Joined: Sun Apr 10, 2016 3:54 pm

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by Durandal217 »

found it! thanks for the help.
88174
Posts: 1
Joined: Fri Nov 16, 2018 9:59 am

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by 88174 »

CosmicDreams wrote:On the frosty tool suite discord server.
Once I'm on my PC I'll send it over here.


Could you upload the python script? I don't know how to find it. Thank you!
CosmicDreams
Posts: 100
Joined: Thu Sep 13, 2018 6:38 pm

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by CosmicDreams »

https://cdn.discordapp.com/attachments/333086156478480384/511130460315844618/swbf2_bfv_dumper.rar
Needs python 2.7.6.
Dump chunks, EBX and RES seperately so it can actually dump everything.
I recommend dumping to the root of a drive in a subfolder so you have the shortest starting path possible.
wubbaworwee
Posts: 2
Joined: Sun Dec 02, 2018 3:01 am

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by wubbaworwee »

Hey all.. :) I downloaded that new swbf2 bfv dumper bundle from discord (I'm hopeless with coding/scripts) .. installed Python 2.7.6.., right clicked 'Edit with IDLE' placed the bundle extract in my SWBF2 main directory (Not 'C:' or default 'Program Files'), pressed 'F5' and I get the following error!?:

Traceback (most recent call last):
File "D:\not relevant\STAR WARS Battlefront II\swbf2_bfv_dumper\Dump Scripts\swbf2_bfv_dumper.py", line 77, in <module>
ZSTD = cdll.LoadLibrary("ZSTD")
File "C:\Python27\lib\ctypes\__init__.py", line 443, in LoadLibrary
return self._dlltype(name)
File "C:\Python27\lib\ctypes\__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 is not a valid Win32 application

I have Win10 x64 & installed the x86 Python installer... Do I require a x32 Win10/OS to pull this off??

Cheers
erik945
Posts: 23
Joined: Sat Nov 18, 2017 7:30 pm

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by erik945 »

try x64 version of python
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by Acewell »

or you could try the zstd.dll compiled for 32bit. :)
https://github.com/facebook/zstd/releases
BGmoder
Posts: 5
Joined: Sat Dec 08, 2018 9:13 am

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by BGmoder »

Hi, I have a problem here.Recently there was a patch in Bf5, and after that I can’t get all the chunks. An error EBX
Bundle: a390d240

Traceback (most recent call last):
File "F:\BfVPreset\Dump Scripts\swbf2_bfv_dumper.py", line 752, in <module>
processManifest(bf1Directory)
File "F:\BfVPreset\Dump Scripts\swbf2_bfv_dumper.py", line 688, in processManifest
binBundle=BinaryBundle(bundleFile.fileRef.getCas(catalogs), bundleFile.offset)
File "F:\BfVPreset\Dump Scripts\swbf2_bfv_dumper.py", line 486, in getCas
def getCas(self,catalogs): return self.getCatalogPath(catalogs) + "cas_" + str(self.casIndex()).zfill(2) + ".cas"
File "F:\BfVPreset\Dump Scripts\swbf2_bfv_dumper.py", line 480, in getCatalogPath
root=catalogs[self.getCatalogIndex()]
IndexError: list index out of range
>>>

Because of this file F:\Battlefield V\Data\Win32\installation\initialexperience\cas_07.cas help
Python 2.7.6 64-bit.
Damocles
Posts: 2
Joined: Sat Dec 08, 2018 1:25 pm

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by Damocles »

BGmoder wrote:Hi, I have a problem here.Recently there was a patch in Bf5, and after that I can’t get all the chunks. An error EBX
Bundle: a390d240

Traceback (most recent call last):
File "F:\BfVPreset\Dump Scripts\swbf2_bfv_dumper.py", line 752, in <module>
processManifest(bf1Directory)
File "F:\BfVPreset\Dump Scripts\swbf2_bfv_dumper.py", line 688, in processManifest
binBundle=BinaryBundle(bundleFile.fileRef.getCas(catalogs), bundleFile.offset)
File "F:\BfVPreset\Dump Scripts\swbf2_bfv_dumper.py", line 486, in getCas
def getCas(self,catalogs): return self.getCatalogPath(catalogs) + "cas_" + str(self.casIndex()).zfill(2) + ".cas"
File "F:\BfVPreset\Dump Scripts\swbf2_bfv_dumper.py", line 480, in getCatalogPath
root=catalogs[self.getCatalogIndex()]
IndexError: list index out of range
>>>

Because of this file F:\Battlefield V\Data\Win32\installation\initialexperience\cas_07.cas help
Python 2.7.6 64-bit.


Had the same error, i think it's due to the recent patch (04/12). The layout file is different.
BGmoder
Posts: 5
Joined: Sat Dec 08, 2018 9:13 am

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by BGmoder »

One man unelegal, from Frosty ToolSuite channel give me fix. And i edit script, and this working https://cdn.discordapp.com/attachments/ ... perFix.rar
ineteye
Posts: 2
Joined: Sun Mar 19, 2017 9:30 am

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by ineteye »

HI! Did not understand why dumper only create chunk folder? where is mesh folder, i set true to (dumpResEnabled = True) but still does not help..
cyberspeed
Posts: 104
Joined: Wed Mar 23, 2016 5:11 am

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by cyberspeed »

ineteye wrote:HI! Did not understand why dumper only create chunk folder? where is mesh folder, i set true to (dumpResEnabled = True) but still does not help..

Everything you need to fix your issue is here: http://forum.xentax.com/viewtopic.php?f=10&t=19074
ineteye
Posts: 2
Joined: Sun Mar 19, 2017 9:30 am

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by ineteye »

Do not know why but BGModer update does not extract res...
MITA996
Posts: 104
Joined: Wed May 23, 2018 1:00 pm

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by MITA996 »

Can someone help me with this .cas file. It is from FIFA 19 title update, and I won't to extract it, but I don't know how: https://www.mediafire.com/file/7bqufqbu ... s.rar/file
cyberspeed
Posts: 104
Joined: Wed Mar 23, 2016 5:11 am

Re: Battlefield V & Star Wars Battlefront II (New Frostbite layout)

Post by cyberspeed »

MITA996 wrote:Can someone help me with this .cas file. It is from FIFA 19 title update

It will NOT work, the game is NOT supported at the moment by any script/tool.