Page 1 of 20

Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 12:24 am
by TrumpetPro
FC5 just came out, but it seems to use a different version of the fat and dat format than Watch Dogs (the only (kind of) Dunia Engine game I've modded). I was hoping somebody would be up to reverse engineering them, as I have no clue how (-:

Thanks,
TrumpetPro

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 4:40 pm
by Ganic3000
TrumpetPro wrote:FC5 just came out, but it seems to use a different version of the fat and dat format than Watch Dogs (the only (kind of) Dunia Engine game I've modded). I was hoping somebody would be up to reverse engineering them, as I have no clue how (-:

Thanks,
TrumpetPro
I recently dig through the archives and found some information from the new header format of models and file names that are packed into the .dat archive.
  The .xbg header is HSEMG, but unfortunately the importers of the previous headlight parts can not import the .xbg file.
https://drive.google.com/open?id=1WIM6g ... fDc4ZixxpY Here is a model from FC5, got from igepack.dat
From one archive it is possible to extract a picture of the map editor by hex by hex, so far everything has been able to find out about this.
Sorry for my clumsy English =)

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 4:48 pm
by HamMerRon
The new file format ?

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 4:49 pm
by Ganic3000
HamMerRon wrote:The new file format ?
XBG file format

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 4:53 pm
by HamMerRon
Ganic3000 wrote:
HamMerRon wrote:The new file format ?
I can not say exactly which file format, but I'm sure that it's the same as in the other version of FC...
So, as in FC Primal you need a database of files in xml

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 4:56 pm
by Ganic3000
HamMerRon wrote:
Ganic3000 wrote:
HamMerRon wrote:The new file format ?
I can not say exactly which file format, but I'm sure that it's the same as in the other version of FC...
So, as in FC Primal you need a database of files in xml
Unfortunately, I do not know the skill in hex, but I understand some of it, I was convinced that the unpacker FC Primal unpacks the archives of FC5, but at some stage unpacks it crashes, the contents of the files show, but there is no structure in the hex). Game downloaded via torrent

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 6:25 pm
by Ganic3000
HamMerRon wrote:
Ganic3000 wrote:
HamMerRon wrote:The new file format ?
I can not say exactly which file format, but I'm sure that it's the same as in the other version of FC...
So, as in FC Primal you need a database of files in xml
Can I get a list of files in xml for the dune engine from fc5
Using only hex?

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 6:41 pm
by HamMerRon
So far I understand this

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 7:06 pm
by Ganic3000
HamMerRon wrote:So far I understand this
I decompiled IGE.WPF.Core64.dll and it has pictures from FC 3 and FC2))

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 7:21 pm
by HamMerRon
Ganic3000 wrote:
HamMerRon wrote:So far I understand this
I decompiled IGE.WPF.Core64.dll and it has pictures from FC 3 and FC2))
Cool, if I'm not mistaken this is the dll file of the arcade mode

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 7:31 pm
by Ganic3000
HamMerRon wrote:
Ganic3000 wrote:
HamMerRon wrote:So far I understand this
I decompiled IGE.WPF.Core64.dll and it has pictures from FC 3 and FC2))
Cool, if I'm not mistaken this is the dll file of the arcade mode
In the Visual Studio 2017 compilation is not possible, only as for educational purposes.
source IGE.WPF.Core64.dll: https://drive.google.com/open?id=15OnWU ... VwB0IQ5GiS

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 7:41 pm
by HamMerRon
Now it remains to find a way to get the file names for the xml database

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 7:47 pm
by Ganic3000
HamMerRon wrote:Now it remains to find a way to get the file names for the xml database
The names of the database can be found through hex, but for now I was able to find (хbt/bin), the names of the models themselves (.xbg) are hard to find for me, because some lines are not valid letters, but they can be appended, since most of them are repeated, an example (_textures \ folder\*.xbg/xbt).

Re: Far Cry 5 .Fat and .Dat Files

Posted: Wed Mar 28, 2018 8:37 pm
by OrangeC
Will be watching this thread for progress!

Thanks alot guys.

Re: Far Cry 5 .Fat and .Dat Files

Posted: Thu Mar 29, 2018 12:13 am
by Ganic3000
Rewrote a small list of data (*.fcb) files.
The archive itself weighs 10.6 GB