XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Wed Apr 25, 2018 11:17 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 151 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11  Next
Author Message
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Mon Apr 09, 2018 1:47 am 
Offline
beginner

Joined: Tue Oct 12, 2010 6:46 pm
Posts: 25
Has thanked: 2 times
Have thanks: 0 time
Ganic3000 sent you a pm again! :) and ekey your doing a great job love the program it works for me :)


Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Mon Apr 09, 2018 9:10 pm 
Offline
beginner

Joined: Wed Apr 04, 2018 12:17 am
Posts: 20
Has thanked: 4 times
Have thanks: 5 times
Ekey wrote:
sunbeam906 wrote:
As far as the missing files: Ekey, why does the tool extract these for some people and not for everyone? A bug somewhere? Path size maybe?

Because people do not read what i write, that's why they use it incorrectly :)

No.. I mean.. I don't get some .lua files extracted, while for others, they are extracted. See the below links where I am explaining how I don't have 2 .lua files someone already said they have them O_O.

See these:

viewtopic.php?p=139507#p139507
viewtopic.php?p=139519#p139519

@mlleemiles: I don't know how you got those 2 extra .lua files, as I ran the extractor on another OS on farcry5.dat and I still don't get those files extracted. Maybe you used the previous version of the extractor? Or you 'borrowed' the files from FC4. Given I tested on 2 different computers the those LUA files aren't produced on extract, I can only think of that - you got them from FC4?

BR,
Sun


Last edited by sunbeam906 on Mon Apr 09, 2018 10:55 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Mon Apr 09, 2018 9:48 pm 
Offline
beginner

Joined: Wed Apr 04, 2018 12:17 am
Posts: 20
Has thanked: 4 times
Have thanks: 5 times
@mlleemiles: Can you please check if you have ALL of these extracted to disk? (see attached file) I've dumped a list from all the Lua files I could get their references in.

For example, here's what I could gather about Domino/System/Activity/:

Code:
"Domino/System/Activity/ActivityAcknowledgeGate.lua"
"Domino/System/Activity/ActivityConvoyListener.lua"
"Domino/System/Activity/ActivityEnd.lua"
"Domino/System/Activity/ActivityEndGame.lua"
"Domino/System/Activity/ActivityInitialized.lua"
"Domino/System/Activity/ActivityMiscInfoModifier_v2.lua"
"Domino/System/Activity/ActivityNotifyStatus.lua"
"Domino/System/Activity/ActivityObjectiveMarkerModifier_v3.lua"
"Domino/System/Activity/ActivityObjectiveTimerListener.lua"
"Domino/System/Activity/ActivityObjectiveTimerModifier.lua"
"Domino/System/Activity/ActivityPhoneCallListener.lua"
"Domino/System/Activity/ActivityRetry.lua"
"Domino/System/Activity/ActivityStoppableWhenAcknowledgedModifier.lua"
"Domino/System/Activity/AddActivityObjectiveConvoyHealthBar.lua"
"Domino/System/Activity/AddActivityObjectiveEntityHealthBar.lua"
"Domino/System/Activity/AddActivityObjectiveProgress_v2.lua"
"Domino/System/Activity/AddActivityObjective_v2.lua"
"Domino/System/Activity/EndActivityObjective_v2.lua"
"Domino/System/Activity/GetActivityFact.lua"
"Domino/System/Activity/GetActivityState.lua"
"Domino/System/Activity/GetActivityState_v2.lua"
"Domino/System/Activity/SetActivityFact.lua"
"Domino/System/Activity/SetActivityObjectiveProgress_v2.lua"

And here's what Ekey's extractor managed to dump on my end:

Image

Something tells me the extractor fails at some point and doesn't output any errors.

We can then move to other folders :)

BR,
Sun


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Tue Apr 10, 2018 12:11 am 
Offline
beginner

Joined: Wed Apr 04, 2018 12:17 am
Posts: 20
Has thanked: 4 times
Have thanks: 5 times
Never mind, there's a bunch of files I got from installpkg.fat/.dat ;) So it's all good :P


Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Tue Apr 10, 2018 12:25 am 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Wed Mar 31, 2010 6:54 am
Posts: 1618
Has thanked: 59 times
Have thanks: 775 times
sunbeam906 wrote:
Because people do not read what i write, that's why they use it incorrectly :)
No.. I mean.. I don't get some .lua files extracted, while for others, they are extracted. See the below links where I am explaining how I don't have 2 .lua files someone already said they have them O_O.

See these:

viewtopic.php?p=139507#p139507
viewtopic.php?p=139519#p139519

