Page 5 of 20

Re: watch dogs 2 .dat .fat archive?

Posted: Tue Dec 13, 2016 3:13 pm
by Ekey
Combined with Sir Kane list and added ~9110 > (263423) > http://www111.zippyshare.com/v/S8DPCVHT/file.html

Re: watch dogs 2 .dat .fat archive?

Posted: Tue Dec 13, 2016 3:26 pm
by Ekey
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

Re: watch dogs 2 .dat .fat archive?

Posted: Tue Dec 13, 2016 4:07 pm
by redcomet
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)

Re: watch dogs 2 .dat .fat archive?

Posted: Tue Dec 13, 2016 5:16 pm
by disastorm
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

Re: watch dogs 2 .dat .fat archive?

Posted: Tue Dec 13, 2016 5:39 pm
by redcomet
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.

Re: watch dogs 2 .dat .fat archive?

Posted: Tue Dec 13, 2016 6:51 pm
by Ekey
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.

Re: watch dogs 2 .dat .fat archive?

Posted: Wed Dec 14, 2016 1:34 am
by disastorm
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.

Re: watch dogs 2 .dat .fat archive?

Posted: Wed Dec 14, 2016 4:50 am
by iambosh
anyone write a batch to extract everything?

Re: watch dogs 2 .dat .fat archive?

Posted: Wed Dec 14, 2016 12:18 pm
by neburas
Anyone succeeded to extract items.lib?
ConvertBinaryObject.exe can't handle this now...

Re: watch dogs 2 .dat .fat archive?

Posted: Wed Dec 14, 2016 1:26 pm
by Ekey
Small update. Added ~2591 > (266014) > http://www25.zippyshare.com/v/oTTiV6rd/file.html

Re: watch dogs 2 .dat .fat archive?

Posted: Wed Dec 14, 2016 1:38 pm
by redcomet
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

Re: watch dogs 2 .dat .fat archive?

Posted: Wed Dec 14, 2016 1:41 pm
by redcomet
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!

Re: watch dogs 2 .dat .fat archive?

Posted: Wed Dec 14, 2016 1:42 pm
by disastorm
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.

Re: watch dogs 2 .dat .fat archive?

Posted: Wed Dec 14, 2016 2:44 pm
by neburas
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.

Re: watch dogs 2 .dat .fat archive?

Posted: Wed Dec 14, 2016 2:47 pm
by Ekey
One more update. Added ~94851 > (360865) > http://www55.zippyshare.com/v/s5siOMNi/file.html