Join also our Discord channel! Click here.

F.E.A.R. 3 compressed dsPack files

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
rengareng
veteran
Posts: 128
Joined: Fri Feb 18, 2011 10:23 am
Has thanked: 6 times
Been thanked: 46 times

F.E.A.R. 3 compressed dsPack files

Post by rengareng » Wed Jul 20, 2011 1:42 pm

hi,
this file from original release of the game. there is 2 different header for files.
resources\Localized\Audio\English.dsPack file:

Code: Select all

2066676D5A5A0108 :  fgmZZ..
other files in resources\ has

Code: Select all

6D67662008015A5A : mgf ..ZZ
. there is I think there is only little endian and big endian difference.
and example file:
DOWNLOAD sample preload.dsPack file

bugmenotty
Banned
Posts: 11
Joined: Wed Mar 16, 2011 11:26 am
Has thanked: 1 time
Been thanked: 1 time

Re: F.E.A.R. 3 compressed dsPack files

Post by bugmenotty » Mon Jan 16, 2012 10:09 pm

I can't believe no one has managed to create an extractor for the game. I checked out english.dspack and found the file listing at offset 0x2506D6. The archive contains over 2000 uncompressed mp3-files with wave headers (160kbps, mono, 48khz). The same goes for audio.dspack. I extracted one file manually with a hex editor and it plays fine.

I checked out resource.dspack and that one seems to be compressed. The end of the file seems to contain the dictionary, at least the many word fragments I found give me the impression. I'm not knowledgeable enough to identify the compression algorithm, but may be someone can take it from here and finally decipher these files.

bugmenotty
Banned
Posts: 11
Joined: Wed Mar 16, 2011 11:26 am
Has thanked: 1 time
Been thanked: 1 time

Re: F.E.A.R. 3 compressed dsPack files

Post by bugmenotty » Sun Jan 22, 2012 11:14 am

Funny that no one seems to be able to extract the uncompressed archives. Well, I wrote my own extractor in the meantime so never mind.

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 646 times
Contact:

Re: F.E.A.R. 3 compressed dsPack files

Post by aluigi » Sun Jan 22, 2012 12:41 pm

some time ago I wrote a work-in-progress script for extracting the uncompressed files from F3AR so I have just replaced the clog command with a log one (after all if I don't know the algorithm I can do nothing so extract them compressed) for allowing it to work:
http://aluigi.org/papers/bms/f3ar_prebuild.bms

bugmenotty
Banned
Posts: 11
Joined: Wed Mar 16, 2011 11:26 am
Has thanked: 1 time
Been thanked: 1 time

Re: F.E.A.R. 3 compressed dsPack files

Post by bugmenotty » Sun Jan 22, 2012 1:28 pm

I tried both of your Fear 3 scripts on the retail version and not a single one extracts. On audio.dspack the extraction of crc.map errors out with the following message:

"Error: the specific offset can't be reached"

Since the audio-archives are not compressed, there's not much to figure out. I already have the files extracted with generic filenames. Now all I need to do is to read the names and directory structure from the archive.

prudislav
beginner
Posts: 35
Joined: Tue Oct 12, 2010 11:48 pm
Has thanked: 1 time

Re: F.E.A.R. 3 compressed dsPack files

Post by prudislav » Thu Feb 16, 2012 5:50 pm

still nothing?

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: 300 times

Re: F.E.A.R. 3 compressed dsPack files

Post by finale00 » Thu Feb 16, 2012 6:42 pm

Maybe bugmenotty would like to share his source since it works?

Pepper
mega-veteran
mega-veteran
Posts: 278
Joined: Thu Apr 17, 2008 3:48 am
Has thanked: 47 times
Been thanked: 38 times

Re: F.E.A.R. 3 compressed dsPack files

Post by Pepper » Tue Feb 21, 2012 4:15 am

If you read, he extracted the audio files. (uncompressed ones) any wave/mp3 scanner does that just fine.

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: 300 times

Re: F.E.A.R. 3 compressed dsPack files

Post by finale00 » Tue Feb 21, 2012 4:25 am

Didn't read his second post. thought he meant it was easy and was surprised that no one has figured it out.

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 646 times
Contact:

Re: F.E.A.R. 3 compressed dsPack files

Post by aluigi » Sun Mar 04, 2012 10:09 pm

I have seen no threads related to this argument on encode.ru.
anyway I have doubts about someone there who would like to spend time on this algorithm without even having a precompiled code to check (game + exact location of the algorithm)

about the nickname banning I don't know the policy here but I understand the frustration of being obligated to register anywhere (forums and bug trackers) only to say one thing.

Akramma
ultra-n00b
Posts: 3
Joined: Sun Nov 11, 2018 8:43 pm
Has thanked: 1 time

Re: F.E.A.R. 3 compressed dsPack files

Post by Akramma » Fri May 15, 2020 7:56 pm

Did you guys extract all the sounds from the Audio file? I would like to get the multiplayer voicelines

ZachFett
ultra-n00b
Posts: 2
Joined: Tue Mar 17, 2020 10:18 am
Has thanked: 1 time

Re: F.E.A.R. 3 compressed dsPack files

Post by ZachFett » Sat Sep 26, 2020 2:34 am

Akramma wrote:
Fri May 15, 2020 7:56 pm
Did you guys extract all the sounds from the Audio file? I would like to get the multiplayer voicelines
Do you still need these? I successfully extracted them with a program I found called "Game Extractor".

Post Reply