Middle-earth: Shadow of War (.arch06) HELP

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by aluigi »

Mah, the game supports compressed archives that are extracted in a TEMPORARY_FILE so maybe it's possible that these additional files can't be found in the archives because they are compressed archives.
Anyway it's very rare.

The good news is that there is a way to test the files in the BNDL archives with ZSIZE equal to zero.
Open the script (0.3.6b) with a text editor and at line 156 replace:

Code: Select all

            endif
with:

Code: Select all

            else
                log NAME OFFSET SIZE
            endif

Let me know if now the extracted files are more and moreover if the new files are zero-size files.
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by Tosyk »

aluigi wrote:Mah, the game supports compressed archives that are extracted in a TEMPORARY_FILE so maybe it's possible that these additional files can't be found in the archives because they are compressed archives.
Anyway it's very rare.

The good news is that there is a way to test the files in the BNDL archives with ZSIZE equal to zero.
Open the script (0.3.6b) with a text editor and at line 156 replace:

Code: Select all

            endif
with:

Code: Select all

            else
                log NAME OFFSET SIZE
            endif

Let me know if now the extracted files are more and moreover if the new files are zero-size files.
thanks for reply. do I need to unpack .arch06 files with this?

edit: extracted files out of .arch06 have same size
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by aluigi »

So has the edited script extracted more files than the original script?
And, if yes, are the 4 files in these new extracted files?
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by Tosyk »

aluigi wrote:So has the edited script extracted more files than the original script?
And, if yes, are the 4 files in these new extracted files?
the amount of files is the same. :cry:

p.s.: here's topic where I got all these names: http://forum.xentax.com/viewtopic.php?f=16&t=17200. unfortunately nobody answer my questions there. I wonder how they able to obtained these 4 models.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by aluigi »

Tosyk wrote:the amount of files is the same.

In that case everything is perfect and all the files have been extracted correctly.
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by Tosyk »

aluigi wrote:
Tosyk wrote:the amount of files is the same.
In that case everything is perfect and all the files have been extracted correctly.
if so then why, after extracting full game 5 times, I can't find none of these files in the extracted files:

nazgul_helmet_witchking.mesh
nazgul_body_witchking.mesh
nazgul_body_isildur.mesh
nazgul_body_hammerhand.mesh

nazgul_helmet_witchking.skel
nazgul_body_witchking.skel
nazgul_body_isildur.skel
nazgul_suladan.skel
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by aluigi »

Because they don't exist, simple :)
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by Tosyk »

aluigi wrote:Because they don't exist, simple :)
but this is just not possible - they are main antagonists of the game
erik945
Posts: 23
Joined: Sat Nov 18, 2017 7:30 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by erik945 »

I got some new files (shelob[1...3]_00000001.bndl, shelob[1...3]_00000001.embb) with zero-size from mtnpass.arch06.
What's next?
Do I need to give a link to download this file?
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by Tosyk »

moreover I got this:

Code: Select all

- 76 files found in 12 seconds
  coverage file 0     0%   772331     1417178720 . offset 000bc8eb
  coverage file -1   97%   4844       4948       . offset 00001354

Press ENTER or close the window to quit
on minasithil.arch06\minasithil.embb

which is ~1.4 gigs
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by aluigi »

That's interesting yes.
Can you upload the 2 files generated by http://aluigi.org/bms/filecutter.bms on minasithil.embb?
Maybe set the MEGABYTES variable to 4 instead of 2.
erik945
Posts: 23
Joined: Sat Nov 18, 2017 7:30 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by erik945 »

aluigi wrote:That's interesting yes.
Can you upload the 2 files generated by http://aluigi.org/bms/filecutter.bms on minasithil.embb?
Maybe set the MEGABYTES variable to 4 instead of 2.

https://www.dropbox.com/s/gmn3vmpn2a4is ... bb.7z?dl=0
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by aluigi »

It's a concatenation of EMBB archives... very strange and a bit senseless too.
Anyway I have updated the script to version 0.3.7, let me know if it works and if it works with other embb archives too.
http://aluigi.org/bms/shadow_of_mordor.bms
erik945
Posts: 23
Joined: Sat Nov 18, 2017 7:30 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by erik945 »

Did is changes only for embb or arch06 too?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by aluigi »

embb, the only type of archive for which have been reported problems.
erik945
Posts: 23
Joined: Sat Nov 18, 2017 7:30 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by erik945 »

Ok, thank you

When I added your script code

Code: Select all

            else
                log NAME OFFSET SIZE
            endif

I got some extra embb with a zero size
Middle Earth Shadow of War\unp\island.arch06\carnun1_00000001.embb
Middle Earth Shadow of War\unp\minasithil.arch06\blade15_00000001.embb
Middle Earth Shadow of War\unp\mtnpass.arch06\gondor15_00000001.embb
Middle Earth Shadow of War\unp\mtnpass.arch06\shelob3_00000001.embb
e.t.c.

Also I have a bunch of small embb (up to 10 kb) when unpacking which results is the following error

Code: Select all

QuickBMS generic files extractor and reimporter 0.8.1 (64bit test)
by Luigi Auriemma
e-mail: me@aluigi.org
web:    aluigi.org
        (Sep  9 2017 - 00:41:16)

                   quickbms.aluigi.org  Homepage
                            zenhax.com  ZenHAX Forum
                               @zenhax  Twitter & Scripts

- open input file E:\Program Files (x86)\Middle Earth Shadow of War\unp\presentations_de.arch06\dx\go015\010\020\baranor.embb
- open script E:\Program Files (x86)\Middle Earth Shadow of War\shadow_of_mordor_embb.bms
- set output folder E:\Program Files (x86)\Middle Earth Shadow of War\__embb

Error: incomplete input file 0: E:\Program Files (x86)\Middle Earth Shadow of War\unp\presentations_de.arch06\dx\go015\010\020\baranor.embb
       Can't read 4 bytes from offset 0000000000000010.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.


This is normal?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by aluigi »

The zero size duplicated files explain why I correctly checked ZSIZE in the script. I did the job correctly the first time but I forget the details once the script is finished :)

And yes it's correct the error of the script with those empty embb files, that error tells you that the input embb file is shorter than 16 bytes indeed.
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by Tosyk »

Luigi, thanks for your time — script working perfect now!
erik945
Posts: 23
Joined: Sat Nov 18, 2017 7:30 pm

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by erik945 »

Thank you again! All work fine.
Noriuen
Posts: 1
Joined: Wed Nov 08, 2017 9:46 am

Re: Middle-earth: Shadow of War (.arch06) HELP

Post by Noriuen »

Does anyone know where the sound files are?