I was looking for a program that could dump dialog.tlk files to ascii so that I could do some easy lookups of StrRefs. I came across Revinor's old talkdump program in his ctools 0.4 package. Seems he stopped supporting it even though it did one thing that no other tlk editor I found could do: created plaintext of the tlk.
Unfortunately his version of the program choked on v3.0+ TLK files because of a new field in the structure. Luckily he included the source so I was able to whip up a quick fix. I also made some other changes to make it more useable.
To use on your dialog.tlk file:
- drop talkdump.exe in the same directory as your dialog.tlk file. - run talkdump.exe - wait until the program finishes. - open up the dialog.tlk.txt file.
This is a compilation of the old system into a single score. There were 1 that made this score of 10 then rounded to 10.
Posted by Jorzal ( ..xxx.xxx ) at 2003-12-22 14:54:00
Glad to hear you got further along than me. Is it something you can post back?
Posted by Eligio_Sacateca ( ..xxx.xxx ) at 2003-12-21 23:25:00
I actually grabbed a version of DialogTLK and added Import from XML and Export to XML functions to it. Simpler than what you have (only includes strref, name and string fields) and does what I need but thanks.
Posted by Jorzal ( ..xxx.xxx ) at 2003-12-21 16:40:00
Well, I now have a version that outputs Dialog.tlk in XML, but I still have some problems to fix. For one thing, I found out that Dialog.tlk has some of it's own tags in it that are bracketed but are not valid XML. It throws off the parser when it attempts to read it. I can post what I have back, If you you think you can use it.
Posted by Eligio_Sacateca ( ..xxx.xxx ) at 2003-12-21 08:50:00
I would love a version that output XML and read back in XML. A lot of the data for the CEP is in text format so we really need the ability to load it into a tlk file without having to cut and paste thousands of entries.
Posted by Jorzal ( ..xxx.xxx ) at 2003-12-20 02:05:00
I'm making a few hacks to this program to make it output XML. I can post the result back if people are interested.
My ultimate goal is to make it easier to cross reference with spells.2da to make a better spell editor.
Posted by whistler ( ..xxx.xxx ) at 2003-10-09 20:22:00
From email (Just a note, please post questions on the Vault pages instead of via email, keeps me from having to answer them multiple times).
QUOTING ========================>
From: Mark Westerbeck
Subject: text dump problem
Date: Thu, 9 Oct 2003 12:49:59 -0700 (PDT)
I used your text dump program at NWN vault and it
worked but I am unable to delete it. It seem to always
be in use. Any advice on this matter?
Posted by Arduain ( ..xxx.xxx ) at 2003-09-09 19:05:00
Hey thanks for making this available to the community. We appreciate the time you put into fixing the updates needed. I should get some use out of this soon. Keep up the good work!
Posted by whistler ( ..xxx.xxx ) at 2003-09-09 17:59:00
Not really at the moment, since there's a couple of key data points that aren't being dumped to the ascii.
What I might do down the road is adapt Revinor's utilities to support tlk2xml and xml2tlk, since the xml format is well defined and there are a lot of utilities out there you could do things with.
Posted by Tim ( ..xxx.xxx ) at 2003-09-09 14:33:00
Nice programm. could you adept this so it could convert asciis to tlk files?
You must be Logged In to post comments in this section.