Join also our Discord channel! Click here.

StarWars Battlefront unpacker / decoder

The Original Forum. Game archives, full of resources. How to open them? Get help here.
JakeGreen
mega-veteran
mega-veteran
Posts: 163
Joined: Sun Aug 22, 2010 10:14 pm
Has thanked: 39 times
Been thanked: 11 times

Re: StarWars Battlefront unpacker / decoder

Post by JakeGreen » Mon Aug 29, 2016 6:16 am

badhorse wrote:
JakeGreen wrote:Okay so the script on this page is messing up a lot now it's not finding the proper chunk files for basic textures that were once working like helmets for the stormtroopers and a lot of character msr and normal maps and making them really small file size (under 100kb) when they should be in the range of 2mb to 5mb.

Dice must of changed something in the files for the textures, is there anyway someone can take a look at the script and possible fix it,cause i did and i've tried to fix it and nothing i've done has worked.
I'm having the same problem. I'm not sure if it's putting the wrong mip data in the chunk file, or if the correct data is getting pulled, but the hex identity in the texture file is wrong and pointing to the wrong chunk file. I guess it's possible that the correct image data is in a different chunk, but I'm not sure how to figure out which one it might be. As it is now, the DDS header end up with the wrong image size data, and had to be hex edited manually to even open up the incorrect smaller mip.

Unfortunately I can't see the pattern as far as which images get pulled correctly, and which ones are undersized, with incorrect erroneous header data.

From what i seen is if you try to extract the patch files and the data files together along with the DLC it doesn't even care about getting the DLC other then some of their folder names but for some reason textures inside the patch files are different like they've been updated and the format changed a bit or something so the texture converter doesn't work.

I went and copied the data folder out of the game and extracted everything properly via that but there are weapons and updated files in the patch files that aren't extracting and working when they do extract, i really hope someone can fix this.

Icetric
ultra-n00b
Posts: 4
Joined: Thu Feb 09, 2017 11:19 am

Re: StarWars Battlefront unpacker / decoder

Post by Icetric » Wed Feb 15, 2017 1:56 pm

daemon1 wrote:Modified "FrankElstner's" scripts to unpack StarWars Battlefront:

swbf_dump contains dumper script sw_dumper.py

fb3decoder contains audio conversion script fb3decoder.py

NOTE Don't forget to modify folder names in both scripts!

swbf_cas folder - the old simple extractor, just in case

p.s. old mesh tool is working, audio is extracted properly, updated texture tool included.
Hello, I now be badly in need of LZ77. DLL source code, but do you have? Can you give me a? Thank you very much! My email is 849392294@qq.com

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2224
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 53 times
Been thanked: 1829 times

Re: StarWars Battlefront unpacker / decoder

Post by daemon1 » Wed Feb 15, 2017 4:11 pm

Icetric wrote:Hello, I now be badly in need of LZ77. DLL source code, but do you have? Can you give me a? Thank you very much! My email is 849392294@qq.com
This is NOT LZ77. This is standard LZ4. You can find source everywhere.

TRDaz
mega-veteran
mega-veteran
Posts: 210
Joined: Sat Sep 24, 2011 7:06 pm
Has thanked: 75 times
Been thanked: 26 times

Re: StarWars Battlefront unpacker / decoder

Post by TRDaz » Sat Mar 04, 2017 7:15 pm

I managed to get this script to work a while back, this was before reinstalling windows, now I try again but it gives me an error:

Code: Select all

Traceback (most recent call last):
  File "C:\Users\Darren\Downloads\Models\SWBF\tools\swbf_dump\sw_dumper.py", line 52, in <module>
    LZ77 = cdll.LoadLibrary("LZ77")
  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 126] The specified module could not be found
Would anyone know how to solve this? I placed the .dll in the main Python folder, placed it in the dll folder, both don't make it work. Thanks.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2224
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 53 times
Been thanked: 1829 times

Re: StarWars Battlefront unpacker / decoder

Post by daemon1 » Sat Mar 04, 2017 7:34 pm

must be 32/64 bit problem

TRDaz
mega-veteran
mega-veteran
Posts: 210
Joined: Sat Sep 24, 2011 7:06 pm
Has thanked: 75 times
Been thanked: 26 times

Re: StarWars Battlefront unpacker / decoder

Post by TRDaz » Sat Mar 04, 2017 9:00 pm

