I used that as a reference. Am not trying to find Lua functions' parameters here, am trying to find out why referenced .lua scripts are missing There is one script called "EnableUnlimitedAmmo_v2.lua" in some of the decompiled outputs.mlleemiles wrote:From my knowledge of modding previous FCs, you either find lines like this "EnableUnlimitedAmmo(1)" in their system scripts or find them using a function hook (You probably won't get the parameters). Not all functions are referenced in system scripts.
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Far Cry 5 .Fat and .Dat Files
-
- beginner
- Posts: 24
- Joined: Wed Apr 04, 2018 12:17 am
- Has thanked: 6 times
- Been thanked: 6 times
Re: Far Cry 5 .Fat and .Dat Files
-
- beginner
- Posts: 21
- Joined: Mon Sep 08, 2014 11:20 am
- Has thanked: 9 times
- Been thanked: 2 times
Re: Far Cry 5 .Fat and .Dat Files
Can you post the Create box of the script you are talking about?sunbeam906 wrote:I used that as a reference. Am not trying to find Lua functions' parameters here, am trying to find out why referenced .lua scripts are missing There is one script called "EnableUnlimitedAmmo_v2.lua" in some of the decompiled outputs.mlleemiles wrote:From my knowledge of modding previous FCs, you either find lines like this "EnableUnlimitedAmmo(1)" in their system scripts or find them using a function hook (You probably won't get the parameters). Not all functions are referenced in system scripts.
-
- ultra-n00b
- Posts: 4
- Joined: Wed Apr 04, 2018 7:34 am
- Has thanked: 1 time
Re: Far Cry 5 .Fat and .Dat Files
This unpacker works only with .fat extension files,right? Because when i tried to unpack farcry5.dat the unpacker just crashed and said that "the process cannot access the file because it is being used by another process".Ekey wrote:Updated here
* Disabled (:bfuscation
* Unknown files now are placed in individual folders:
and etc.Code: Select all
__Unknown\BIK\ __Unknown\BNK\ __Unknown\FCB\ __Unknown\LUA\
* Base of names updated. Removed unused names also added some new names.
-
- 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
You need choose FAT files, not DAT. FAT is File Allocation Table, DAT is package.MysteriousJojo wrote:This unpacker works only with .fat extension files,right? Because when i tried to unpack farcry5.dat the unpacker just crashed and said that "the process cannot access the file because it is being used by another process".
My Github repo
-
- beginner
- Posts: 24
- Joined: Wed Apr 04, 2018 12:17 am
- Has thanked: 6 times
- Been thanked: 6 times
Re: Far Cry 5 .Fat and .Dat Files
Progress report:
Scenario 1 -- removing LUAC container and dumping clean script file (left, original; right, container removed):
Scenario 2 -- removing LUAC container, dumping script file and decompiling it (left, original; right, container removed -- left, container removed; right, decompiled):
Will post after some more testing.
Cheers,
Sun
Scenario 1 -- removing LUAC container and dumping clean script file (left, original; right, container removed):
Scenario 2 -- removing LUAC container, dumping script file and decompiling it (left, original; right, container removed -- left, container removed; right, decompiled):
Will post after some more testing.
Cheers,
Sun
Re: Far Cry 5 .Fat and .Dat Files
The only fat file i can unpack is
farcry5.fat
installpkg.fat
farcry_english.fat
I really want to unpack common.fat and patch.fat to get to the engine render settings
farcry5.fat
installpkg.fat
farcry_english.fat
I really want to unpack common.fat and patch.fat to get to the engine render settings
-
- 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
What the problem? I'm checked unpacker on all archives and works perfect.
My Github repo
-
- beginner
- Posts: 25
- Joined: Tue Oct 12, 2010 6:46 pm
- Has thanked: 2 times
Re: Far Cry 5 .Fat and .Dat Files
I’m interested in only the music files. Where would they be within the packages exactly?
Re: Far Cry 5 .Fat and .Dat Files
It for some reason wanted common.dat in "D:\common.dat" as opposed to the same dir as common.fat. same for patchEkey wrote:What the problem? I'm checked unpacker on all archives and works perfect.
-
- beginner
- Posts: 24
- Joined: Wed Apr 04, 2018 12:17 am
- Has thanked: 6 times
- Been thanked: 6 times
Re: Far Cry 5 .Fat and .Dat Files
^ Carefully.. again.. carefully make sure what you type is what the tool expects
Re: Far Cry 5 .Fat and .Dat Files
sunbeam, any chance in hell this same approach can be made to work on the oasis string bin files? It looks like someone had a way to decompress them for FC3 and FC4, but the dropbox they posted no longer exists.
-
- beginner
- Posts: 24
- Joined: Wed Apr 04, 2018 12:17 am
- Has thanked: 6 times
- Been thanked: 6 times
Re: Far Cry 5 .Fat and .Dat Files
No idea, might take a look.
Decided not to post the version I have now for the decompiler as it works with individual files being dragged over the GUI. I'll make it so it detects what you drag over, file or folder, so that it is then able to also process an entire folder of Lua files There's like 4680 Lua files in farcry5.dat.
Decided not to post the version I have now for the decompiler as it works with individual files being dragged over the GUI. I'll make it so it detects what you drag over, file or folder, so that it is then able to also process an entire folder of Lua files There's like 4680 Lua files in farcry5.dat.
-
- beginner
- Posts: 25
- Joined: Tue Oct 12, 2010 6:46 pm
- Has thanked: 2 times
Re: Far Cry 5 .Fat and .Dat Files
it worked fine with farcry5.fat but for some reason the unpacker wants "common.dat" and "patch.dat" in "D:\" even tho the fat files are in the game directory with the unpacker files. They unpacked fine tho. Just weird.sunbeam906 wrote:^ Carefully.. again.. carefully make sure what you type is what the tool expects
-
- beginner
- Posts: 24
- Joined: Wed Apr 04, 2018 12:17 am
- Has thanked: 6 times
- Been thanked: 6 times
Re: Far Cry 5 .Fat and .Dat Files
It's not weird at all. Make sure you navigate to tool folder first and don't run it from wherever you are when you open CMD.