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

Far Cry 5 .Fat and .Dat Files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Ganic3000
veteran
Posts: 120
Joined: Sat Jul 16, 2016 8:13 pm
Has thanked: 6 times
Been thanked: 8 times

Re: Far Cry 5 .Fat and .Dat Files

Post by Ganic3000 »

Maximmum wrote:
Ganic3000 wrote:
All that I could get instead of the model, it's just a skeleton.

How did you exported the skeleton? What were you using?
Blender 2.70 import xbg primal.
Maximmum
advanced
Posts: 60
Joined: Wed May 04, 2016 3:06 pm
Has thanked: 30 times
Been thanked: 16 times

Re: Far Cry 5 .Fat and .Dat Files

Post by Maximmum »

Ganic3000 wrote:
Maximmum wrote:
Ganic3000 wrote:
All that I could get instead of the model, it's just a skeleton.

How did you exported the skeleton? What were you using?
Blender 2.70 import xbg primal.
Ok, thx, gonna try and see if it'll import Faith's skeleton)
danielkarloskar1
n00b
Posts: 16
Joined: Fri Aug 12, 2016 11:10 pm
Has thanked: 1 time

Re: Far Cry 5 .Fat and .Dat Files

Post by danielkarloskar1 »

tschiesas wrote:I dont really care about ripping models, I would like to modify body part damage, etc. in the configs (like in FC2).
Same. Wanted to find the hunted/marked part and disable it. No luck in scripts files so far.
GRiNDERKILLER
veteran
Posts: 92
Joined: Thu Jul 12, 2012 12:24 pm
Has thanked: 12 times
Been thanked: 32 times

Re: Far Cry 5 .Fat and .Dat Files

Post by GRiNDERKILLER »

Updated FileNames.list from game files. Basically I joined all unpacked files into the one file and dumped all strings from it.
So some of filenames can be dummy.
Updated Program.cs file with more file extensions unpacked in the __Unknown folder.
Added compiled version of updated unpacker.

Code: Select all

https://files.fm/u/ajehb9vg
All thanks goes to ekey!
Maximmum
advanced
Posts: 60
Joined: Wed May 04, 2016 3:06 pm
Has thanked: 30 times
Been thanked: 16 times

Re: Far Cry 5 .Fat and .Dat Files

Post by Maximmum »

GRiNDERKILLER wrote:Updated FileNames.list from game files. Basically I joined all unpacked files into the one file and dumped all strings from it.
So some of filenames can be dummy.
Updated Program.cs file with more file extensions unpacked in the __Unknown folder.
Added compiled version of updated unpacker.

Code: Select all

https://files.fm/u/ajehb9vg
All thanks goes to ekey!
I wonder when are we gonna get a Repacker? Cuz' to be able to Unpack only is not that great!
classlion
ultra-n00b
Posts: 9
Joined: Thu Mar 29, 2018 6:06 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Far Cry 5 .Fat and .Dat Files

Post by classlion »

GRiNDERKILLER wrote:Updated FileNames.list from game files. Basically I joined all unpacked files into the one file and dumped all strings from it.
So some of filenames can be dummy.
Updated Program.cs file with more file extensions unpacked in the __Unknown folder.
Added compiled version of updated unpacker.

Code: Select all

https://files.fm/u/ajehb9vg
All thanks goes to ekey!
Somebody, help me run this program. I never run this type of program. Maybe someone have guide or explaine me, please!
Ganic3000
veteran
Posts: 120
Joined: Sat Jul 16, 2016 8:13 pm
Has thanked: 6 times
Been thanked: 8 times

Re: Far Cry 5 .Fat and .Dat Files

Post by Ganic3000 »

classlion wrote:
GRiNDERKILLER wrote:Updated FileNames.list from game files. Basically I joined all unpacked files into the one file and dumped all strings from it.
So some of filenames can be dummy.
Updated Program.cs file with more file extensions unpacked in the __Unknown folder.
Added compiled version of updated unpacker.

Code: Select all

https://files.fm/u/ajehb9vg
All thanks goes to ekey!
Somebody, help me run this program. I never run this type of program. Maybe someone have guide or explaine me, please!
guide video:
https://www.youtube.com/watch?v=5Mc8U4PZ5Yk
classlion
ultra-n00b
Posts: 9
Joined: Thu Mar 29, 2018 6:06 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Far Cry 5 .Fat and .Dat Files

Post by classlion »

Ganic3000 wrote:
classlion wrote:
GRiNDERKILLER wrote:Updated FileNames.list from game files. Basically I joined all unpacked files into the one file and dumped all strings from it.
So some of filenames can be dummy.
Updated Program.cs file with more file extensions unpacked in the __Unknown folder.
Added compiled version of updated unpacker.

Code: Select all

