Star Wars Battlefront 2 (2017) - How to extract files?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Godxon 1
Posts: 37
Joined: Sat Feb 13, 2016 8:52 am

Star Wars Battlefront 2 (2017) - How to extract files?

Post by Godxon 1 »

Hello everyone!
I am trying to extract files from new SWBF II (it is now in Trial), but unfortunately extraction tools for SWBF 2015 (https://forum.xentax.com/viewtopic.php?f=33&t=13145) aren't working. I am especially looking for localization files.

Could anyone look at it?

You can download the game files there (it is with first cas file in each folder only):
https://mega.nz/#F!vE8zibqK!-6prGm6e0IFS6ZaUwFmEzg

Thank you very much!
Godxon
Last edited by Godxon 1 on Mon Nov 13, 2017 8:59 pm, edited 1 time in total.
coredevel
Posts: 75
Joined: Tue May 30, 2017 1:10 am

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by coredevel »

I would suggest deleting all .cas files except one (eg. cas_01.cas). That should cut down the size considerably if you just want someone to look at its structure without the extra baggage.
Last edited by coredevel on Tue Nov 14, 2017 4:44 pm, edited 1 time in total.
episoder
Posts: 123
Joined: Fri Oct 27, 2017 7:36 pm

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by episoder »

i don't have and don't wanna have hdd space to dump easily 60+ gigs of vomit again. you could try to fux with the frosty editor.

https://github.com/GalaxyEham/FrostyToo ... 1.0.3alpha (it got no source code to develop more extraction tho - useless fella)

it apparently works with the fifa config tho. i got no clue or can ask anybody that knows howto make it work. profiles are locked down. it's all locked down to me. you should ask corra_ashu or badhorse on facepunch. they extract swbf2 stuff. maybe they can help you.
Godxon 1
Posts: 37
Joined: Sat Feb 13, 2016 8:52 am

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by Godxon 1 »

episoder wrote:i don't have and don't wanna have hdd space to dump easily 60+ gigs of vomit again. you could try to fux with the frosty editor.

https://github.com/GalaxyEham/FrostyToo ... 1.0.3alpha (it got no source code to develop more extraction tho - useless fella)

it apparently works with the fifa config tho. i got no clue or can ask anybody that knows howto make it work. profiles are locked down. it's all locked down to me. you should ask corra_ashu or badhorse on facepunch. they extract swbf2 stuff. maybe they can help you.


I will try to contact them ;). And I will game without cas file later.
coredevel
Posts: 75
Joined: Tue May 30, 2017 1:10 am

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by coredevel »

episoder wrote:i don't have and don't wanna have hdd space to dump easily 60+ gigs of vomit again. you could try to fux with the frosty editor.

https://github.com/GalaxyEham/FrostyToo ... 1.0.3alpha (it got no source code to develop more extraction tho - useless fella)

it apparently works with the fifa config tho. i got no clue or can ask anybody that knows howto make it work. profiles are locked down. it's all locked down to me. you should ask corra_ashu or badhorse on facepunch. they extract swbf2 stuff. maybe they can help you.


I've used Frosty Editor before. It lets you browse, but it won't let you export any raw files, which makes it useless for my purposes. Basically, I need a dumper, not a browser.
Godxon 1
Posts: 37
Joined: Sat Feb 13, 2016 8:52 am

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by Godxon 1 »

coredevel wrote:50 GB! Sorry, my cable connection is too slow for that. The entire game doesn't need to be posted.

I would suggest deleting all .cas files except one (eg. cas_01.cas). That should cut down the size considerably if you just want someone to look at its structure without the extra baggage.

Hello,
here is the game without unwanted files:
https://mega.nz/#F!vE8zibqK!-6prGm6e0IFS6ZaUwFmEzg

It still has 11 GB, but you can download only some files.

Thank you for help!
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by Acewell »

i don't see any cas/cat files in your new open sample upload, or is it only in the rar file?
maybe should leave original links up too so all samples are available to those who will download it.

i think this game deserves own bms script rather than trying to shoehorn it into the frostbite script,
this way is easier to update it if something changes in the file structure later. :)

edit
i suppose we could convert the last working python script to bms and update the compression type :D
episoder
Posts: 123
Joined: Fri Oct 27, 2017 7:36 pm

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by episoder »

aluigi got a script with an embedded zstd dll already. got it from somewhere i forgot. :D

you think you could do it? i'm still looking into this files like an idiot. sb got folders. toc got nuts but vur files. levels got more sb files seperated. i'd like to load one of those. the chunks.toc is the whole chunk 'folder'. i don't have and want that. dunno where the compression starts either yet. some of the bits in the cas are uncompressed. those the chunk 'headers'? and not to forget this ebx duplication, whatever that is good for. i'm just tryna avoid the whole chunks folder. selective extraction. goals to high for me perhaps. :)
Godxon 1
Posts: 37
Joined: Sat Feb 13, 2016 8:52 am

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by Godxon 1 »

Acewell wrote:i don't see any cas/cat files in your new open sample upload, or is it only in the rar file?
maybe should leave original links up too so all samples are available to those who will download it.

i think this game deserves own bms script rather than trying to shoehorn it into the frostbite script,
this way is easier to update it if something changes in the file structure later. :)

edit
i suppose we could convert the last working python script to bms and update the compression type :D

Hey Acewell,
cas/cat files are in data/win32/installation and patch/win32/installation folders. It is in both rar and non-rar folder.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by aluigi »

episoder wrote:aluigi got a script with an embedded zstd dll already. got it from somewhere i forgot. :D

That dll has been compiled from the current (9 October 2017) source code of zstd and includes the legacy algorithms too: http://aluigi.org/bms/zstd.dll
SaanHolo
Posts: 1
Joined: Tue Nov 21, 2017 9:16 am

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by SaanHolo »

Anyone had any luck getting the scripts to dump? All i've been able to get them to do is go through all of the files, creating folders but not dumping any files.
Godxon 1
Posts: 37
Joined: Sat Feb 13, 2016 8:52 am

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by Godxon 1 »

There are updated python scripts for SWBF II by Daemon:
http://forum.xentax.com/viewtopic.php?f ... 4&start=75
coredevel
Posts: 75
Joined: Tue May 30, 2017 1:10 am

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by coredevel »

Godxon 1 wrote:There are updated python scripts for SWBF II by Daemon:
http://forum.xentax.com/viewtopic.php?f ... 4&start=75


Download link blocked. Please post script here.
Godxon 1
Posts: 37
Joined: Sat Feb 13, 2016 8:52 am

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by Godxon 1 »

coredevel wrote:
Godxon 1 wrote:There are updated python scripts for SWBF II by Daemon:
http://forum.xentax.com/viewtopic.php?f ... 4&start=75


Download link blocked. Please post script here.

The link isn't blocked. You just have to register on Xentax.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Star Wars Battlefront 2 (2017) - How to extract files?

Post by aluigi »