Author Topic: Is it possible to convert a TNS document back to its LUA form?  (Read 5692 times)

0 Members and 1 Guest are viewing this topic.

Offline Kyle Kelly

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Like the title says, I have a few TNS documents that I'd like to modify via LUA but they aren't readable in the TNS format.

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: Is it possible to convert a TNS document back to its LUA form?
« Reply #1 on: March 15, 2017, 05:21:46 pm »
Like the title says, I have a few TNS documents that I'd like to modify via LUA but they aren't readable in the TNS format.
Hi @Kyle Kelly and welcome to Omnimaga!

Some years ago (Sep' 12) I played a bit with TNS and LUA documents and wrote a windows utility that let's you look inside a TNS LUA-document.
Please click on the link in my signature "XML2TXT, XML2LUA, TXT2XML, LUA2XML and 2TNS", have a look at the post(s) and see if it can be of any help. (Unfortunately, the screenies are gone  :( ).

Offline Kyle Kelly

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Re: Is it possible to convert a TNS document back to its LUA form?
« Reply #2 on: March 15, 2017, 06:31:41 pm »
Hi @SpiroH , thanks for your response, I took a look at your post but I am a bit confused. Could you explain how to use the  TNS2XML program for what I'm trying to do?

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: Is it possible to convert a TNS document back to its LUA form?
« Reply #3 on: March 15, 2017, 06:40:14 pm »
Well, I'm not sure I completely understood what you're trying to achieve.
I think you are trying to read the LUA document which is inside the TNS document. Is that correct?

Offline Kyle Kelly

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 12
  • Rating: +0/-0
    • View Profile
Re: Is it possible to convert a TNS document back to its LUA form?
« Reply #4 on: March 15, 2017, 07:10:53 pm »
Yes, I want to edit the LUA document. TNS documents are made from LUA right? I want to get the LUA form of the TNS document so I can make changes to the program.