https://files.fm/u/ajehb9vg
All thanks goes to ekey!
Somebody, help me run this program. I never run this type of program. Maybe someone have guide or explaine me, please!
guide video:
https://www.youtube.com/watch?v=5Mc8U4PZ5Yk
Благодарю. Thank You!
mrwhalerus
ultra-n00b
Posts: 1
Joined: Sat May 19, 2018 8:42 pm

Re: Far Cry 5 .Fat and .Dat Files

Post by mrwhalerus »

Unhandled Exception: System.IO.IOException: The process cannot access the file 'D:\SteamLibrary\steamapps\common\FarCry5\data_final\pc\common.dat' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at FC5.Unpacker.Program.iUnpackFile(String m_FatFile, String m_DstFolder)
at FC5.Unpacker.Program.Main(String[] args)
It checked and no processes have an handle
tschiesas
ultra-n00b
Posts: 8
Joined: Sat Apr 07, 2018 3:33 pm

Re: Far Cry 5 .Fat and .Dat Files

Post by tschiesas »

I was searching for injured behavior and one file gave a clue to a file in a folder path which does not fully exist in the current unpacked version (I suppose it is in the _UNKNOWN folder).
Are there going to be any updates for the unpacker? ...and maybe a repacker?
Some guy on the far cry 5 nexus already created a mod editing the .fat file: https://www.nexusmods.com/farcry5/mods/23
Maybe he can help?
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Re: Far Cry 5 .Fat and .Dat Files

Post by zaramot »

Could anyone provide character's .xbg model samples from Far Cry 5? Thanks!
Making model-import scripts, PM
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 5 .Fat and .Dat Files

Post by Ekey »

mrwhalerus wrote:Unhandled Exception: System.IO.IOException: The process cannot access the file 'D:\SteamLibrary\steamapps\common\FarCry5\data_final\pc\common.dat' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at FC5.Unpacker.Program.iUnpackFile(String m_FatFile, String m_DstFolder)
at FC5.Unpacker.Program.Main(String[] args)
It checked and no processes have an handle
You can not extract the files while the game is running.
Alexxxxxxx
ultra-n00b
Posts: 5
Joined: Wed Feb 01, 2017 11:44 pm

Re: Far Cry 5 .Fat and .Dat Files

Post by Alexxxxxxx »

Hello! Who can update the unpacker for the version of the game 1.07
I used the unpacker version 0.4.35444 for unpacking patch.fat/dat
Here's what in the end

Code: Select all

Project File Loaded: 1571221
Unhandled Exception: System.UnauthorizedAccessException: Access is denied along the way "D:\Ubisoft\UbisoftGameLauncher\games\Far Cry 5\data_final\pc\patch.fat".
   в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, In
t32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions op
tions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean
 useLongPath, Boolean checkHost)
   в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, F
ileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean b
FromProxy)
   в System.IO.FileStream..ctor(String path, FileMode mode)
   в FC5.Unpacker.Program.iUnpackBigFile(String m_FatFile, String m_DstFolder)
volfin
ultra-veteran
ultra-veteran
Posts: 452
Joined: Sun Jul 06, 2014 6:30 am
Has thanked: 110 times
Been thanked: 326 times

Re: Far Cry 5 .Fat and .Dat Files

Post by volfin »

Alexxxxxxx wrote:Hello! Who can update the unpacker for the version of the game 1.07
I used the unpacker version 0.4.35444 for unpacking patch.fat/dat
Here's what in the end

Code: Select all

Project File Loaded: 1571221
Unhandled Exception: System.UnauthorizedAccessException: Access is denied along the way "D:\Ubisoft\UbisoftGameLauncher\games\Far Cry 5\data_final\pc\patch.fat".
   в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, In
t32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions op
tions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean
 useLongPath, Boolean checkHost)
   в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, F
ileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean b
FromProxy)
   в System.IO.FileStream..ctor(String path, FileMode mode)
   в FC5.Unpacker.Program.iUnpackBigFile(String m_FatFile, String m_DstFolder)
I literally just used the same version on 1.07 yesterday, worked 100% fine.

BTW since nobody has done a model importer, I started working on one for blender, similar to what I did for Primal etc. Should have something in a couple days.
volfin
ultra-veteran
ultra-veteran
Posts: 452
Joined: Sun Jul 06, 2014 6:30 am
Has thanked: 110 times
Been thanked: 326 times

Re: Far Cry 5 .Fat and .Dat Files

Post by volfin »

Image

Little bit of progress. I can load some static meshes, with UVs. They really messed with the format as compared to FarCry4/Primal, the block structure is relatively similar, but they removed some blocks and added some new ones, and they changed how sub-meshes/sub-materials are stored, and changed how they handle the vertex block, which is frankly a nightmare. I want to do it nice, but I may end up taking the easy way out and just make every material a separate mesh (so like, things will be a ton of parts). But have to see what can be done.

As for Rigging, I haven't even looked at those types of meshes yet, so At this point, It's wait and see as to whether I can import weights and bones. Will report back in a few days.
Post Reply