READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

watch dogs 2 .dat .fat archive?

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: watch dogs 2 .dat .fat archive?

Post by Ekey » Tue Dec 13, 2016 3:13 pm

Combined with Sir Kane list and added ~9110 > (263423) > http://www111.zippyshare.com/v/S8DPCVHT/file.html

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: watch dogs 2 .dat .fat archive?

Post by Ekey » Tue Dec 13, 2016 3:26 pm

rml2xml and xml2rml converter.

usage example:

to XML -> result - http://pastebin.com/gEj11FnH

Code: Select all

Gibbed.Disrupt.ConvertXml -xml music.rml music.xml
to RML

Code: Select all

Gibbed.Disrupt.ConvertXml -rml music.xml music.rml
Edited: Re-attached
You do not have the required permissions to view the files attached to this post.

redcomet
beginner
Posts: 38
Joined: Sat Dec 03, 2016 4:35 am
Has thanked: 6 times
Been thanked: 4 times

Re: watch dogs 2 .dat .fat archive?

Post by redcomet » Tue Dec 13, 2016 4:07 pm

disastorm wrote:check it out, wasn't really what i was hoping for, but its a start. At least we can see the game can be modded without crashing:

http://i.imgur.com/iAeWcvl.jpg
may i ask how to use the repacker,because i found out that my game crashed wasn't because the file i edited(i repacked the folder that i didn't edit to dat fat file and the game still crash)

disastorm
beginner
Posts: 20
Joined: Sat Sep 20, 2014 10:20 am
Has thanked: 2 times
Been thanked: 1 time

Re: watch dogs 2 .dat .fat archive?

Post by disastorm » Tue Dec 13, 2016 5:16 pm

redcomet wrote:
disastorm wrote:check it out, wasn't really what i was hoping for, but its a start. At least we can see the game can be modded without crashing:

http://i.imgur.com/iAeWcvl.jpg
may i ask how to use the repacker,because i found out that my game crashed wasn't because the file i edited(i repacked the folder that i didn't edit to dat fat file and the game still crash)
If you run it without parameters it tells you how to use it.
Its just the command <folder> <output fat>

The full process for modding is as follows:
extract patch.fat/dat
convert whatever file you want to modify into xml using the Gibbed tools.
Modify the xml.
Convert it back to .lib or whatever it was before.
Put it back in the folder where the patch.fat/dat was extracted.
Repack the patch.fat/dat from the folder using the Repack exe tool.
Put the patch.fat/dat in your watchdogs data64 directory or whatever its called.
Run the game.

Btw got modelswap working, I'll post a guide tommorow for what files to change if people are interested.
Image

redcomet
beginner
Posts: 38
Joined: Sat Dec 03, 2016 4:35 am
Has thanked: 6 times
Been thanked: 4 times

Re: watch dogs 2 .dat .fat archive?

Post by redcomet » Tue Dec 13, 2016 5:39 pm

disastorm wrote:
redcomet wrote:
disastorm wrote:check it out, wasn't really what i was hoping for, but its a start. At least we can see the game can be modded without crashing:

http://i.imgur.com/iAeWcvl.jpg
may i ask how to use the repacker,because i found out that my game crashed wasn't because the file i edited(i repacked the folder that i didn't edit to dat fat file and the game still crash)
If you run it without parameters it tells you how to use it.
Its just the command <folder> <output fat>

The full process for modding is as follows:
extract patch.fat/dat
convert whatever file you want to modify into xml using the Gibbed tools.
Modify the xml.
Convert it back to .lib or whatever it was before.
Put it back in the folder where the patch.fat/dat was extracted.
Repack the patch.fat/dat from the folder using the Repack exe tool.
Put the patch.fat/dat in your watchdogs data64 directory or whatever its called.
Run the game.

Btw got modelswap working, I'll post a guide tommorow for what files to change if people are interested.
http://i.imgur.com/TBj8ARp.jpg
Glad to see you are making progress! Looking forward for the tutorial.
But for the repacking tool,what do I need to drag or open to the repack.exe to repack to dat fat?
For me the program seemed not working right,i dragged the folder/the original dat fat file to the repack.exe,nothing happened at all. Double click the repack exe doesn't work as well.

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: watch dogs 2 .dat .fat archive?

