ZenHAX
https://zenhax.com/

Monster vs Aliens .PAK file
https://zenhax.com/viewtopic.php?f=9&t=7355
Page 1 of 1

Author:  Houjimmy [ Mon Feb 05, 2018 6:38 pm ]
Post subject:  Monster vs Aliens .PAK file

Hi. I am trying to extract a .PAK file from Monsters vs Aliens game, but every program that I use fails.

This is the file i'm trying to extract ( https://mega.nz/#!ImByVQCB!YWzNaza9ZJT4 ... 1sHYWUZ7Yk ), supposedly the Ginormica 3D model. I need it to use in a non-comercial fan-made game that some friends are creating, called Sizebox.

I was talking with Mygoshi of another related topic, like this and this another but it seems the case is different.

Can someone help me with unpacking these?
I thank very much for your help.

(Sorry my bad english)

Author:  aluigi [ Tue Feb 06, 2018 9:19 am ]
Post subject:  Re: Monster vs Aliens .PAK file

I'm not sure it's a sort of archive, for sure not a simple format, so I leave some keywords taken from the file:
BuildMan - Wed Jan 28 16:31:25 2009
GS version 3.140.7
HighRez Windows WorldWide

Author:  Houjimmy [ Fri Feb 09, 2018 11:31 pm ]
Post subject:  Re: Monster vs Aliens .PAK file

When i try to open with some programs, i get this output:

Image

i've seen in another program that the file is lzma86 type, but i'm not sure yet.

Author:  Houjimmy [ Fri Feb 09, 2018 11:52 pm ]
Post subject:  Re: Monster vs Aliens .PAK file

I've then renamed the file to BaseGinormica.lzma, and receive this output from Peazip:

Image

And receive this text output when i test.
Code:
7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=pt_BR.UTF-8,Utf16=on,HugeFiles=on,32 bits,4 CPUs Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (806E9),ASM,AES-NI)

Scanning the drive for archives:
1 file, 31779508 bytes (31 MiB)

Testing archive: /home/daniel/Downloads/BaseGinormica.lzma
WARNING:
/home/daniel/Downloads/BaseGinormica.lzma
Can not open the file as [lzma] archive
The file is open as [lzma86] archive

--
Path = /home/daniel/Downloads/BaseGinormica.lzma
Open WARNING: Can not open the file as [lzma] archive
Type = lzma86


Sub items Errors: 1

Archives with Errors: 1

Sub items Errors: 1


I have already tried to rename the file to the .lzma86 extension, but the error is the same.

Author:  Acewell [ Sun Feb 11, 2018 9:38 am ]
Post subject:  Re: Monster vs Aliens .PAK file

here is a generic bms script attempt to extract all file in the pak :D
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

get FOLDER basename
findloc OFFSET binary "\x26\x00\x00\x00\x01\x00\x01\x00"
do
    goto OFFSET
    goto 0x30 0 seek_cur
    getdstring NAME 0x40
    goto 0x8 0 seek_cur   
    get SIZE long
    math SIZE - 4
    get SKIP long
    savepos OFFSET
    get CHECK long
    if CHECK == 0x20534444
        string EXT = dds
    elif CHECK == 0xAC44
        string EXT = aud //??
    elif CHECK == 0x4
        string EXT = mdl
    else
        string EXT = dat
    endif
    string NAME p "%s\%s.%s" FOLDER NAME EXT
    log NAME OFFSET SIZE
    findloc OFFSET binary "\x26\x00\x00\x00\x01\x00\x01\x00" 0 "" -1
while OFFSET != ""

i did my best to guess some extensions :D

Author:  aluigi [ Sun Feb 11, 2018 12:11 pm ]
Post subject:  Re: Monster vs Aliens .PAK file

for automatically decompressing lzma data without knowing the type of lzma and its decompressed size it's enough to use:
comtype lzma_dynamic
clog NAME OFFSET SIZE SIZE

Author:  Houjimmy [ Sun Feb 11, 2018 6:04 pm ]
Post subject:  Re: Monster vs Aliens .PAK file

Guys, you are my heroes! <3

Author:  Houjimmy [ Sun Feb 11, 2018 7:49 pm ]
Post subject:  Re: Monster vs Aliens .PAK file

I've sucessfully extracted all files, thank you guys. I've just to put the extension in some files, though i don't know what extension to put in anothers. I've identified 226 of 435 files until now.

Author:  Houjimmy [ Sun Feb 11, 2018 8:44 pm ]
Post subject:  Re: Monster vs Aliens .PAK file

Is there a way to list the original filenames with their extension in quickbms?

All files turned this way. I could only discover the extent of some. Take a look: https://mega.nz/#!Un5QCCLS!MPMyilHnequZ ... yXq-SX2-6k

Author:  Acewell [ Mon Feb 12, 2018 2:04 am ]
Post subject:  Re: Monster vs Aliens .PAK file

the original filenames are stored in the pak but the extensions are not, you have to guess. :)
also when you extract the files with my scripts and you get a duplicate file prompt press "r" to
rename duplicates because there is some files with same name but different size. :D

edit
i combined the 2 scripts and added a check to guess extensions too. :)

Author:  virion [ Fri Nov 16, 2018 1:39 pm ]
Post subject:  Re: Monster vs Aliens .PAK file

Hello there.

I hope you're still interested in extracting the geometry and textures from the monsters vs aliens game despite it's been months since you've asked this question.

I found a tool that let's you extract the meshes and textures from almost any 3d game. It's called ninjaripper. You have to run it as administrator and start the game using ninjaripper in order to make it work. Simply load up the game so you see ginormica and then hit F10. Ninjaripper will then save every geometry along with their textures that you're seeing in the game including characters and map geometries inside the ninjaripper folder at "C:/Users/<your windows account name>/Documents"

Here is the link where you can download it:
https://gamebanana.com/tools/5638

I tested it on the monsters vs aliens game demo and was able to get the 3d models and textures from Ginormica, Missing Link, B.O.B, Insectorsaurus and the Alien Probe. I couldn't do the same on Dr. Cockroach because in the demo you can't play him. This may work if you have the full version of the game.

I've managed to import the 3d models of the characters into blender.

I hope that helps you. Best regards.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/