Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
pechenko121
Posts: 11
Joined: Tue Dec 09, 2014 7:37 am

Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by pechenko121 »

Hello everyone. I tried to extract files wit all bms scripts that can open .pak files, but it doesn't help me. Could anyone write script to open this archive?

Link to file: https://mega.co.nz/#!tUZE1YSQ!kJvfbH8mi ... gmvYLAAVmw

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

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by aluigi »

I have made a script available here:
http://aluigi.org/papers/bms/others/mar ... ance_2.bms

BUT it's not complete.
You will be able to extract the files but some of them are FOR SURE invalid or corrupted.
There is an explanation about this problem in the header of the script.
So I consider it an experimental and incomplete script, but many files are extracted correctly (I hope).
pechenko121
Posts: 11
Joined: Tue Dec 09, 2014 7:37 am

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by pechenko121 »

aluigi wrote:I have made a script available here:
http://aluigi.org/papers/bms/others/mar ... ance_2.bms

BUT it's not complete.
You will be able to extract the files but some of them are FOR SURE invalid or corrupted.
There is an explanation about this problem in the header of the script.
So I consider it an experimental and incomplete script, but many files are extracted correctly (I hope).


Thank you a lot, script opened that archive, but there is anoter problem, models and textures are in .igz. Hope i can find any information how to convert them
It would be nice, if you could write script that open or convert .igz files :roll:

I think that it is an archive that can be opened on linux, but i can't check this because i'm the windows user.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by aluigi »

igz is not a linux file, it's just a custom format.
Maybe someone else is interested in making a script for it.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by AlphaTwentyThree »

I'm also interested in the extraction of the pak files. I don't know, does it help if you take a look at some of the PS3 version files? http://www33.zippyshare.com/v/gPcH0Rbj/file.html
Would be cool to resolve this issue, for the big music archive!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by aluigi »

Script updated to 0.2.
The unsupported files (just one in the archive that was provided) are saved in a folder called UNSUPPORTED.
All the files in that ps3 version were mp3s.
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by AlphaTwentyThree »

This is really great Luigi! :D
pechenko121
Posts: 11
Joined: Tue Dec 09, 2014 7:37 am

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by pechenko121 »

Sorry for bumping, but Luigi, maybe you are able to write script that can extract models and textures from that game in readeable format? (obj or 3ds and tga or png?) I would really appreciate it :D
Samples:
https://mega.nz/#!RFRVmTpb!7uhkGpWOa9Az ... OVIl2XD8Fw

i think model is stored in 1701.igz wich located in actors folder, and textures located in archives that located in materials folder.
BTW i found this in one file
Image

wich seem to be tga texture.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by aluigi »

I don't know what you mean.
The only thing I see in the IGZ files is the header and the possibility of extracting their content:

Code: Select all

endian big
idstring "IGZ\x01"
get FILES long
for i = 0 < FILES
    get DUMMY long
    get NAME_OFF long
    get OFFSET long
    get SIZE long
    log "" OFFSET SIZE
next i
Note that the first extracted file will have the IGZ\1 magic but is NOT the same format.
pechenko121
Posts: 11
Joined: Tue Dec 09, 2014 7:37 am

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by pechenko121 »

aluigi wrote:I don't know what you mean.
The only thing I see in the IGZ files is the header and the possibility of extracting their content:

Code: Select all

endian big
idstring "IGZ\x01"
get FILES long
for i = 0 < FILES
    get DUMMY long
    get NAME_OFF long
    get OFFSET long
    get SIZE long
    log "" OFFSET SIZE
next i
Note that the first extracted file will have the IGZ\1 magic but is NOT the same format.


i just thought that i found name of texture inside this file and it's possible to extract i in tga :mrgreen:

Sooo, i used your script and it gave me bunch of .dat files.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by aluigi »

Eh easy life :D
Often the non-PC games use files converted as resources for being directly used in the engine, so their are not known formats easy to view.
pechenko121
Posts: 11
Joined: Tue Dec 09, 2014 7:37 am

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by pechenko121 »

aluigi wrote:Eh easy life :D
Often the non-PC games use files converted as resources for being directly used in the engine, so their are not known formats easy to view.


That mean it is possible to extract character models and textures from this archives? :o
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by aluigi »

What I mean is that the script extracts everything it finds referenced in the archive.
Understanding what this content means or how to view/open/edit it, it's not its job.
pechenko121
Posts: 11
Joined: Tue Dec 09, 2014 7:37 am

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by pechenko121 »

aluigi wrote:What I mean is that the script extracts everything it finds referenced in the archive.
Understanding what this content means or how to view/open/edit it, it's not is job.

oh, ok i got it :oops:
pechenko121
Posts: 11
Joined: Tue Dec 09, 2014 7:37 am

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by pechenko121 »

i knew that i'm really annoying person, but this maybe last time i'm asking help :oops:
Is it ever possible to extract images from this .DAT files? One guy helped me to extract model with UV's but not textures.
Thank you so much

Here's the model if you are interested :mrgreen:
Image

Files here
Textures located in folder "maybe textures"

Thank you again, you and other Members of Xentax very helped me!

Cheers!
MUALover
Posts: 1
Joined: Tue Dec 15, 2015 5:59 pm

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by MUALover »

aluigi wrote:I have made a script available here:
http://aluigi.org/papers/bms/others/mar ... ance_2.bms

BUT it's not complete.
You will be able to extract the files but some of them are FOR SURE invalid or corrupted.
There is an explanation about this problem in the header of the script.
So I consider it an experimental and incomplete script, but many files are extracted correctly (I hope).


Hi there!
I'm new at these programming and hacking skill :D

So I used the script you mentioned earlier to extract some of the Marvel - Ultimate Alliance 2 .pak files from the PlayStation 3 version of the game.

But then an error happens :

-------

Error: the compressed zlib/deflate input is wrong or incomplete (-3)
Info: algorithm 2
offset 00c5f002
input size 0x00000e01 3585
output size 0x00008000 32768
result 0xffffffff -1

Error: the uncompressed data (-1) is bigger than the allocated buffer (32768)

Last script line before the error or that produced the error:
59 clog MEMORY_FILE OFFSET ZSIZE 0x8000

-------

I know that you said the script was incomplete, but could you identify the problem? Or maybe could you solve it if you're not busy?

I'm so curious about the contents inside those .pak files..

Thanks!
LarsMasters
Posts: 27
Joined: Fri Dec 18, 2015 9:15 am

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by LarsMasters »

Are there any news if Marvel Ultimate Alliance 1 IGB porting is planned since some of them are exclusive to some console (particularly on Xbox 360 Gold Edition & Wii)?
TRDaz
Posts: 42
Joined: Fri Nov 06, 2015 1:54 pm

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by TRDaz »

I seem to get an error when using these on all character files that I can see in the game, it errored on the first file it tries to extract. This is the error:
Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by aluigi »

I have updated the script replacing comtype deflate with deflate_noerror, so it will not terminate.
It's not a solution but consider that the script is a work-around.
pechenko121
Posts: 11
Joined: Tue Dec 09, 2014 7:37 am

Re: Marvel Ultimate Alliance 2 (.pak), XBOX360 version.

Post by pechenko121 »

Luigi, can you take a look at script to make it extract all content out of archieves, if it possible, when you will have some time?
I can provide you with sample file from PS3 version, if needed. Thank you so much :D