Post by Ekey » Tue Dec 13, 2016 6:51 pm

redcomet wrote: Glad to see you are making progress! Looking forward for the tutorial.
But for the repacking tool,what do I need to drag or open to the repack.exe to repack to dat fat?
For me the program seemed not working right,i dragged the folder/the original dat fat file to the repack.exe,nothing happened at all. Double click the repack exe doesn't work as well.
It's batch usage

Code: Select all

wd2pack.exe <source folder> <output fat file>
Example:

Unpack:

Code: Select all

WD2Extract "e:\Games\Steam\SteamApps\common\Watch_Dogs2\data_win64\patch.fat" "D:\MyPath"
Unpacked files will be in path > D:\MyPath

Pack:

Code: Select all

WD2Pack "D:\MyPath" "D:\Patch.fat"
This just example, use your path's.

disastorm
beginner
Posts: 20
Joined: Sat Sep 20, 2014 10:20 am
Has thanked: 2 times
Been thanked: 1 time

Re: watch dogs 2 .dat .fat archive?

Post by disastorm » Wed Dec 14, 2016 1:34 am

You have to use command line to use the tool.

start->run->cmd will open the command line.
if on windows 10 you have to right click start.

iambosh
advanced
Posts: 57
Joined: Sat Oct 04, 2014 5:22 am
Been thanked: 2 times

Re: watch dogs 2 .dat .fat archive?

Post by iambosh » Wed Dec 14, 2016 4:50 am

anyone write a batch to extract everything?

neburas
n00b
Posts: 12
Joined: Mon Aug 06, 2012 11:01 am
Has thanked: 1 time

Re: watch dogs 2 .dat .fat archive?

Post by neburas » Wed Dec 14, 2016 12:18 pm

Anyone succeeded to extract items.lib?
ConvertBinaryObject.exe can't handle this now...

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: watch dogs 2 .dat .fat archive?

Post by Ekey » Wed Dec 14, 2016 1:26 pm

Small update. Added ~2591 > (266014) > http://www25.zippyshare.com/v/oTTiV6rd/file.html

redcomet
beginner
Posts: 38
Joined: Sat Dec 03, 2016 4:35 am
Has thanked: 6 times
Been thanked: 4 times

Re: watch dogs 2 .dat .fat archive?

Post by redcomet » Wed Dec 14, 2016 1:38 pm

neburas wrote:Anyone succeeded to extract items.lib?
ConvertBinaryObject.exe can't handle this now...
just remove 'binary objects' folder in 'disrupt tool path\project\watch dogs'
and you are good to go

redcomet
beginner
Posts: 38
Joined: Sat Dec 03, 2016 4:35 am
Has thanked: 6 times
Been thanked: 4 times

Re: watch dogs 2 .dat .fat archive?

Post by redcomet » Wed Dec 14, 2016 1:41 pm

Ekey wrote:
redcomet wrote: Glad to see you are making progress! Looking forward for the tutorial.
But for the repacking tool,what do I need to drag or open to the repack.exe to repack to dat fat?
For me the program seemed not working right,i dragged the folder/the original dat fat file to the repack.exe,nothing happened at all. Double click the repack exe doesn't work as well.
It's batch usage

Code: Select all

wd2pack.exe <source folder> <output fat file>
Example:

Unpack:

Code: Select all

WD2Extract "e:\Games\Steam\SteamApps\common\Watch_Dogs2\data_win64\patch.fat" "D:\MyPath"
Unpacked files will be in path > D:\MyPath

Pack:

Code: Select all

WD2Pack "D:\MyPath" "D:\Patch.fat"
This just example, use your path's.
thanks!i can pack it back now!

disastorm
beginner
Posts: 20
Joined: Sat Sep 20, 2014 10:20 am
Has thanked: 2 times
Been thanked: 1 time

Re: watch dogs 2 .dat .fat archive?

Post by disastorm » Wed Dec 14, 2016 1:42 pm