There is no such thing. If the file exists in the archive then it is extracted 100%. The files you are looking for are in another archive :)

Code:
+ C07D74DB4D955168 Domino\System\Activity\ActivityAcknowledgeGate.lua -> (installpkg.fat)
+ 682BF692CD41BABF Domino\System\Activity\ActivityConvoyListener.lua -> (installpkg.fat)
+ 8F7E4B7F4A6ECE06 Domino\System\Activity\ActivityEnd.lua -> (installpkg.fat)
+ 1444BD5B09A8C1EF Domino\System\Activity\ActivityEndGame.lua -> (farcry5.fat)
+ 4747227A3256ACAF Domino\System\Activity\ActivityInitialized.lua -> (installpkg.fat)
+ DDC7DB6CFCB14CC4 Domino\System\Activity\ActivityMiscInfoModifier_v2.lua -> (installpkg.fat)
+ 711B2D098EEBD44B Domino\System\Activity\ActivityNotifyStatus.lua -> (installpkg.fat)
+ ACA80A6D0396763B Domino\System\Activity\ActivityObjectiveMarkerModifier_v3.lua -> (installpkg.fat)
+ 2688109A1874F33C Domino\System\Activity\ActivityObjectiveTimerListener.lua -> (installpkg.fat)
+ 93B39C055D74F72E Domino\System\Activity\ActivityObjectiveTimerModifier.lua -> (installpkg.fat)
+ AFAC16A1B0C701B7 Domino\System\Activity\ActivityPhoneCallListener.lua -> (farcry5.fat)
+ 825855F607731161 Domino\System\Activity\ActivityRetry.lua -> (installpkg.fat)
+ 5A0DBBE5B1984FDD Domino\System\Activity\ActivityStoppableWhenAcknowledgedModifier.lua -> (farcry5.fat)
+ 018C7A7C5A14DD69 Domino\System\Activity\AddActivityObjectiveConvoyHealthBar.lua -> (farcry5.fat)
+ FD87C5D77A14C0C6 Domino\System\Activity\AddActivityObjectiveEntityHealthBar.lua -> (installpkg.fat)
+ 7075631CBDB279EB Domino\System\Activity\AddActivityObjectiveProgress_v2.lua -> (installpkg.fat)
+ BC08EF7BE5EEC20C Domino\System\Activity\AddActivityObjective_v2.lua -> (installpkg.fat)
+ BC024B91A1EEC20C Domino\System\Activity\EndActivityObjective_v2.lua -> (installpkg.fat)
+ C0F59F90DA23D8E5 Domino\System\Activity\GetActivityFact.lua -> (installpkg.fat)
+ 8F1C22C0938A20A4 Domino\System\Activity\GetActivityState.lua -> (farcry5.fat)
+ 8D20C96AE4276023 Domino\System\Activity\GetActivityState_v2.lua -> (installpkg.fat)
+ C0F5854A1A23D8E5 Domino\System\Activity\SetActivityFact.lua -> (installpkg.fat)
+ 6AC57AE193D279EB Domino\System\Activity\SetActivityObjectiveProgress_v2.lua -> (installpkg.fat)


Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Tue Apr 10, 2018 4:14 am 
Offline
beginner

Joined: Wed Apr 04, 2018 12:17 am
Posts: 20
Has thanked: 4 times
Have thanks: 5 times
^ Yeah, did figure it out on my own :) Will pimp the decompiler to parkour dirs/subdirs of Lua files :)


Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Tue Apr 10, 2018 4:22 am 
Offline
advanced

Joined: Wed Apr 12, 2017 1:36 am
Posts: 43
Has thanked: 3 times
Have thanks: 2 times
Can anybody tell me where the localization file and font are located where?


Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Sat Apr 14, 2018 2:36 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran

Joined: Wed Mar 31, 2010 6:54 am
Posts: 1618
Has thanked: 59 times
Have thanks: 775 times
I received many messages about the request to make the packer, but I unfortunately have no time now and I'm busy with my main job. I am not greedy and will share source's of unpacker, maybe someone make packer.

Have a nice day :)


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Sun Apr 15, 2018 3:41 pm 
Offline
beginner

Joined: Wed Apr 04, 2018 12:17 am
Posts: 20
Has thanked: 4 times
Have thanks: 5 times
Similarly here, managed to finish the cleaner/extractor.

It makes use of some old source-code I had lying around + snippets from various places on the internet. The only thing I can say I'd take credit for is the time spent to combine these and apply my own logic to the process. Tool can now recursively scan a folder's root and sub-folders for ".lua" files and then feed them to the ProcessFile function.

