ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Dec 13, 2018 1:51 pm

All times are UTC




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Mon Feb 05, 2018 6:38 pm 

Joined: Fri Feb 02, 2018 3:14 pm
Posts: 9
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)


Top
   
PostPosted: Tue Feb 06, 2018 9:19 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9469
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


Top
   
PostPosted: Fri Feb 09, 2018 11:31 pm 

Joined: Fri Feb 02, 2018 3:14 pm
Posts: 9
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.


Top
   
PostPosted: Fri Feb 09, 2018 11:52 pm 

Joined: Fri Feb 02, 2018 3:14 pm
Posts: 9
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.


Top
   
PostPosted: Sun Feb 11, 2018 9:38 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 527
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

_________________
Quickbms.com link thread
Search bms scripts


Last edited by Acewell on Mon Feb 19, 2018 9:39 am, edited 1 time in total.

Top
   
PostPosted: Sun Feb 11, 2018 12:11 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9469
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


Top
   
PostPosted: Sun Feb 11, 2018 6:04 pm 

Joined: Fri Feb 02, 2018 3:14 pm
Posts: 9
Guys, you are my heroes! <3


Top
   
PostPosted: Sun Feb 11, 2018 7:49 pm 

Joined: Fri Feb 02, 2018 3:14 pm
Posts: 9
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.


Top
   
PostPosted: Sun Feb 11, 2018 8:44 pm 

Joined: Fri Feb 02, 2018 3:14 pm
Posts: 9
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


Top
   
PostPosted: Mon Feb 12, 2018 2:04 am 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 527
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. :)

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Fri Nov 16, 2018 1:39 pm 

Joined: Fri Nov 16, 2018 12:56 pm
Posts: 1
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited