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

Far Cry 6 .fat and .dat files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
mlleemiles
beginner
Posts: 21
Joined: Mon Sep 08, 2014 11:20 am
Has thanked: 9 times
Been thanked: 2 times

Far Cry 6 .fat and .dat files

Post by mlleemiles »

Preload has started on PC I managed to get some files beforehand.

FAT version has been changed from 10 to 11, with it fat stuct might have changed as well (Previous unpacker extracts null bytes for compressed files)
fat.png
common.dat: https://drive.google.com/file/d/15lZVeQ ... eUWHu/view
common.fat: https://drive.google.com/file/d/1d8_aTO ... EUShK/view
You do not have the required permissions to view the files attached to this post.
mlleemiles
beginner
Posts: 21
Joined: Mon Sep 08, 2014 11:20 am
Has thanked: 9 times
Been thanked: 2 times

Re: Far Cry 6 .fat and .dat files

Post by mlleemiles »

Updated extractor, fixed issue with large archives:
https://www.nexusmods.com/farcry5/mods/97


------------------------------------------------------------------------------------------
original post:
extractor by ArmanIII, only tested with common archive
https://cdn.discordapp.com/attachments/ ... nv_dev.zip
Last edited by mlleemiles on Fri Oct 08, 2021 6:33 am, edited 2 times in total.
Lord Vaako
advanced
Posts: 56
Joined: Sun Jul 14, 2013 10:28 pm
Has thanked: 7 times
Been thanked: 15 times

Re: Far Cry 6 .fat and .dat files

Post by Lord Vaako »

I tested it with some other files, it works so far but... do you have filenames list? ;-)
Sharppy
mega-veteran
mega-veteran
Posts: 163
Joined: Thu Jun 07, 2018 8:09 am
Has thanked: 83 times
Been thanked: 66 times

Re: Far Cry 6 .fat and .dat files

Post by Sharppy »

.XBG models seem to be a newer format aswell :(
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Far Cry 6 .fat and .dat files

Post by OrangeC »

Cool it works. now we need filenames.
GRiNDERKILLER
veteran
Posts: 92
Joined: Thu Jul 12, 2012 12:24 pm
Has thanked: 12 times
Been thanked: 32 times

Re: Far Cry 6 .fat and .dat files

Post by GRiNDERKILLER »

Are filenames lowercase only?
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: Far Cry 6 .fat and .dat files

Post by Ekey »

My hook :D

PS: Thanks to OrangeC for providing the account with game :)

Don't forget to unlock DLL's if you are using Win10
Log file will be outside the Bin or Bin_Plus directory
You do not have the required permissions to view the files attached to this post.
Last edited by Ekey on Sat Oct 09, 2021 8:07 pm, edited 3 times in total.
lazenes
n00b
Posts: 16
Joined: Sun Feb 07, 2021 8:57 pm
Has thanked: 1 time
Been thanked: 4 times

Re: Far Cry 6 .fat and .dat files

Post by lazenes »

Ekey wrote: Sat Oct 09, 2021 1:42 pm My hook :D

PS: Thanks to OrangeC for providing the account with game :)
PS2: Don't forget to unlock DLL's if you are using Win10
Don't Work :(
OrangeC
double-veteran
double-veteran
Posts: 868
Joined: Sun Apr 20, 2008 2:58 am
Has thanked: 5 times
Been thanked: 41 times

Re: Far Cry 6 .fat and .dat files

Post by OrangeC »

It didnt work for me for some reason either but Ekey managed to get it to work on his end. I tried unlocking the DLL ut that didnt work either.

Anyway heres the latest log.

https://drive.google.com/file/d/1CBIZGk ... sp=sharing

EDIT: Okay i got it working. thx to Ekey, the FC6 log posts in the main game directory and it overwrites each time you run the game. so rename the log to get new versions.

heres now the latest one.
https://drive.google.com/file/d/1_qy3Nh ... sp=sharing
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: Far Cry 6 .fat and .dat files

Post by Ekey »

Updated to r2 :). Now the log will have the date and time format in the file name to avoid being overwritten
lazenes wrote: Sat Oct 09, 2021 6:46 pm Don't Work :(
Ekey wrote: Sat Oct 09, 2021 1:42 pm Log file will be outside the Bin or Bin_Plus directory
rezamms
ultra-n00b
Posts: 4
Joined: Thu Mar 11, 2021 5:24 pm
Has thanked: 2 times

Re: Far Cry 6 .fat and .dat files

Post by rezamms »

Far Cry 6 File names (12%)
by gibbed

https://github.com/gibbed/FarCry6-File-Lists
dimis9138
veteran
Posts: 85
Joined: Mon Jul 27, 2020 6:37 pm
Has thanked: 41 times
Been thanked: 8 times

Re: Far Cry 6 .fat and .dat files

Post by dimis9138 »

Did some research in some .xbg files, DJ Normality posted them here: https://drive.google.com/file/d/1IVS3Ef ... rwXmy/view

Verts appear to be split in some or most files if not all, example file: CABBAB432E7A1932, verts appear to be short signed.

In said file: 0x1130 short sign, 10209, padding 2
In same file: 0x044180 - 5478 - short sign, 2 padding
Probably nothing new for more experienced people like bigchillghost or shakotay or daemon or akderebur so have to wait for someone more experienced like them to figure it out. Faces I could not figure out unfortunately, pretty sure they're byte but couldn't get any of the files to work, verts did however work with short sign but like I said they appear to be split throughout the file.

EDIT: After looking at the file once more I realized at the top there's LOD0 - LOD1 - LOD2 listed, so the split verts etc are most likely just different LODs packed into the same file for performance.

EDIT 2: (thanks DJ Normality)

If you look at file A08F7270CE7E2467 - here you go, faces appear to be short, verts also are XZY format, also this is probably LOD1-2, couldn't get faces for LOD0

Image

If you also change the vert offset to 0x8b00 it's the exact same verts count but faces don't match, possibly because different LOD?, unsure what this means.

Now when it comes to bones, weights etc I can't help since I don't have that knowledge or when it comes to automating etc. Materials appear to be at the very top/start of the file too.

EDIT 3: Also found multiple split parts, if you open the biggest file in the link above it's a helicopter and I was able to find that the interior and exterior were separate so keep this in mind also.
Looking for someone patient enough to teach me how to write noesis plugins :(
Lord Vaako
advanced
Posts: 56
Joined: Sun Jul 14, 2013 10:28 pm
Has thanked: 7 times
Been thanked: 15 times

Re: Far Cry 6 .fat and .dat files

Post by Lord Vaako »

I have this, somewhat unusual question and if I posted it in the wrong thread then I apologize. I am looking for the location in the game world of several documents, the so-called Hidden Histories. Do you have any hints where (which unpacked files) I should look for their "coordinates" in the game world? If there are some coordinates that I can compare with the coordinates of others that I know where to find, then maybe I will figure the approximate location of the ones I'm looking for :-)
User avatar
John76
n00b
Posts: 14
Joined: Fri Apr 17, 2020 11:02 pm
Has thanked: 1 time

Re: Far Cry 6 .fat and .dat files

Post by John76 »

Maybe someone with more experience knows struct.....Thank's!!!


SDOL chunk 20 bytes (blue range)
dword lod (yellow range)
dword unknown1 (null)
float somefloat (green range)
dword unknown2 (red range)
dword unknown3 (null)
dword vertsize (grey range)
dword buffsize (light blue range) vertsize + normals + uv?
dword buffsize1
????
Untitled1-min.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
John76
n00b
Posts: 14
Joined: Fri Apr 17, 2020 11:02 pm
Has thanked: 1 time

Re: Far Cry 6 .fat and .dat files

Post by John76 »

Here is the sample in zip file
You do not have the required permissions to view the files attached to this post.
Post Reply