Darkest Dungeon®

Darkest Dungeon®

View Stats:
How do I open or edit the ".loc" file
I'm a newbie modder that wanna make a translation mod for the game. but seem like all the subtitle and description file in the game are all lock up in the .loc file in the Darkest Dungeon/localization. is there a way to open of edit it? I tray notepad and other text edit program and it's seem to not working at all.
< >
Showing 1-3 of 3 comments
geepope Jan 27, 2016 @ 8:21am 
The .loc files are compiled from the various string_table.xml files in the localization directory. Fortunately the compiler is distributed with the game.

Step 1: Go to the DarkestDungeon\localization folder and open up the string_table file you want to edit. For example, go into heroes.string_table.xml where you'll see a lot of entries like this:

<entry id="hero_class_name_bounty_hunter"><![CDATA[Bounty Hunter]]></entry>

You can change them like so:

<entry id="hero_class_name_bounty_hunter"><![CDATA[Batman]]></entry>

This by itself doesn't do anything, until...

Step 2: Go to the DarkestDungeon\_windows folder and run the file "localization.exe". This will compile the changes you made in the string_table.xml files, so now when you open the game the Bounty Hunter class will be renamed Batman.
MischievousPylon Jan 27, 2016 @ 9:25am 
oh I see. so I do it wrong all along. thank you verymuch ^ ^
Dorok Aug 8, 2018 @ 3:25am 
So nothing for Mac, very tedious.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Jan 27, 2016 @ 12:59am
Posts: 3