Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Monster vs Aliens .PAK file

Featured Replies

  • Author
  • Localization

Houjimmy, posted Mon Feb 05, 2018 6:38 pm (32222)


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
  • Localization

aluigi, posted Tue Feb 06, 2018 9:19 am (32239)


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
  • Localization

Houjimmy, posted Fri Feb 09, 2018 11:31 pm (32316)


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
  • Localization

Houjimmy, posted Fri Feb 09, 2018 11:52 pm (32318)


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
  • Localization

Acewell, posted Sun Feb 11, 2018 9:38 am (32354)


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
  • Localization

aluigi, posted Sun Feb 11, 2018 12:11 pm (32358)


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
  • Localization

Houjimmy, posted Sun Feb 11, 2018 6:04 pm (32390)


Guys, you are my heroes! <3
  • Author
  • Localization

Houjimmy, posted Sun Feb 11, 2018 7:49 pm (32392)


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
  • Localization

Acewell, posted Mon Feb 12, 2018 2:04 am (32400)


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
  • Localization

virion, posted Fri Nov 16, 2018 1:39 pm (40424)


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//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.
  • Author
  • Localization

Serg__G, posted Fri Dec 03, 2021 10:56 am (67819)


I tried to unpack .PAK files from the game, but i cant use any .mdl files in any 3D program. But .dds can be opened. How to fix this?
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.