Join also our Discord channel! Click here.

[Help]Monster hunter frontier Unpack

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
osama996
n00b
Posts: 12
Joined: Tue Feb 21, 2012 6:27 pm
Has thanked: 1 time

[Help]Monster hunter frontier Unpack

Post by osama996 » Fri Mar 23, 2012 7:06 pm

Hi guys , i'm trying to open monster hunter frontier's .pac and .bin files.
I don't know what it contains but i need monster hunter's models.
So .pac files are in the models folder ; .bin files are in the weapon/npc folder.

This is one of the .pac files : http://www.mediafire.com/file/pbhd2dr2cchswa7/em034.pac


This is one of the .bin files : http://www.mediafire.com/file/q71wqjpo2leob9w/wg249.bin

I hope that you can open this files.

Ps : i'm italian and i love this forum , sorry for not correct English

finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 298 times

Re: [Help]Monster hunter frontier Unpack

Post by finale00 » Fri Mar 23, 2012 8:57 pm

pac file doesn't seem too bad.
There are some offsets at the top that probably link to each file data. But...the offsets don't seem to jump to each file nicely. Relative offsets? Don't know will need more than just a 30 second glance.

There are obviously some png images there.
Model format is probably the one with the JKR idstring. It starts with an index buffer, and then probably the vertex buffer, but they aren't 4-byte floats so maybe half-floats.

Don't know anything about the bin file though.

finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 298 times

Re: [Help]Monster hunter frontier Unpack

Post by finale00 » Fri Mar 23, 2012 11:28 pm

The format for the pac file is

Code: Select all

int numFiles
numFiles {
    int offset
    int size
}
It is recursively defined for each file stored in the pac using the same struct as above.

The offset is relative to the beginning of its own file, so the entries at the top are relative to the pac file, whereas each file's offsets are relative to the start of its own offsets.

Since there are no filenames, it might make sense to just parse the pac directly as models/textures.
I don't know if it always follows the pattern that models are followed by textures, repeat.

Will need more pac's to verify.

EDIT: nvm about the JKR, it looks like pretty much every file has the JKR there (looked at sounds and saw the JKR). There are a couple bytes afterwards that are a little different, so maybe that forms the whole idstring.

eycaramba
veteran
Posts: 86
Joined: Wed Sep 02, 2009 1:52 pm
Has thanked: 30 times
Been thanked: 1 time

Re: [Help]Monster hunter frontier Unpack

Post by eycaramba » Fri Sep 07, 2012 10:02 am

Bumping this, really wanna have a look inside the files as well, new versions seem to have changed.

Post Reply