Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Call of Duty - Ghost - PC - *.pak/*.ff

The Original Forum. Game archives, full of resources. How to open them? Get help here.
ZerOHearth
advanced
Posts: 62
Joined: Sun Jun 13, 2010 10:32 am
Location: Germany
Has thanked: 13 times
Contact:

Call of Duty - Ghost - PC - *.pak/*.ff

Post by ZerOHearth »

Can anyone take a look at this files.

PM me for sample.
Image
withmorten
ultra-n00b
Posts: 7
Joined: Wed Nov 28, 2012 4:03 pm
Has thanked: 2 times

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by withmorten »

It's just flac files in a container (the .pak files). I'm no good at writing scripts, but I think a simple quickbms script would do. If anyody wants a sample, they can PM me, too.
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by OrangeC »

Is there a way to check if the filenames are generated in RAM for the flac files?
withmorten
ultra-n00b
Posts: 7
Joined: Wed Nov 28, 2012 4:03 pm
Has thanked: 2 times

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by withmorten »

Hah, you just posted the same in ffshrine. :D

Do you have an extractor script handy or something? The BO2 sound format is exactly the same, yet the extractor for that is created specifically for BO2's folder structure ... :/
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by OrangeC »

Actually if you want to extract the FLAC raw just use vgmtoolbox and set it to search for FLAC, in the advanced/extraction tab.
withmorten
ultra-n00b
Posts: 7
Joined: Wed Nov 28, 2012 4:03 pm
Has thanked: 2 times

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by withmorten »

That's actually what I've been trying to do right now, but what do I choose as terminator string?

Edit: Oh well, apparently "fLaC" worked just fine, it's just that the first few files were only a couple of KB and kinda weird, so I thought it didn't work properly. Checking "Cut to EOF ..." is also necessary for VGM to properly write out the last file in the archive.
killerpepo
beginner
Posts: 21
Joined: Wed Mar 23, 2011 7:22 am
Has thanked: 16 times
Been thanked: 7 times

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by killerpepo »

Hi guys .. this is a small program I wrote in C# it extracts the *.flac audio files
a bit better than VGM because it searches for "fLaC" string , while this read the file size from header :D

just drag the *.pak file (which contains the sound) and drop it on the exe and it will extract .. :)
You do not have the required permissions to view the files attached to this post.
User avatar
Savage
VIP member
VIP member
Posts: 559
Joined: Sun Apr 17, 2005 11:00 am
Has thanked: 16 times
Been thanked: 18 times

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by Savage »

Thanks for the tool 8D
Image
ZerOHearth
advanced
Posts: 62
Joined: Sun Jun 13, 2010 10:32 am
Location: Germany
Has thanked: 13 times
Contact:

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by ZerOHearth »

Is there a chance to extract and repack the textures!?

Look like they are in /dir in the *.ff-files.
Image
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by Ekey »

Share files here.
User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 438
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 189 times
Contact:

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by cra0 »

Ekey wrote:Share files here.
http://cra0kalo.com/public/research/
deepshit
advanced
Posts: 76
Joined: Tue Jan 31, 2012 9:43 pm
Has thanked: 41 times
Been thanked: 30 times

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by deepshit »

zlibed headerless dds textures.
I think name table is encrypted or something.
User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 438
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 189 times
Contact:

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by cra0 »

deepshit wrote:
zlibed headerless dds textures.
I think name table is encrypted or something.
Yep though they could be in the very first img archive. I have to take a look
michalss
Moderator
Posts: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by michalss »

someone checked the X360 version ? I think it wont be encypted
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 438
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 189 times
Contact:

Re: Call of Duty - Ghost - PC - *.pak/*.ff

Post by cra0 »

Ok so here is what I have figured out.

Image


PAK contains SOUND/IMAGE data
PAK files have MAGIC header for image data "IWffu1005" followed by some encrypted/compressed data not Zlib.
After that Zlib blocks start each to be a texture with a textureID these textureIDs are referenced inside the .ff files as the engine calls them from the pak based on the id.

-Header
-OffsetTable (I'm guessing)
-Zlibd blocks


-EDIT here is a dirty release for .ff model data
http://cra0kalo.com/public/COD_GHOSTS_PAKTool.zip

usage: input one of the .ff files

example
https://dl.dropboxusercontent.com/u/107 ... lt_f_tr.ff
https://dl.dropboxusercontent.com/u/107 ... lt_a_tr.ff
https://dl.dropboxusercontent.com/u/107 ... lt_a_tr.ff


it will give you the raw model data


-edit-
-Supports unpacking DXT1/DXT5 textures from the images.pak files
Post Reply