Call of Duty Ghost (Advance research + Localization)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
michalss
Posts: 320
Joined: Sun Aug 10, 2014 12:49 pm

Call of Duty Ghost (Advance research + Localization)

Post by michalss »

Hello,
we have been little bit exploring the format of PC (Steam) Call of Duty: Ghosts .ff file in english folder to be able to make translation.
If we take only non _mp files, the content is non crypted and stored inside zlibbed containers.

Inside, localized strings were easy to find, but we have also found out, that there is inner comprimation/reduction involved as well.
Out of 4 usuall types of files inside (video subtitle, .csv file, zlib import and sound), three of them are no big trouble to reconstruct (.csv, zlib import and video subtitles).

The problem comes with one type which we guess is wav or flac sound container without header.
If we were able to reconstruct the sound file at least to level, when no looking back/forward within file is required, the translation would be peace of cake.

So far what we know
0x........ 0xF3FDFDFD is offset specifier - which can be looking back or forward usually from start of raw data section or previous file (so far only one easy file with video subtitles and csv file was fully reconstructed).
0xFFFFFFFF 0xFFFDFDFD is telling reconstruct algorithm to use available data following after offset section (at least for .csv file and video subtitles)
0xFEFFFFFF 0xFFFDFDFD is also appearing in data, not sure what it is meaning

Sound files have also unusual pattern of offsets inside - most of them have offset data in pattern (8)-32-(8)-72-(24)-16-(8)-8-(8)-16, where numbers mean bytes and (offsets)-data.
The first offset of first sound file is targeting special header, which is probably telling, how to reconstruct header of sound file, but others we are not sure of.

We are including templates and files which we think are necessary to understand the problematics.
They are working properly on eng_patch_common.ff but others have sound included and they do not work there.
The reconstruction also requires, that previous files are reconstructed before continuing on next one, thus we cannot skip sound section
Another problem is strange computation of the main raw data size and main header size,
but that can be caused by not completed reconstruction of files.

One possible solution would be to snip ram and take a look, how reconstructed files look like and continue from there,
which we will try in few weeks when having some spare time. But we hope, that someone with better sound file knowledge can help as well.
michalss
Posts: 320
Joined: Sun Aug 10, 2014 12:49 pm

Re: Call of Duty Ghost (Advance research + Localization)

Post by michalss »

. aluigi - would be good if you could help us pls...
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Call of Duty Ghost (Advance research + Localization)

Post by aluigi »

michalss wrote:. aluigi - would be good if you could help us pls...

Sorry but I prefer to stay away from COD and ff
michalss
Posts: 320
Joined: Sun Aug 10, 2014 12:49 pm

Re: Call of Duty Ghost (Advance research + Localization)

Post by michalss »

it is not all about ff then about flac audio. in th templeates is complete solution for FF.
michalss
Posts: 320
Joined: Sun Aug 10, 2014 12:49 pm

Re: Call of Duty Ghost (Advance research + Localization)

Post by michalss »

anyone ?? If someone help i will publish tools for all CODS we will make..
michalss
Posts: 320
Joined: Sun Aug 10, 2014 12:49 pm

Re: Call of Duty Ghost (Advance research + Localization)

Post by michalss »

Hello,
we have made a breakthrough and we are able to extract all files with english language. What remains is correct reimport and some smaller features - font and texture dds extract and reimport, extraction/reimport of all files in directory