0 Members and 2 Guests are viewing this topic.
python tns2lua.py MyFile.tns MyCode.txt
I think it works if one didn't use TI's Tools to create it. If one used third-party tools then it works (or so I believe).
Does this only work on 3.0.1-only files, or does it also support files that support 3.0.2?
Also note that in order to do this you need Python 2.6 or Python 2.7 installed in your computer and they need to be in the terminal path.
python tns2lua.py MyFile.tns MyFile.txt
@echo offset /p tnsfile= Type the tns filename (without extension):set /p txtfile= Type the txt filename (without extension):python tns2lua.py %tnsfile%.tns %txtfile%.txt
You better use Luna to create .tns file, that any other third-party tool, since Luna is the only one generating working file for OS >= 3.0.2.Tutorials on how to use it are everywhere, but basically : luna.exe source.lua output.tnsEDIT : Oh wait nevermind I think I read your post wrong.....