Offtopic: Into Commodore 64 (6502) coding, pixeling or music?
Xentax is looking for new members for the C64 activities!
Just drop us a message at forum@xentax.com and join the Scene Team!

Forum rules: Click here

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

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Godxon1
beginner
Posts: 25
Joined: Fri Jun 05, 2015 7:35 pm
Has thanked: 3 times

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

Post by Godxon1 » Mon Nov 13, 2017 10:01 pm

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

JakeGreen
mega-veteran
mega-veteran
Posts: 162
Joined: Sun Aug 22, 2010 10:14 pm
Has thanked: 37 times
Been thanked: 11 times

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

Post by JakeGreen » Tue Nov 14, 2017 9:47 am

Godxon1 wrote: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
The game has changed since the beta and has ZSTD compression on it's cat/cas files but Python won't support that by default so you need a wrapper for it which you can find here https://github.com/sergey-dryabzhinsky/python-zstd and https://github.com/facebook/zstd/releas ... -win32.zip

Not sure how to apply these but i thought i'd post them for anyone wanting to try and edit the script to support the game.

Oh you can find the script here. https://bitbucket.org/Frankelstner/fros ... tlefront-2

Godxon1
beginner
Posts: 25
Joined: Fri Jun 05, 2015 7:35 pm
Has thanked: 3 times

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

Post by Godxon1 » Tue Nov 14, 2017 10:40 am

JakeGreen wrote:
Godxon1 wrote: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
The game has changed since the beta and has ZSTD compression on it's cat/cas files but Python won't support that by default so you need a wrapper for it which you can find here https://github.com/sergey-dryabzhinsky/python-zstd and https://github.com/facebook/zstd/releas ... -win32.zip

Not sure how to apply these but i thought i'd post them for anyone wanting to try and edit the script to support the game.

Oh you can find the script here. https://bitbucket.org/Frankelstner/fros ... tlefront-2
Thank you! I will try the script later today.

Godxon1
beginner
Posts: 25
Joined: Fri Jun 05, 2015 7:35 pm
Has thanked: 3 times

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

Post by Godxon1 » Tue Nov 14, 2017 3:32 pm

JakeGreen wrote:
Godxon1 wrote: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
The game has changed since the beta and has ZSTD compression on it's cat/cas files but Python won't support that by default so you need a wrapper for it which you can find here https://github.com/sergey-dryabzhinsky/python-zstd and https://github.com/facebook/zstd/releas ... -win32.zip

Not sure how to apply these but i thought i'd post them for anyone wanting to try and edit the script to support the game.

Oh you can find the script here. https://bitbucket.org/Frankelstner/fros ... tlefront-2
Unfortunately I don't know how to use the script.
It gives me this error:

Code: Select all

Traceback (most recent call last):
  File "C:\Users\Honza\Desktop\Frankelstner-frostbite-battlefront-2-389512d68cf5\dumper.py", line 44, in <module>
    LZ77 = cdll.LoadLibrary("LZ77")
  File "C:\Python27\lib\ctypes\__init__.py", line 444, in LoadLibrary
    return self._dlltype(name)
  File "C:\Python27\lib\ctypes\__init__.py", line 366, in __init__
    self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] Uvedený modul nebyl nalezen
>>> 

User avatar
Haoose
mega-veteran
mega-veteran
Posts: 276
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 68 times
Been thanked: 183 times
Contact:

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

Post by Haoose » Tue Nov 14, 2017 7:54 pm

Godxon1
LZ77.rar
You do not have the required permissions to view the files attached to this post.
-= GP-team =-
Image

Godxon1
beginner
Posts: 25
Joined: Fri Jun 05, 2015 7:35 pm
Has thanked: 3 times

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

Post by Godxon1 » Tue Nov 14, 2017 8:44 pm

Haoose wrote:Godxon1
LZ77.rar
Thank you, but I still have some issues.

Code: Select all

Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> 
 RESTART: C:\Users\Honza\Desktop\Frankelstner-frostbite-battlefront-2-389512d68cf5\dumper.py 
