Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Watch Dogs (*.loc) filetype

Featured Replies

  • Author
  • Localization

ss33, posted Wed Nov 12, 2014 9:44 am (1749)


Hi everybody.I tried to open Watch Dogs language file,i searched in the internet, but i found nothing.Someone extract this please.

Sorry for bad english

File Identifier Result:
Image



Code:
General:
- File name: main_english.loc
- SHA-1: f84921dbbfd43f8d5fd003500c50c41a18b6229f
- File extension: LOC
- File size: 587 KB
- Creation date: 2014-11-10 13:21:32
- Last modification: 2014-11-10 11:22:30

Metadata:
- None (possible unsupported file type)
  • Author
  • Localization

rengareng, posted Mon Jan 26, 2015 3:47 pm (2919)


Hi people, I made a good progress.

I finally build string fragments table. But, I do not know how this fragment table is indexed from the file.

I successfuly build string fragments table for both small file provided in previous entry and main_english.loc file.
However, I do not know how indexing works. I tried 1 byte indexing to this string fragment table in small file, meaningful texts are appeared.
However, in main_english.loc file, we need more advanced indexing since there is more than 255 entries in the string fragments table.

Here the output for DBD82924.loc(small file)
Code:
looe *[24]* ew C.e  xe_*[34]*c atch_.c :*[42]*s estall*[46]*oe *[49]*EgerYou You Watch_DogsR Bad BloodT-Bone Grady ContinueAiden Pearce New Game Aiden Pearce Continuee .*[98]*er ine treet SwYou have been invited to play the Bad Blood DLC. Accept the invite and the game will start automatically.You cannot join the DLC session, since the Bad Blood DLC is not installed.other *[173]**[174]*o*[176]*thlayfentreet zis DLC efrS*[189]*to uPp
- d enESinthf*[202]*onthe ai*[206]*vis ine is pitayIBloo a*[217]*.Bloos : playoois Bad Blooy*[226]*atchother tr*[230]**[231]*/pear_R*[237]**[238]*re*[240]*T-Bone playf a *[245]*WE*[248]*f*[250]*loothew Rf*[256]*A savegame for the Bad Blood DLC has been detected but the DLC is not installed. Install the DLC to use this savegame.*[305]*gYou must complete [CSS_BLUE]FADING SIGNAL[CSS_END] to access Bad Blood online features.:C Car qOnline Street Sweep: The GPS destination of the other player [GPSGWICON] is displayed on your map.gamethT-BontA*[422]*o*[424]* MBad Blood inoWce f*[432]*aisioner z*[437]* atch_Dunline Street Sweep: en*[443]*R/C Car othea Mear the R/C Car  s : *[454]*D*[456]*oanplayll e atT-Bone e playother E*[469]*trll*[472]*ear*[474]**[475]*with R/C Car is earine T-Bone dE*[484]*llth*[487]**[488]*c*[490]*NR/C Car *[493]**[494]*l.Gl- T-Bone Campaign : Play as T-Bone in his own story campaign.
- Street Sweep Missions : Weaken Chicago's gangs to earn new rewards.
- Co-op Mode : Play Street Sweep missions with other players.
- 10 new Perks : Discover 10 new exclusive Perks to deal with


Here the string fragments for DBD82924.loc(small file)
Code:
""
" "
"e"
"e "
"c"
"t"
"s"
"n "
"s "
"in"
"u"
"i"
"C"
"o"
"P"
"a"
" the "
"f"
"."
"l"
"d"
"S"
"m"
"g"
"to"
"on"
"A"
"G"
"n"
"ea"
"r"
"h"
". "
"is "
"re"
"play"
"I"
"p"
"b"
"N"
"us"
" M"
"is"
"er"
"y "
"de"
"to "
"You "
"ur"
"R/C Car "
"ll"
" a"
"am"
"d "
"1"
"k"
","
"v"
"D"
"av"
"re "
"ce "
"ai"
"t the "
"ep"
"ear"
"s : "
" a "
"Bad Blood DLC "
"Watch_Dog"
"an"
"it"
"ted "
"en"
"game"
"tin"
"cannot join"
"s.{\n}- "
"stall"
" new "
"trac"
"T-Bone "
"sion"
"Online Street Sweep: "
"with "
"other play"
"er "
"ca"
"at"
"DLC "
"Bad Blood "
"ou"
"r "
"the "
"t "
"]"
"["
"y"
"W"
"wi"
"s."
"not "
"gam"
"Street Sweep"
"te"
"You"
"ew"
"DL"
": "
"lay"
"ee"
"0"
"O"
"E"
"M"
"L"
"w"
"_"
"oth"
"line "
"ion"
"T-Bon"
"ac"
"new "
"sta"
"{\n}- "
"- "
"ar "
"st"
"ew "
"Bad Bloo"
"loo"
"ay"
"th"
"R"
"q"
"'"
"z"
"x"
"'"
"{\n}"
"F"
"U"
"-"
"T"
"B"
"R"
"atch_Dog"
"atch_Do"
"atch_D"
"atch_"
"atch"
"atc"
"nnot join"
"not join"
"not jo"
"not j"
"nline Street Sweep: "
"line Street Sweep: "
"line Street Sweep"
"th "
"other "
"ine "
"-Bon"
"Bon"
"/C Car "
"C Car "
"Car "
"ot "
"treet Sweep"
"treet Swee"
"treet Sw"
"treet S"
"treet "
"tree"
"ad Bloo"
"d Bloo"
"Bloo"
"tr"
"oo"
"C "
"/"
":"
"j"
"Y"


