Author Topic: Axe Murderer Killer's TLK editor issue  (Read 841 times)

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Axe Murderer Killer's TLK editor issue
« on: March 06, 2012, 03:30:31 am »


               When modifying dialog.tlk, I found out that AMK's TLK editor sometimes mark random lines as invalid and delete their sound resref. I havent found reason it works fine until I close the editor and next time I open this modified dialog.tlk the editor forces me to "repair" talk table. It even cannot open default 1.69 dialog.tlk without this.

Question is, are these sound resref even used? I suspect that sound is played from conversation and these sounds in talk table are unused. Is that true? If not how can I restore these sound resrefs? AMK's tlk editor cannot do that, xml2tlk AFAIK deletes all sound resrefs by default when converting.
               
               

               
            

Legacy_Alex Warren

  • Sr. Member
  • ****
  • Posts: 326
  • Karma: +0/-0
Axe Murderer Killer's TLK editor issue
« Reply #1 on: March 06, 2012, 03:37:12 pm »


               I don't use Axe's tlk editor because of that repair function, which is obviously bugged.

I don't know if/where those resfrefs are used, so can't answer your questions. But I can suggest a great tool to edit tlk files:
http://nwvault.ign.c....Detail&id=1295

It can export/import text files, so you could probably fix your resref problem by exporting both original and modified tlk to txt (including blank rows) and use some kind of diffing tool (winmerge?) to compare these two versions and then bulk copy unmodified lines with sound ref's and fix what remains. It all depend on how many changes have you made to original tlk though.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Axe Murderer Killer's TLK editor issue
« Reply #2 on: March 09, 2012, 10:05:54 am »


               thanks for suggestion, Ill try this editor then