I've managed to extract all Lua files (or so I think; let me know if I missed any other .dat archives).

- listing the archive names I've extracted data from, set as folder names here-in:

Image

- if you drag and drop a single .lua file over the GUI, this happens:

Image

- if I want the remnants gone (activityendgame.luadec, activityendgame.unluac) and activityendgame.clean renamed to activityendgame.lua, then tick the bottom checkbox:

Image

- lastly, if you want the tool to recursively do the above for all .lua files found in a folder/sub-folder/sub-folder... then go up one level and drag over the entire folder; you can do this with the root as well (my root is FC5_Lua; so if I dragged that, all found .lua files would be processed; yes, it takes a while):

Image

Image

Image

Credits:

1. Ekey for the ability to extract Far Cry 5 files from the .dats using .fats.

2. Hans Wessels for the unluac Java decompiler (https://github.com/HansWessels/unluac)

3. Ovidiu Cucu for his last post in this thread: https://stackoverflow.com/questions/456 ... d-findnext

BIG NOTE: You need Java RE installed for the decompiler to work! Don't say I didn't tell you so! (Link: http://www.oracle.com/technetwork/java/ ... 33155.html - - at the time of the post, Java SE Runtime Environment 8u162)

Report any bugs and enjoy :P


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Mon Apr 16, 2018 5:21 pm 
Offline
ultra-n00b

Joined: Wed Mar 02, 2011 9:49 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
I been using the unpacker, but finding all the Music, and Radio Songs is proving very hard. Has anyone else found most of the Cult Music? As some are mixed a special way and not released on the OSTs. Also the background music when some of the Leaders are talking is really good. But i when i extracted the .Fat files i get alot of duplicates. i was converting the .wem to .ogg and testing them out, alot of the .bnk dont extract. Wondering if im using prehistoric tools lol. Someone who is an audio wiz please help :)


Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Mon Apr 16, 2018 8:02 pm 
Offline
n00b

Joined: Fri Aug 12, 2016 11:10 pm
Posts: 12
Has thanked: 1 time
Have thanks: 0 time
Thank you all for working on it!
Now we can remove all things that are so bad and annoying. :D


Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Tue Apr 17, 2018 8:24 pm 
Offline
ultra-n00b

Joined: Mon Apr 16, 2018 10:53 am
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
How are people accessing unreleased guns like the beretta?

I was under the impression there was no functional repacker for these files. I used Gibbed's Primal Dunia tools and the repack didn't work...


Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Wed Apr 18, 2018 9:18 pm 
Offline
ultra-n00b

Joined: Thu Mar 29, 2018 6:06 pm
Posts: 3
Has thanked: 0 time
Have thanks: 1 time
Hay, guys! Maybe i can halp you.
Use oggdecV1.9.7 like in Far Cry 4 and Watch Dods.

Maybe its sbao format. Plaese, say to me, if it be succesfull.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Wed Apr 18, 2018 9:22 pm 
Offline
ultra-n00b

Joined: Thu Mar 29, 2018 6:06 pm
Posts: 3
Has thanked: 0 time
Have thanks: 1 time
As always most of the good stuff is hidden in the gamefiles. Extraction is pretty straight forward, the only downside is the mass of files to dig through. All you need are dunia2 and "oggdecV1.9.7"

Then locate your "sound.dat" and "sound.fat" in the "data_win32" folder your Farcry 4 folder, copy them both into the dunia tools folder and just drag/drop "sound.dat" on the "Gibbed.Dunia2.Unpack.exe". Extraction takes a while so don't close the window, it will dissapear when it's done. Some files are recognized as "wav", some files are "unknown", but you can still decode them with oggdec. However there are lots of empty files in between the unknown files.

Please, say to me about result.


Top
 Profile  
 
 Post subject: Re: Far Cry 5 .Fat and .Dat Files
PostPosted: Wed Apr 18, 2018 9:35 pm 
Offline
veteran

Joined: Thu Nov 06, 2008 9:29 pm
Posts: 101
Has thanked: 6 times
Have thanks: 15 times
sunbeam906 wrote:
Similarly here, managed to finish the cleaner/extractor.

Great job Sun, as always ;-)

Keeps crashing here. (Trying dragging single file: \common.dat\domino\system\coop\lualibraries\lualibcoop.lua)
Could you link me the source code in a PM so I could debug?
Thanks!

_________________
Best retard: Csimbi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 151 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: vatson, zerozone and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group