Tool for replacing texts in decrypted Black Desert Online localization files (<game>\ads\*.loc).
Tools to decrypt/encrypt localization files: BDOcrypt
ReplaceLanguage <replace> <original> <target>
<replace> : file which contains translated/modified strings
<original> : original file with string table
<target> : output file
languagedata_??.txt files contain the following tab separated data (\t = tab):
<sheet_number>\t<ID1>\t<ID2>\t<ID3>\t<ID4>\t"<localized_text>"
Text file uses UTF-16LE encoding.
ReplaceLanguage reads <original> file line by line and tries to find corresponding line in <replace> file. If the line is found, program replaces localized_text with the value from <translated>. Otherwise line stays untouched.
This program can be used for example to replace guild quest texts (guild_quest_list_en.txt) in languagedata_en.txt after patch:
ReplaceLanguage guild_quest_list_en.txt languagedata_en.txt modified.txt
Or it can replace texts in russian game client with corresponding english texts extracted from NA/EU client:
ReplaceLanguage languagedata_en.txt languagedata_ru.txt modified.txt