I hope there are people who can help me.

I just simply run the C# code in the attachment. It prints stringFragmentsTable entries, and output using 1 byte indexing.
My code is based on DerPlaya's code for Assassins Creed game.

Also, here my guess for loc file structure as template.
Code:
//--------------------------------------
//--- 010 Editor v5.0.2 Binary Template
//--------------------------------------

uint magic;
ushort languageCode;
ushort count1;
uint stringFragmentsOffset;
struct{
uint a,b;
}t[count1];
FSeek(stringFragmentsOffset);
int count2;//includes zero-zero node,but it is not written here
struct{
    short right,left;
}nodes[count2-1];

Watch_Dogs_Loc.7z

  • Author
  • Localization

Lord_Vaako, posted Sun Dec 25, 2016 7:21 pm (19777)


Hi, any progress? :-)
  • Author
  • Localization

rengareng, posted Thu Jan 24, 2019 7:10 pm (42725)


Hi everyone,

I finally managed to unpack loc files. Unfortunately, the loc file does not have ids, therefore you have to give min and max ids.

I attached unpacker with Watch_Dogs 1 main_english.loc file and unpacked main_english.txt file.

I won't spend time on writing tool to repack.

wd_loc.rar

  • Author
  • Localization

Shokoniraya, posted Mon Jan 28, 2019 7:29 am (42863)


rengareng wrote:
Hi everyone,

I finally managed to unpack loc files. Unfortunately, the loc file does not have ids, therefore you have to give min and max ids.

I attached unpacker with Watch_Dogs 1 main_english.loc file and unpacked main_english.txt file.

I won't spend time on writing tool to repack.


ok, at least can you share Source? im sure there is many people to help in repack
  • Author
  • Localization

TurkishPlayer63, posted Tue Jan 29, 2019 6:35 pm (42936)


main english.txt file I want to repack the language file pls help
  • Author
  • Localization

rengareng, posted Mon Feb 04, 2019 8:41 pm (43164)


Shokoniraya wrote:
rengareng wrote:
Hi everyone,

I finally managed to unpack loc files. Unfortunately, the loc file does not have ids, therefore you have to give min and max ids.

I attached unpacker with Watch_Dogs 1 main_english.loc file and unpacked main_english.txt file.

I won't spend time on writing tool to repack.


ok, at least can you share Source? im sure there is many people to help in repack


You can find the source code here.
  • Author
  • Localization

extrme_sports, posted Wed Feb 06, 2019 6:11 am (43197)


rengareng wrote:
Shokoniraya wrote:
rengareng wrote:
Hi everyone,

I finally managed to unpack loc files. Unfortunately, the loc file does not have ids, therefore you have to give min and max ids.

I attached unpacker with Watch_Dogs 1 main_english.loc file and unpacked main_english.txt file.

I won't spend time on writing tool to repack.


ok, at least can you share Source? im sure there is many people to help in repack


You can find the source code here.

THNX
  • Author
  • Localization

extrme_sports, posted Wed Feb 06, 2019 2:44 pm (43205)


rengareng wrote:
Shokoniraya wrote:
rengareng wrote:
Hi everyone,

I finally managed to unpack loc files. Unfortunately, the loc file does not have ids, therefore you have to give min and max ids.

I attached unpacker with Watch_Dogs 1 main_english.loc file and unpacked main_english.txt file.

I won't spend time on writing tool to repack.


ok, at least can you share Source? im sure there is many people to help in repack


You can find the source code here.

