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

CoD Advanced Warfare .pak and .ff

The Original Forum. Game archives, full of resources. How to open them? Get help here.
spider91
advanced
Posts: 78
Joined: Mon Feb 14, 2011 8:09 am
Has thanked: 18 times
Been thanked: 45 times

CoD Advanced Warfare .pak and .ff

Post by spider91 »

Any ideas about this files? .ff seems to contain texts and sounds (FLAC). Magic number is S1ffu100 on both types, but .pak looks like compressed file. What about script?

https://mega.co.nz/#!9gwR0ZLC!8TrF9981y ... -R34wgaZ8k
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: CoD Advanced Warfare .pak and .ff

Post by cra0 »

http://dev.cra0kalo.com/?p=195
works for sound paks since its just flacs mushed


as for imagepaks they are encrypted
m0xf
n00b
Posts: 19
Joined: Thu Aug 16, 2012 6:57 pm
Been thanked: 56 times

Re: CoD Advanced Warfare .pak and .ff

Post by m0xf »

Imagefiles not encrypted, it compressed with LZ77-like algorithm instead of zlib. Decompression code: http://pastebin.com/GhfXDhE7 .
spider91
advanced
Posts: 78
Joined: Mon Feb 14, 2011 8:09 am
Has thanked: 18 times
Been thanked: 45 times

Re: CoD Advanced Warfare .pak and .ff

Post by spider91 »

m0xf wrote:Imagefiles not encrypted, it compressed with LZ77-like algorithm instead of zlib. Decompression code: http://pastebin.com/GhfXDhE7 .
Can someone implement that code in script or tool?
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: CoD Advanced Warfare .pak and .ff

Post by cra0 »

m0xf wrote:Imagefiles not encrypted, it compressed with LZ77-like algorithm instead of zlib. Decompression code: http://pastebin.com/GhfXDhE7 .
ah yeah you're right sub_14014A350

there are about 4 types of compression methods 1 is zlib
Image

Yep sub_1404E9010 is zlib

Image

If compressiontype is 1 call zlib function
Koma
ultra-n00b
Posts: 4
Joined: Fri Nov 07, 2014 1:59 pm
Location: Munich
Has thanked: 3 times
Been thanked: 1 time

Re: CoD Advanced Warfare .pak and .ff

Post by Koma »

cra0 wrote:http://dev.cra0kalo.com/?p=195
works for sound paks since its just flacs mushed

as for imagepaks they are encrypted
That is a fine tool indeed. But there is one problem with it.

When going only through archives "soundfile1.pak", "soundfile48.pak" and "soundfile57.pak", your extractor reaches a specific loop point which leads you back to the first file of the archive, and it just stays there until it's shut down. The rest of the archives remains completely unaffected. It is a kinda annoying issue which doesn't let your extractor unpack more audio files after reaching that point, even if it can be circumvented by just moving the affected archives somewhere else.

soundfile1.pak loop point is at "soundfile1_00227800.flac"
soundfile48.pak loop point is at "soundfile48_09986800.flac"
soundfile57.pak loop point is at "soundfile57_09449000.flac"

Is it me doing something wrong, or aren't the archives right? I lack the needed knowledge to look upon this issue and that's why I sincerely request that you'll look it up.


EDIT: Okay, you can disregard that issue now! I just used the 32-bit version of it and the bug doesn't seem to occur anymore. At least for now.
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: CoD Advanced Warfare .pak and .ff

Post by cra0 »

Koma wrote:
cra0 wrote:http://dev.cra0kalo.com/?p=195
works for sound paks since its just flacs mushed

as for imagepaks they are encrypted
That is a fine tool indeed. But there is one problem with it.

When going only through archives "soundfile1.pak", "soundfile48.pak" and "soundfile57.pak", your extractor reaches a specific loop point which leads you back to the first file of the archive, and it just stays there until it's shut down. The rest of the archives remains completely unaffected. It is a kinda annoying issue which doesn't let your extractor unpack more audio files after reaching that point, even if it can be circumvented by just moving the affected archives somewhere else.

soundfile1.pak loop point is at "soundfile1_00227800.flac"
soundfile48.pak loop point is at "soundfile48_09986800.flac"
soundfile57.pak loop point is at "soundfile57_09449000.flac"

Is it me doing something wrong, or aren't the archives right? I lack the needed knowledge to look upon this issue and that's why I sincerely request that you'll look it up.


EDIT: Okay, you can disregard that issue now! I just used the 32-bit version of it and the bug doesn't seem to occur anymore. At least for now.
Ill have a look

-edit-

try
http://rel.cra0kalo.com/depot/CODAW_Fla ... 64_3.0.zip

should be much faster + fixed the issue was to do with my pattern finder function was returning 0 which i never checked
Koma
ultra-n00b
Posts: 4
Joined: Fri Nov 07, 2014 1:59 pm
Location: Munich
Has thanked: 3 times
Been thanked: 1 time

Re: CoD Advanced Warfare .pak and .ff

Post by Koma »

It's all unpacked now. Thanks, cra0.

Have a beer.

Image
Sir Kane
veteran
Posts: 104
Joined: Mon Aug 06, 2012 4:14 am
Been thanked: 96 times

Re: CoD Advanced Warfare .pak and .ff

Post by Sir Kane »

It's LZ4.
Psp1000
ultra-n00b
Posts: 2
Joined: Sun Nov 09, 2014 6:00 pm
Has thanked: 2 times

Re: CoD Advanced Warfare .pak and .ff

Post by Psp1000 »

great tool :)
What about the files of the xbox 360 version? :)

for example
soundfile1.pak - 26,3 MB
michalss
Moderator
Posts: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: CoD Advanced Warfare .pak and .ff

Post by michalss »

can you pleae share stucture ? Did you find any text by any chance ?? Thx
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/
Psp1000
ultra-n00b
Posts: 2
Joined: Sun Nov 09, 2014 6:00 pm
Has thanked: 2 times

Re: CoD Advanced Warfare .pak and .ff

Post by Psp1000 »

hey, i found: RIFFX0..WAVEfmt. i found out this is an audio format :)

example file:
https://mega.co.nz/#!sV0CQQoa!akjd2SPHK ... YzTkIEc9Ag

does it help? i'm new at this topic, thx
cloudslsw
ultra-n00b
Posts: 6
Joined: Thu Nov 04, 2010 10:37 am

Re: CoD Advanced Warfare .pak and .ff

Post by cloudslsw »

cra0 wrote: try
http://rel.cra0kalo.com/depot/CODAW_Fla ... 64_3.0.zip

should be much faster + fixed the issue was to do with my pattern finder function was returning 0 which i never checked

hi ,cra0,i try version 3.0 ,but console stuck at decompressing soundfile13.pak/soundfile18.pak/soundfile20.pak,rest of files im not test.but with version 2.0,i could decompress with it.it's werid,my os are win7 64bit,any ideas?
Abohack
ultra-n00b
Posts: 3
Joined: Wed Nov 12, 2014 2:18 pm
Has thanked: 1 time

Re: CoD Advanced Warfare .pak and .ff

Post by Abohack »

hey guys

first of all I want to thank u for your great tool. I want to extract some imagefile.pak files but I cant find a tool for that, Could please anyone help me?

thanks
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: CoD Advanced Warfare .pak and .ff

Post by cra0 »

Link was dead I didn't realize:
https://cra0.net/public/bin-published/C ... 64_3.0.zip
Here is the new one.

I'll try find the source and open source this on github. Better late then never right :)
Post Reply