I tested both 32 and 64, 64 gives me "is not a valid Win32 application" error and 32 version gives me this error.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2224
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 53 times
Been thanked: 1829 times

Re: StarWars Battlefront unpacker / decoder

Post by daemon1 » Sat Mar 04, 2017 10:05 pm

This is not my DLL but I can suppose that something it needs is missing, like msvcp110.dll or msvcr110.dll

TRDaz
mega-veteran
mega-veteran
Posts: 210
Joined: Sat Sep 24, 2011 7:06 pm
Has thanked: 75 times
Been thanked: 26 times

Re: StarWars Battlefront unpacker / decoder

Post by TRDaz » Sat Mar 04, 2017 10:20 pm

I downloaded the needed programs to get those dlls but it doesn't seem to work either unfortunately :/ I didn't do anything special the last time it worked before I reinstalled windows, so I have no idea why it doesn't work now.

Icetric
ultra-n00b
Posts: 4
Joined: Thu Feb 09, 2017 11:19 am

Re: StarWars Battlefront unpacker / decoder

Post by Icetric » Sat Jul 15, 2017 3:19 am

Hello, I downloaded the batch_Itexture_Converter some problems, you can send me some newer no problem source? Thank you very much!

headrushmayor
beginner
Posts: 28
Joined: Mon Nov 29, 2010 5:03 am

Re: StarWars Battlefront unpacker / decoder

Post by headrushmayor » Sat Nov 18, 2017 2:42 am

hi all i unpack all audio files in to wav will game pickup the wav files as they are or do have repack them make them work as played game for sum hour it missing wow factor hoping it blow mind with in game audio but it don't so hope if files unpack i edit them give game bit kick, i have very large hifi 7.1 system it just not what i thinking game sound like so will play wav.

headrushmayor
beginner
Posts: 28
Joined: Mon Nov 29, 2010 5:03 am

Re: StarWars Battlefront unpacker / decoder

Post by headrushmayor » Sat Nov 18, 2017 4:18 am

so when use the swbf_cas.exe after give me .exa on end wav files how batch 1995 files as don't want drag one at time too xas_decode.exe i could just chance the .exa to .wav but they not unpack don't work. is faster way do it. i try drag all them in to program no luck get all do same time. ok so unpack all sound files i work out way do all at same time save trying do 1 a time right click got open program with set it to xas_decode.exe then when go folder u see all exa file high light all them then press enter it do all same time when unpack them half 1 ch and 2 ch, as well 4 ch can't under stand why did audio so low sample rate 48khz i recoded them to 96khz sound lot better and i try 192khz see if still work in game taking me good day of work unpack them, just big thanks to you guys great job making program we stuffed without u guys.

headrushmayor
beginner
Posts: 28
Joined: Mon Nov 29, 2010 5:03 am

Re: StarWars Battlefront unpacker / decoder

Post by headrushmayor » Wed Nov 29, 2017 5:08 am

hi all i unpack all files and made folder all sound file and program unpack game files so here link to folder.
https://mega.nz/#!ti4kgCLb!DOJOpQ5Cph7c ... MSBolMphFk
here as well all sound files in mp3 as well it could upload wav one as hit 146gb's so made in mp3 192khz so it only 3.34gb's they put right folders for game u unpack them to game if like as found it plays mp3 audio it took me days do all them hope u all do mods on sounds or use them other thing enjoy. I have start work on each sound file fix up low sounds and add effects to them add echo to light-saber give whoosh sound better as miss in my game i done video of sound mod just find place upload them. here link to mp3 in folder.

https://mega.nz/#!Az5RXCqB!zrsftyfR24L3 ... e4IbntS7wg

vaultboye
ultra-n00b
Posts: 1
Joined: Sat Dec 02, 2017 3:12 pm

Re: StarWars Battlefront unpacker / decoder

Post by vaultboye » Sat Dec 02, 2017 3:15 pm

Does anyone have a batch version for xas_decode ? Putting multiple .exa files on it will cause it to crash, and there are literally too many files to drag and drop one by one. (noob btw)

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2224
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 53 times
Been thanked: 1829 times

Re: StarWars Battlefront unpacker / decoder

Post by daemon1 » Sat Dec 02, 2017 3:26 pm

you better use python script to convert all sounds with proper names automatically

anyway you dont need "batch" xas_decode, just make batch file (.bat) and run it

Post Reply