MACHT IMMER EIN BACKUP DER DATEIEN !
Inhaltsverzeichnis
- Vorwort
- Vorbereitung
- Decompressing
- Editing
- Repacking/Patch Datei erstellen
- Abschluss
Vorwort
In folgendem Tutorial möchte ich euch erklären wie ihr Watch Dogs Modden könnt (In der Theorie).Alle folgenden Informationen und Erklärung basieren auf meinen eigenen persönlichen Erfahrungen, in diesem Tutorial werden verschiedene Anwendungen verwendet die von anderen Modder programmiert wurden.
Nachdem Watch Dogs erschienen war , war bei vielen inklusive mir die Trauer groß da die Originale WD(Watch Dogs) Version sich massiv in Grafik unterschied zwischen der die auf der E3 gezeigt wurde. Ich habe bereits am Erscheinungstag angefangen an den Spiel Archiven rumzuspielen. Nach kurzer Recherche wusste ich bereits das die Spiel-Archive in einer Art Modifizierten XMem Version gepackt wurden (So ähnlich wie die bei Far Cry 3). Aber nun kommen wir zum interessanten Teil.
Vorbereitung
Zum entpacken der Spieldateien benötigen wir die "Gibbed" Tools von dem Modder Gib(
) die Tools könnt ihr euch hier herunterladen *
*, die Oberste Datei ist die neuste in meinem Fall : disrupt-r47_b35.zip .Wenn ihr diese Datei anklickt wird sie automatisch heruntergeladen, speichert sie irgendwo auf eurem Rechner. Entpackt das Archiv ihr solltet einen Ordner namens "Bin" erhalten in dem sich alle Tools befinden.
Um die Tools nun auch benutzten zu können braucht ihr noch das XNA Framework dieses könnt ihr hier bei Microsoft herunterladen *
* Nach dem Herunterladen einfach installieren.Nun gibt es noch einige Optionale Downloads die werde ich hier einfach mal eben auflisten :
Decompressing
Jetzt geht es ans Eingemachte, nun werden wir unser erstes Archiv dekomprimieren("Decompressing") dafür gehen wir zurück in unseren Ordner mit den Gib Tools und machen bei gehaltener SHIFT-Tasten einen Rechtsklick in den Ordner und wählt dann in dem DropDown Menu dein Eintrag "Eingabeaufforderung hier öffnen"Schreibt nun in die Eingabeaufforderung "Gibbed" und drückt die TAB Taste eurer Tastatur. Nun sollte in eurer CMD(Eingabeaufforderung) stehen "Gibbed.Disrupt.BinaryObjectInfo.dll" durch mehrfaches betätigen der TAB Taste könnt ihr durch alle Tools wechseln die mit "Gibbed" Anfangen (Genau das was wir wollen), also drückt so lagen TAB bis ihr den Eintrag "Gibbed.Disrupt.Unpack.exe" seht und bestätigt mit ENTER.
Ihr seht nun eine art Hilfe Menü mit allen Parametern. Aber nun wollen wir doch endlich mal dazu kommen unsere erste Datei zu dekomprimieren. Also drücken wir einmal die PFEIL-NACH-OBEN Taste , wie ihr seht steht nun wieder der Befehl von vorher in der CMD nun hängt ihr aber ein paar sachen an. Am besten lässt sich das ganze an einem Beispiel Zeigen :
Code:
Gibbed.Disrupt.Unpack.exe -o -v "E:\Uplay Games\Watch_Dogs\data_win64\common.fat" "O:\Entpackt"
"Gibbed.Disrupt.Unpack.exe" -> Tool das ausgeführt werden soll
"-o" -> "Bedeutet er soll bereits bestehende Datein überschreiben
"-v" -> "Wir wollen den gesamten Fortschritt sehen
"E:\Uplay Games\Watch_Dogs\data_win64\common.fat" -> Beispiel Pfad zu der Datei common.fat die wir entpacken möchten
"O:\Entpackt\common" -> Pfad wo die Dateien gespeichert werden sollen , WICHTIG : Am ende des Pfades darf kein "\" stehen
Abhängig von der Ausgewählten Datei und der Leistungskraft eures Computers kann die Dekomprimierung einige Zeit in Anspruch nehmen.
Herzlichen Glückwunsch du hast dein erstes Archiv entpackt.
Editing
Nun geht es an das Bearbeiten. Ich werde jetzt einige Dateitypen auflisten und wie ihr diese in ein bearbeitbares Dateiformat umwandelt und wieder zurück. .rml
RML Dateien sind eigentlich XML Dateien ihr könnt diese Dateien mit dem "Gibbed.Disrupt.ConvertXml.exe" Konvertieren , dazu entweder wieder mit der Eingabeaufforderung arbeiten und folgenden Command eingeben :
Von .rml zu .xml
Code:
Gibbed.Disrupt.ConvertXml.exe --xml input [output]
Code:
Gibbed.Disrupt.ConvertXml.exe --rml input [output]
.xml
XML Dateien sind meistens ganz normale XML Dateien , wenn der Inhalt merkwürdig aussieht dann kann es sich auch um eine .rml Datei handel die nur als XML deklariert ist , dann müsst ihr diese per Command umwandeln(Siehe .rml).
.lua
Hier wird es schon etwas komplizierter , wenn ich euch von der Optionalen-Download-Liste "unluac" herunter geladen habt, Voraussetzung ihr müsst Java installiert haben, dann öffnen nun eine Eingabeaufforderung in dem Ordner der unluac.jar. Ihr könnt nun .Lua Dateien wie folgt dekompilieren :
Code:
java -jar unluac.jar "PFAD_ZUR_LUA_DATEI" > "SPEICHER_ORT_DER_DEKOMPILIERTEN_DATEI"
Um die Datei nun wieder zu kompilieren müsst ihr Lua 5.1 heruntergeladen haben (Stand auch auf der Optionalen Download-Liste).
Öffnet nun wieder eine Eingabeaufforderung in dem Order von Lua 5.1 und gebt folgendes ein :
Code:
luac5.1.exe -o "SPEICHER_NAME_DER_DATEI.lua" "ZU_KOMPILIERENDE_DATEI
.xbt
XBT Dateien sind Bild Dateien , diese sind "relativ" einfach umzuwandeln.
Dafür benötigen wir Notepad++, öffnet eine .xbt Datei mit Notepad++ Die Datei wird ungefähr so Anfangen :
Code:
TBX { , ÿÿ×' T
Æ×Q DDS | @ @ NVTT DXT1 4¥ Uµm[ YÎ €*(mk UÖ5Í,c UT yÎ
€Mk UqX–mk UIRT,c U…AP4¥ Uµm[ YÎ €*(mk UÖ5Í,c UT yÎ
€Mk
Code:
DDS | @ @ NVTT DXT1 4¥ Uµm[ YÎ €*(mk UÖ5Í,c UT yÎ €Mk UqX–mk UIRT,c U…AP4¥ Uµm[ YÎ €*(mk UÖ5Í,c UT yÎ €Mk
.lib
Um eine Libary zu konvertieren könnt ihr das Tool "Gibbed.Disrupt.ConvertBinaryObject.exe" benutzten, ich führe das Konvertieren mal anhand eines Beispiels durch :
Datei : common\generated\databases\generic\weapon.lib
Code:
Gibbed.Disrupt.ConvertBinaryObject.exe --export "common\generated\databases\generic\weapon.lib" "SPEICHER_PFAD.xml"
Um nun nach dem Bearbeiten die lib wieder zu Konvertieren könnt ihr folgendes tun :
Code:
Gibbed.Disrupt.ConvertBinaryObject.exe --import "SPEICHER_PFAD.xml" "CONVERTIERTE_LIB_SPEICHER_ORT"
.sbao
SBAO Dateien sind stark komprimierte OGG-Vorbis Dateien die im moment nicht richtig konvertiert werden können , wer was weiß , ich bin offen für Lösungen.
Repacking / Patch Datei erstellen
Damit ihr nun eurer Änderungen ins Spiel übernehmen könnt müsst ihr eine sogenannte Patch Datei erstellen, wahrscheinlich werdet ihr schon eine haben, von den Ubisoft Patches, um nun eine eigene Patch Datei zu erstellen müsst ihr eure bereits bestehende Patch Datei entpacken , ihr könnt nach dem Schema von oben vorgehen.Wenn ihr einen Patch Ordner besitzt müsst ihr nun eure geänderten Dateien in dieses Verzeichnis kopieren, wichtig ist das ihr nur die geänderten Dateien in das Verzeichnis kopiert und die Ordnerstruktur beibehaltet das heißt wenn ihr in "common" die Datei "/credits/pc/credits.xml" geändert habt muss es in dem Patch Ordner auch den selben Pfad geben Patch/credits/pc/credits.xml"
Um nun den Patch Ordner wieder zu einer Datei zu komprimieren macht ihr einfach :
Code:
Gibbed.Disrupt.Pack.exe "PFAD_ZUM_SPEICHERN" "PFAD_ZUM_ORDNER" Zb. Gibbed.Disrupt.Pack.exe "E:\Uplay Games\Watch_Dogs\data_win64\patch.fat" "O:\entpackt\neuerPatch"
Abschluss
Nun habt ihr eine Patch Datei und euer Spiel sollte ohne Probleme laden, falls es hängen bleibt habt ihr etwas Falsch gemacht. Falls ihr Probleme habt könnt ihr mich gerne Kontaktieren.Hier noch ein kleines Beispiel wo ich Rote Schrift auf den Profiler gemacht habe :
ALWAYS CREATE A BACKUP OF YOUR FILES!
Content- Introduction
- Preparing
- Decompressing
- Editing
- Repacking/Create Patch file
- Ending
Introduction
In the following tutorial I want to show you , how you can mod Watch_Dogs.All the following information are based on my own knowledge and experiences, in this tutorial tools from 3rd person modders are used.
After the release of Watch_Dogs alot of people(me as well) were pissed because the game doesn't looked like the E3 Demo so even on the first day of Watch_dogs , I started analysing the game archives. After a short time I already knew the the game archives are some kind of modified XMEM game archives (these were used in Far Cry 3). But now let's get to the interesting part !
Preparing
To decompress the game archives we need some tools made by the modder "Gib"(
) you can download there tools here *
*, the file on top is always the newest one , in my case : disrupt-r47_b35.zip.If you decompress the .zip you get a folder called "bin" , it contains all the useful tools we need.
But we are not able to use the tools yet , we need the Microsoft XNA Framework for the tools to work properly , you can get the XNA Framework over here *
*. After you've downloaded the file simply install it.Now there are still some optional downloads , I will just list them with their case of use :
- [URL="http://notepad-plus-plus.org/"]Notepad ++ A Text-Editor to edit alot of files/URL]


Decompressing
Here we go !We are now going to decompress our first game archive, to do that go back into the folder of the Gib tools.
Now hold you SHIFT-Key on your keyboard and make a right click into the folder , a menu should come up , select the entry "Open command line here".
Now simply type "Gibbed" into the command line , if you press the TAB-Key it should auto complete you line into "Gibbed.Disrupt.BinaryObjectInfo.dll", press the TAB-Key until it says "Gibbed.Disrupt.Unpack.exe" , press ENTER to proceed.
Now you should see some kind of help menu with some useful parameters. But now we really want to start the decompressing. Press the ARROW-UP-Key on your keyboard it should restore your last command of the command line , now you have to append some parameters , I'll explain it with an example :
Code:
Gibbed.Disrupt.Unpack.exe -o -v "E:\Uplay Games\Watch_Dogs\data_win64\common.fat" "O:\Decompressed"
"-o" -> Means that we want to overwrite any files that existing at that location(for safety)
"-v" -> Means that it should output any progress into the command line
"E:\Uplay Games\Watch_Dogs\data_win64\common.fat" -> Example path for the common.fat file which we want to decompress
"O:\Entpackt\common" -> Path were the decompressed files should be stored , IMPORTANT : DO NOT WRITE A "\" AT THE END
Depending on the file you choose and the power of your computer it can take a while to decompress all the data.
Congratulations you have successfully decompressed your first file.
Editing
Now we start editing , I will write down some file types and how to get them into a editable format and back :.rml
RML basically are encrypted XML files you can convert them with the "Gibbed.Disrupt.ConvertXml.exe" to do that you can use your command line and write the following command :
From .rml to .xml
Code:
Gibbed.Disrupt.ConvertXml.exe --xml input [output]
Code:
Gibbed.Disrupt.ConvertXml.exe --rml input [output]
.xml
XML mostly are normal XML files , if the content looks suspicious it may be a encrypted .rml file that is declared as a .xml you can convert those one with the .rml method(but command line this time)
.lua
Now it gets a little more complicated , if you downloaded "unluac" of the optional download list(you have to have java install too) you can decompile .lua files, open a command line in the folder of the unluac.jar and then run the following command :
Code:
java -jar unluac.jar "PATH_TO_LUA_FILE" > "SAVE_LOCATION_FOR_DECOMPILED_FILE"
If you want to compile it back you need to download the lua 5.1 from the optional download list , open a command line in the folder of the luac5.1.exe and run the following command :
Code:
luac5.1.exe -o "SAVE_LOCATION_FOR_DECOMPILED_FILE" "PATH_TO_LUA_FILE
.xbt
XBT files are image files there are quite easy to convert , there are basically DDS files with a modified header.
You need notepad++, open a .xbt file it should start some kind like this :
Code:
TBX { , ÿÿ×' T
Æ×Q DDS | @ @ NVTT DXT1 4¥ Uµm[ YÎ €*(mk UÖ5Í,c UT yÎ
€Mk UqX–mk UIRT,c U…AP4¥ Uµm[ YÎ €*(mk UÖ5Í,c UT yÎ
€Mk
Code:
DDS | @ @ NVTT DXT1 4¥ Uµm[ YÎ €*(mk UÖ5Í,c UT yÎ €Mk UqX–mk UIRT,c U…AP4¥ Uµm[ YÎ €*(mk UÖ5Í,c UT yÎ €Mk
.lib
To convert a libary you can use the tool "Gibbed.Disrupt.ConvertBinaryObject.exe", I will show the process with an example :
File : common\generated\databases\generic\weapon.lib
Code:
Gibbed.Disrupt.ConvertBinaryObject.exe --export "common\generated\databases\generic\weapon.lib" "SAVE_PATH.xml"
To convert the folder and the xml back into a libary simple to the following :
Code:
Gibbed.Disrupt.ConvertBinaryObject.exe --import "SAVE_PATH.xml" "SAVE_PATH_OF_CONVERTED_LIBARY"
.sbao
SBAO files are highly compressed OGG-Vorbis files there is no way to convert them atm. If someone knows something , let me know.
Repacking / Create a Path file
Now to get your changes into the game you have to create a patch file. If you downloaded a Ubisoft patch for your game before you'll already have a patch file , you'll have to decompress it like the way above.Now simply copy everything you modified into the patch file , important is that you have to keep the folder structure , e.g. If you edit the file "common/credits/pc/credits.xml" you have to copy it to Patch/credits/pc/credits.xml"
Now to compress the patch folder into a file simply run the follwing command :
Code:
Gibbed.Disrupt.Pack.exe "SAVE_LOCATION" "LOCATION OF PATCH_FILE" E.g. Gibbed.Disrupt.Pack.exe "E:\Uplay Games\Watch_Dogs\data_win64\patch.fat" "O:\decompressed\newPatch"
Ending
Now you should have modded your game successfully if there are any problems contact me !Here is just a quick example of where I edited the profiler texture with some red text