Ok guys, so for anyone having issues using the gibbed tools on libs, you need to remove the class definition from the projects/Watch Dogs/binary objects/files/ gibbed directory.

Here is a picture of mine ( I've removed stuff like Items.binaryobjectfile.xml, GraphicKit_parts.binaryobjectfile.xml, etc )
Image


Additionally, the file being modded should be patch.dat/fat.

Here is how to do model swaps using the clothing in the game:
Image

The file on the left is the items.lib file for one of the DedSec hats.
The file on the right is the graphickit_models.lib file for Aiden from the jail mission.
You simply copy paste the section shown.
The highlighted field, with hash "D935FAD9" is the reference to the graphickit_parts.lib file.

Here is how you can find out what the various sections in the graphickit_models files are:

The below example shows checking the 3 sections on the Aiden file shown in the image above.
Inside the extracted graphickit_parts directory:

$ grep "8A84909104000080" ./*
./W2CH_PAR_pois_mul.pers18_AidenHead.xml: <field hash="1FE8D41C" type="BinHex">8A84909104000080</field>
./W2CH_PAR_pois_mul.pers18_AidenHead.xml: <field hash="389F6DA7" type="BinHex">8A84909104000080</field>


$ grep "E4F1550C02000080" ./*
./W2CH_PAR_body_m.body_m_full.xml: <field hash="1FE8D41C" type="BinHex">E4F1550C02000080</field>
./W2CH_PAR_body_m.body_m_full.xml: <field hash="389F6DA7" type="BinHex">E4F1550C02000080</field>


$ grep "758E3CF002000080" ./*
./W2CH_PAR_avat_ma_tor.avat_ma_tor_coataiden01_REWARD_brownleather.xml: <field hash="1FE8D41C" type="BinHex">758E3CF002000080</field>
./W2CH_PAR_avat_ma_tor.avat_ma_tor_coataiden01_REWARD_brownleather.xml: <field hash="389F6DA7" type="BinHex">758E3CF002000080</field>

This shows us that these 3 sections are Aiden's Head, the generic male body, and his coat.


Important Notes:
-After modifying the Item files, these items will no longer show up in your locker ( until you revert the changes ). You must first equip the items before adding the modded patch.fat/dat, and then upon logging in, you will see the modded graphickit parts on your character.
-I don't know 100% but it appears that when equipping various parts, it will remove the default Marcus parts. For example if you equip an item that you set to a male or female body, it will replace Marcus's body as opposed to showing both at the same time. However, in some cases i did seem to see the glasses + the additional graphickit_part so maybe I did something wrong, or there are some cases where this doesn't apply.
-I also believe the parts don't matter whether or not they are Head, torso, etc, they can be set to any piece of clothing.
-However, I did try to make one item set to multiple parts by duplicating the section at the bottom of the file on the left, but it appears to only use the first definition of that object, so it appears one item per graphickit part.


The full modding flow should be as below:
extract patch.fat/dat
convert whatever file you want to modify into xml using the Gibbed tools.
Modify the xml.
Convert it back to .lib or whatever it was before.
Put it back in the folder where the patch.fat/dat was extracted.
Repack the patch.fat/dat from the folder using the Repack exe tool.
Put the patch.fat/dat in your watchdogs data64 directory or whatever its called.
Run the game with the cheat thingy disabled.

neburas
n00b
Posts: 12
Joined: Mon Aug 06, 2012 11:01 am
Has thanked: 1 time

Re: watch dogs 2 .dat .fat archive?

Post by neburas » Wed Dec 14, 2016 2:44 pm

redcomet wrote:
neburas wrote:Anyone succeeded to extract items.lib?
ConvertBinaryObject.exe can't handle this now...
just remove 'binary objects' folder in 'disrupt tool path\project\watch dogs'
and you are good to go
Thanks. It worked.

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: watch dogs 2 .dat .fat archive?

Post by Ekey » Wed Dec 14, 2016 2:47 pm

One more update. Added ~94851 > (360865) > http://www55.zippyshare.com/v/s5siOMNi/file.html

Post Reply