Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
MasterMinya
Posts: 18
Joined: Wed Aug 12, 2015 11:26 pm

Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by MasterMinya »

The Pre Alpha was leaked today so I was curious if we could possibly extract anything from it, models, textures, etc.

Samples: http://www.mediafire.com/download/ec1rn ... amples.rar

Thanks in advance!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by aluigi »

I think that the filenames are obfuscated, but for the rest this script should do the job:
http://aluigi.org/bms/swbf3.bms
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by Acewell »

Thanks!
aluigi wrote:I think that the filenames are obfuscated..

OP didn't include the str file with the filenames, here it is
fsys.zip


screenshot of all the files in that directory
Image

If you need more samples i'll zip up that whole folder. :D
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by aluigi »

Script 0.1.1 :)
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by Acewell »

Thank you!
49066 files found in 29 mins 55 secs from fsys files

:D

edit
hmm file sizes aren't adding up
fsys.pak.00-05 are 5.75 GB and the total size of extracted files is 553 MB..
Last edited by Acewell on Thu Jan 21, 2016 10:59 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by aluigi »

fsys.pak contains references for 36778 files.
There are no other information in it.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by Acewell »

strange, i used a batch file to collect all extracted file names and it confirmed 49066 files with no duplicates.
Filelist.zip

last thing recorded in the QuickBMS cmd window
Image

i'll extract again to double check nothing went wrong but everything seems right or else those extra 12288 files wouldn't exist.
Last edited by Acewell on Thu Jan 21, 2016 10:38 pm, edited 2 times in total.
ggctuk
Posts: 33
Joined: Thu Jan 21, 2016 9:19 pm

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by ggctuk »

Maybe it's my setup but I'm getting nothing but an error when I try to use the script with QuickBMS on the .pak files.
Corra_Ashu
Posts: 6
Joined: Sun Jan 17, 2016 10:29 am

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by Corra_Ashu »

There was duplicates when i went to extract for the textures,rax and others but not sure if it's really the same file or a new one with the same name.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by Acewell »

no duplicates for me, i didn't get any prompts to overwrite anything either.

@ggctuk
You got to have all of these in the same folder
fsys.pak
fsys.pak.00
fsys.pak.01
fsys.pak.02
fsys.pak.03
fsys.pak.04
fsys.pak.05
fsys.pak.str
ggctuk
Posts: 33
Joined: Thu Jan 21, 2016 9:19 pm

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by ggctuk »

Hmm. This is what I get:

Image
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by Acewell »

looks like you need to update your version of quickbms

http://aluigi.altervista.org/quickbms.htm
ggctuk
Posts: 33
Joined: Thu Jan 21, 2016 9:19 pm

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by ggctuk »

I see. It's running now. Wow, there's a lot of stuff in there. Here's hoping we can convert it all into something useable.
Corra_Ashu
Posts: 6
Joined: Sun Jan 17, 2016 10:29 am

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by Corra_Ashu »

ggctuk wrote:I see. It's running now. Wow, there's a lot of stuff in there. Here's hoping we can convert it all into something useable.


Not really the script isn't doing something right cause everything is 16kb or lower.
ggctuk
Posts: 33
Joined: Thu Jan 21, 2016 9:19 pm

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by ggctuk »

It also seems like there's less files coming out than there should be.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by aluigi »

I can only speak about the 2mb sample that was provided and everything there is perfect and matches the results of offzip with 914 files extracted.
Ginev
Posts: 5
Joined: Fri Jan 22, 2016 12:59 pm

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by Ginev »

It will be best someone to send to aluigi the full files so he can make more tests on them,if he want to download 5 Gb files however...
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by aluigi »

I have made a simple test here for calculating the total size of the archived compressed data and the decompressed ones, this is the result:

Code: Select all

PAK: 0   ZSIZE: 0x3e9389fa   SIZE: 0x62c10973
PAK: 1   ZSIZE: 0x3f9cffdb   SIZE: 0x4b0fb334
PAK: 2   ZSIZE: 0x3f9246f7   SIZE: 0x778c1686
PAK: 3   ZSIZE: 0x3f2c2e65   SIZE: 0x92c45fe8
PAK: 4   ZSIZE: 0x3f32fe5c   SIZE: 0x90eece20
PAK: 5   ZSIZE: 0x308cd948   SIZE: 0x72360ed0
TOTAL 0x000000016caed6d5 0x00000002bb461005
It means that at the end of the extraction you should have 11 gigabytes of files (49066 files) in the output folder.
In fact it's not possible to spend half-hour for extracting 500mb and you are getting no errors from quickbms.

(49066 is the correct number of files, my previous number was a mistake)
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by Acewell »

553mb of files in half hour of extraction with no errors may sound impossible but its exactly what is happening.
I tried 2 extractions with 2 different versions of quickbms, same outcome.
i think files are getting trimmed down to 16kb or else this game must have a lot of low poly models. :(

anyway I got this from assets\bf\ob_xb_v184\capital_ships\cis_cruiser_exterior_30_scaled_lod\novodex.rax with hex2obj
Image
no idea where the UVs are but i suspect they might be in ob.rax :?
ggctuk
Posts: 33
Joined: Thu Jan 21, 2016 9:19 pm

Re: Star Wars Battlefront III Pre-Alpha (Xbox 360) - .WAR .RAX .PAK

Post by ggctuk »

This happens with the audio files too. It only gets one second out of the .wav files even though the headers for these files indicate that there should be more (IE a minute's worth of audio for cutscenes).