XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Nov 25, 2017 12:54 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Star Wars Battlefront 2 (2017) - How to extract files?
PostPosted: Mon Nov 13, 2017 10:01 pm 
Offline
beginner

Joined: Fri Jun 05, 2015 7:35 pm
Posts: 23
Has thanked: 3 times
Have thanks: 0 time














You can make the ads go away by registering

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


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2 (2017) - How to extract files?
PostPosted: Tue Nov 14, 2017 9:47 am 
Offline
mega-veteran
mega-veteran

Joined: Sun Aug 22, 2010 10:14 pm
Posts: 161
Has thanked: 35 times
Have thanks: 10 times
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


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2 (2017) - How to extract files?
PostPosted: Tue Nov 14, 2017 10:40 am 
Offline
beginner

Joined: Fri Jun 05, 2015 7:35 pm
Posts: 23
Has thanked: 3 times
Have thanks: 0 time
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.


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2 (2017) - How to extract files?
PostPosted: Tue Nov 14, 2017 3:32 pm 
Offline
beginner

Joined: Fri Jun 05, 2015 7:35 pm
Posts: 23
Has thanked: 3 times
Have thanks: 0 time
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:
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
>>>


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2 (2017) - How to extract files?
PostPosted: Tue Nov 14, 2017 7:54 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Tue Mar 01, 2011 9:34 pm
Posts: 276
Has thanked: 66 times
Have thanks: 179 times
Godxon1


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
-= GP-team =-
Image


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2 (2017) - How to extract files?
PostPosted: Tue Nov 14, 2017 8:44 pm 
Offline
beginner

Joined: Fri Jun 05, 2015 7:35 pm
Posts: 23
Has thanked: 3 times
Have thanks: 0 time
Haoose wrote:
Godxon1

Thank you, but I still have some issues.

Code:
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.


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2 (2017) - How to extract files?
PostPosted: Wed Nov 15, 2017 9:55 am 
Offline
mega-veteran
mega-veteran

Joined: Sat Sep 24, 2011 7:06 pm
Posts: 177
Has thanked: 39 times
Have thanks: 18 times
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.


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2 (2017) - How to extract files?
PostPosted: Thu Nov 23, 2017 1:53 am 
Offline
ultra-n00b

Joined: Thu Nov 23, 2017 1:49 am
Posts: 7
Has thanked: 3 times
Have thanks: 0 time
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.


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2 (2017) - How to extract files?
PostPosted: Thu Nov 23, 2017 2:13 am 
Offline
ultra-n00b

Joined: Tue Nov 21, 2017 10:17 am
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
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?


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2 (2017) - How to extract files?
PostPosted: Thu Nov 23, 2017 1:28 pm 
Offline
beginner

Joined: Fri Jun 05, 2015 7:35 pm
Posts: 23
Has thanked: 3 times
Have thanks: 0 time
There are updated python scripts for SWBF II by Daemon:
viewtopic.php?f=16&t=17114&start=75


Top
 Profile  
 
 Post subject: Re: Star Wars Battlefront 2 (2017) - How to extract files?
PostPosted: Thu Nov 23, 2017 6:48 pm 
Offline
ultra-n00b

Joined: Thu Nov 23, 2017 1:49 am
Posts: 7
Has thanked: 3 times
Have thanks: 0 time
Nice! Let me know if you get this working. I'm personally only looking for the audio, I'll keep trying.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: AkenStyle and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group