goedmonton 0 Posted September 30, 2018 I want to create a dialogue/conversation guide for KOTOR 1 and 2 But I don't know what to do with the dialog.tlk I don't know what software/tools to use to open it up and turn it into something that I can read got any tips or recommendation Quote Share this post Link to post Share on other sites
DarthParametric 3,784 Posted September 30, 2018 You can convert it to XML with tlk2xml from Xoreos Tools - https://github.com/xoreos/xoreos-tools/releases Quote Share this post Link to post Share on other sites
goedmonton 0 Posted September 30, 2018 5 minutes ago, DarthParametric said: You can convert it to XML with tlk2xml from Xoreos Tools - https://github.com/xoreos/xoreos-tools/releases downloaded it, how do I use it? sorry if I com across as a dummy never used software like this before Quote Share this post Link to post Share on other sites
DarthParametric 3,784 Posted September 30, 2018 It's a collection of commandline tools. Assuming you are on Windows, you'll need to run it from a command prompt, AKA a DOS box. Running each tool without arguments will display their built-in help. BioWare TLK to XML converter Usage: tlk2xml [<options>] <input file> [<output file>] -h --help This help text --version Display version information --cp1250 Read TLK strings as Windows CP-1250 --cp1251 Read TLK strings as Windows CP-1251 --cp1252 Read TLK strings as Windows CP-1252 --cp932 Read TLK strings as Windows CP-932 --cp936 Read TLK strings as Windows CP-936 --cp949 Read TLK strings as Windows CP-949 --cp950 Read TLK strings as Windows CP-950 --utf8 Read TLK strings as UTF-8 --utf16le Read TLK strings as little-endian UTF-16 --utf16be Read TLK strings as big-endian UTF-16 --nwn Use Neverwinter Nights encodings --nwn2 Use Neverwinter Nights 2 encodings --kotor Use Knights of the Old Republic encodings --kotor2 Use Knights of the Old Republic II encodings --jade Use Jade Empire encodings --witcher Use The Witcher encodings --dragonage Use Dragon Age encodings --dragonage2 Use Dragon Age II encodings If no output file is given, the output is written to stdout. There is no way to autodetect the encoding of strings in TLK files, so an encoding must be specified. Alternatively, the game this TLK is from can be given, and an appropriate encoding according to that game and the language ID found in the TLK is used. To make your life easier, just download this batch file and drop it into the same folder as the tool and TLK. Double click it and follow the instructions. TLK_to_XML.bat Quote Share this post Link to post Share on other sites
goedmonton 0 Posted September 30, 2018 7 minutes ago, DarthParametric said: It's a collection of commandline tools. Assuming you are on Windows, you'll need to run it from a command prompt, AKA a DOS box. Running each tool without arguments will display their built-in help. BioWare TLK to XML converter Usage: tlk2xml [<options>] <input file> [<output file>] -h --help This help text --version Display version information --cp1250 Read TLK strings as Windows CP-1250 --cp1251 Read TLK strings as Windows CP-1251 --cp1252 Read TLK strings as Windows CP-1252 --cp932 Read TLK strings as Windows CP-932 --cp936 Read TLK strings as Windows CP-936 --cp949 Read TLK strings as Windows CP-949 --cp950 Read TLK strings as Windows CP-950 --utf8 Read TLK strings as UTF-8 --utf16le Read TLK strings as little-endian UTF-16 --utf16be Read TLK strings as big-endian UTF-16 --nwn Use Neverwinter Nights encodings --nwn2 Use Neverwinter Nights 2 encodings --kotor Use Knights of the Old Republic encodings --kotor2 Use Knights of the Old Republic II encodings --jade Use Jade Empire encodings --witcher Use The Witcher encodings --dragonage Use Dragon Age encodings --dragonage2 Use Dragon Age II encodings If no output file is given, the output is written to stdout. There is no way to autodetect the encoding of strings in TLK files, so an encoding must be specified. Alternatively, the game this TLK is from can be given, and an appropriate encoding according to that game and the language ID found in the TLK is used. To make your life easier, just download this batch file and drop it into the same folder as the tool and TLK. Double click it and follow the instructions. TLK_to_XML.bat Thanks DarthParametric got any other tips or recommendations to creating a dialogue/conversation guide Quote Share this post Link to post Share on other sites
DarthParametric 3,784 Posted September 30, 2018 Not really, other than that most actual conversations are in module-specific DLG files, not the TLK, in terms of the actual structure of a conversation (only the text strings are in the TLK). For that you'd be better off with DLGEditor - http://www.starwarsknights.com/mtools/dlgeditor_232.zip You'll still want the converted TLK if you plan on copying and pasting lines to a guide, but they are not stored in any human-friendly order, so you'll need the DLGEditor in order to have a logical way to peruse the branches of specific conversations. Quote Share this post Link to post Share on other sites
goedmonton 0 Posted September 30, 2018 4 minutes ago, DarthParametric said: Not really, other than that most actual conversations are in module-specific DLG files, not the TLK. how do I access that? Quote Share this post Link to post Share on other sites
goedmonton 0 Posted September 30, 2018 22 minutes ago, DarthParametric said: Not really, other than that most actual conversations are in module-specific DLG files, not the TLK, in terms of the actual structure of a conversation (only the text strings are in the TLK). For that you'd be better off with DLGEditor - http://www.starwarsknights.com/mtools/dlgeditor_232.zip You'll still want the converted TLK if you plan on copying and pasting lines to a guide, but they are not stored in any human-friendly order, so you'll need the DLGEditor in order to have a logical way to peruse the branches of specific conversations. problem starwarsknights sit wont open so i downloaded a dlg editor here is that the same? Quote Share this post Link to post Share on other sites
DarthParametric 3,784 Posted September 30, 2018 Seems to work if you download it via the page rather than the direct link, but yes, the DS hosted one should be the same (I forgot it was also here). Quote Share this post Link to post Share on other sites
goedmonton 0 Posted September 30, 2018 4 minutes ago, DarthParametric said: Seems to work if you download it via the page rather than the direct link, but yes, the DS hosted one should be the same (I forgot it was also here). I downloaded it, now I don't know what to do? Quote Share this post Link to post Share on other sites
Salk 374 Posted September 30, 2018 Hello! I think the best tool for this job is here on Deadlystream. Quote Share this post Link to post Share on other sites
EbonHawkStowaway999 2 Posted April 23, 2023 Could any experienced modders here help me fix 3 mistakes in eXtensive Dialog Overhaul 1.3, please? Its author has been inactive since February, and I cannot even open that file with any of the tlk editors available on this site (including the one in the message above). The tlk editors either run but hang up indefinitely once I try to load the dialog.tlk, or do not run at all. Here's a list of the mistakes in question: https://deadlystream.com/files/file/2216-extensive-dialog-overhaul/?do=findComment&comment=11785&tab=comments It'd be much appreciated if you could download eXtensive Dialog Overhaul 1.3 and make the respective changes in it, and then upload your dialog.tlk to a filesharing service so that I could access it there. *** Never mind, I managed to open that tlk file using KOTOR Tool's TLK Editor and fixed those mistakes there. *** Quote Share this post Link to post Share on other sites