Image
  • Author
  • Localization

rengareng, posted Wed Feb 06, 2019 5:30 pm (43210)


I compiled with Visual Studio Community 2017 with .NET Framework v4.7 without any problem on Windows 10.
I also can compile on Ubuntu using MonoDevelop without any problem.
  • Author
  • Localization

extrme_sports, posted Wed Feb 06, 2019 7:15 pm (43215)


extrme_sports wrote:
rengareng wrote:
Shokoniraya wrote:

ok, at least can you share Source? im sure there is many people to help in repack


You can find the source code here.

Image

Ok i exported file to txt extention. Well how can i import a loc file for txt file ?
  • Author
  • Localization

rengareng, posted Wed Feb 06, 2019 7:32 pm (43217)


If you read my post, I explicitly told that I won't work on importing. Anyone who wants it, can implement it. I shared the source code of tool.
  • Author
  • Localization

extrme_sports, posted Wed Feb 06, 2019 7:49 pm (43221)


rengareng wrote:
If you read my post, I explicitly told that I won't work on importing. Anyone who wants it, can implement it. I shared the source code of tool.

OK. Well watch dogs 2 not worked on me.
  • Author
  • Localization

rengareng, posted Wed Feb 06, 2019 8:27 pm (43225)


Can you share the loc file you tried? It worked for me without a problem.
I used following parameters:
Code:
wd_loc.exe main_english.loc 4555 20000520
  • Author
  • Localization

extrme_sports, posted Tue Feb 12, 2019 1:50 pm (43403)


rengareng wrote:
Can you share the loc file you tried? It worked for me without a problem.
I used following parameters:
Code:
wd_loc.exe main_english.loc 4555 20000520
  • Author
  • Localization

rengareng, posted Tue Feb 12, 2019 3:53 pm (43409)


extrme_sports wrote:
rengareng wrote:
Can you share the loc file you tried? It worked for me without a problem.
I used following parameters:
Code:
wd_loc.exe main_english.loc 4555 20000520

You can use this tool: download/file.php?id=6180
Code:
wd_loc.exe main_english.loc main_english.loc.txt 4555 20000520
  • Author
  • Localization

NetLuis, posted Sat Feb 23, 2019 4:23 pm (45204)


rengareng wrote:
Hi everyone,

I finally managed to unpack loc files. Unfortunately, the loc file does not have ids, therefore you have to give min and max ids.

I attached unpacker with Watch_Dogs 1 main_english.loc file and unpacked main_english.txt file.

I won't spend time on writing tool to repack.

Can you make a tool to repack, please?
  • Author
  • Localization

rengareng, posted Sun Apr 07, 2019 2:55 pm (46562)


NetLuis wrote:
rengareng wrote:
Hi everyone,

I finally managed to unpack loc files. Unfortunately, the loc file does not have ids, therefore you have to give min and max ids.

I attached unpacker with Watch_Dogs 1 main_english.loc file and unpacked main_english.txt file.

I won't spend time on writing tool to repack.

Can you make a tool to repack, please?

Translation of Watch Dogs 1 and 2 is possible now:

Image Image Image
  • Author
  • Localization

Shokoniraya, posted Sun Apr 07, 2019 3:08 pm (46564)


rengareng wrote:
NetLuis wrote:
rengareng wrote:
Hi everyone,

I finally managed to unpack loc files. Unfortunately, the loc file does not have ids, therefore you have to give min and max ids.

I attached unpacker with Watch_Dogs 1 main_english.loc file and unpacked main_english.txt file.

I won't spend time on writing tool to repack.

Can you make a tool to repack, please?

Translation of Watch Dogs 1 and 2 is possible now:


sorry for asking, but is that a hook? isn't is?
  • Author
  • Localization

rengareng, posted Sun Apr 07, 2019 9:45 pm (46595)


Yes, it's a hook.
  • Author
  • Localization

rengareng, posted Wed May 29, 2019 4:00 am (48093)


I refactored code and made structure of Loc files obvious in case anyone wants to code packer for it.
Source Code
  • Author
  • Localization

MuslimCyberGames, posted Mon May 25, 2020 9:04 pm (56928)


rengareng wrote:
I refactored code and made structure of Loc files obvious in case anyone wants to code packer for it.
Source Code


@rengareng Can you re share the Source Code or the Tools for Repacked Loc files?
  • Author
  • Localization

MuslimCyberGames, posted Thu May 28, 2020 2:48 am (56954)


Anyone can re-share the source code? Cause github rengageng expired or 404 not found.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.