layout.toc
abilities.toc

Traceback (most recent call last):
  File "C:\Users\Honza\Desktop\Frankelstner-frostbite-battlefront-2-389512d68cf5\dumper.py", line 298, in <module>
    if "tocRoot" in locals():  dumpRoot(tocRoot)
  File "C:\Users\Honza\Desktop\Frankelstner-frostbite-battlefront-2-389512d68cf5\dumper.py", line 278, in dumpRoot
    dump(fname,targetDirectory)
  File "C:\Users\Honza\Desktop\Frankelstner-frostbite-battlefront-2-389512d68cf5\dumper.py", line 195, in dump
    writePayload(entry, targetPath, sourcePath)
  File "C:\Users\Honza\Desktop\Frankelstner-frostbite-battlefront-2-389512d68cf5\dumper.py", line 243, in casPayload
    LZ77.decompress(catEntry.path,catEntry.offset,catEntry.size, bundleEntry.originalSize,targetPath)
WindowsError: [Error -529697949] Windows Error 0xE06D7363
>>> 
I've only edited this: https://pastebin.com/R3cscWiz in the script.

TRDaz
mega-veteran
mega-veteran
Posts: 203
Joined: Sat Sep 24, 2011 7:06 pm
Has thanked: 67 times
Been thanked: 24 times

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

Post by TRDaz » Wed Nov 15, 2017 9:55 am

It won't work because it's still calling for LZ4 decompression with the LZ77 DLL, it needs ZSTD decompression so you will have to figure out a way to edit the rest of the script before it works.

kschade45
ultra-n00b
Posts: 9
Joined: Thu Nov 23, 2017 1:49 am
Has thanked: 3 times

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

Post by kschade45 » Thu Nov 23, 2017 1:53 am

Ever find anything out? I've been struggling to get it to work. I've been all over the web trying to find a solid ZSTD.dll file and supporting files to work.

SaanHolo
ultra-n00b
Posts: 1
Joined: Tue Nov 21, 2017 10:17 am

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

Post by SaanHolo » Thu Nov 23, 2017 2:13 am

There's a ZSTD dll from Aluigi that's compiled from the current (9th October 2017) source of zstd, that contains legacy algorithms available http://aluigi.org/bms/zstd.dll

I haven't been able to get the scripts to work though, they go through all the files, creating folders but no actual files are dumped. Anyone else had any luck?

Godxon1
beginner
Posts: 25
Joined: Fri Jun 05, 2015 7:35 pm
Has thanked: 3 times

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

Post by Godxon1 » Thu Nov 23, 2017 1:28 pm

There are updated python scripts for SWBF II by Daemon:
viewtopic.php?f=16&t=17114&start=75

kschade45
ultra-n00b
Posts: 9
Joined: Thu Nov 23, 2017 1:49 am
Has thanked: 3 times

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

Post by kschade45 » Thu Nov 23, 2017 6:48 pm

Nice! Let me know if you get this working. I'm personally only looking for the audio, I'll keep trying.

arkham45128
ultra-n00b
Posts: 3
Joined: Sat Nov 25, 2017 10:22 pm

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

Post by arkham45128 » Sat Nov 25, 2017 10:26 pm

Hi everyone!
I have the game and I want to have ALL the Castillian (From Spain) Spanish voices audio files

Can anyone explain to me what do I have to do?
Or can anyone extract'em and put it on MEGA?

Thanks

Hashbandit
ultra-n00b
Posts: 8
Joined: Wed Nov 29, 2017 3:08 pm

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

Post by Hashbandit » Wed Nov 29, 2017 3:13 pm

Has anyone gotten this to work??

kschade45
ultra-n00b
Posts: 9
Joined: Thu Nov 23, 2017 1:49 am
Has thanked: 3 times

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

Post by kschade45 » Thu Nov 30, 2017 5:18 pm

Daemon1's tools work just fine! Link to the thread is posted above.

Post Reply