Popi Posted February 7, 2011 Report Posted February 7, 2011 Win 7 64 FSX Gold Edition FSUIPC ver. 460a registered. LUA script for PMDG J41---January 4,2011 by Guensei. I am using my fathers computer and programs and this is my first lua/fusipc program. I do not find an editor in Win\system32, as instructed by Guensei. I has the script in notepad and saved a new file, new.txt. How do I change the txt file to new.lua extension? Lisa
Pete Dowson Posted February 7, 2011 Report Posted February 7, 2011 I do not find an editor in Win\system32, as instructed by Guensei. I has the script in notepad and saved a new file, new.txt. How do I change the txt file to new.lua extension? Save it with the Lua extension instead of the txt extension. If you don't know how, just rename the file after you saved it. Pete
Popi Posted February 7, 2011 Author Report Posted February 7, 2011 I have renamed the file to new.lua but it shows up as a text document in the documents library. 79KB. Is new.lua correct to copy it to the modules?
Pete Dowson Posted February 7, 2011 Report Posted February 7, 2011 I have renamed the file to new.lua but it shows up as a text document in the documents library. 79KB. Is new.lua correct to copy it to the modules? It sounds like you might have Windows set to hide the real file extensions from you. Go intoExplorer's folder options and uncheck the options to "hide file extensions for known file types". Then you'be able to see the real extension. It doesn't matter what it is called in the Modules folder, but only files of type "lua" are recognised as Luas plug-ins, and the rest of the name must be 12 characters or less excluding the . before lua. Pete
Popi Posted February 7, 2011 Author Report Posted February 7, 2011 It sounds like you might have Windows set to hide the real file extensions from you. Go intoExplorer's folder options and uncheck the options to "hide file extensions for known file types". Then you'be able to see the real extension. It doesn't matter what it is called in the Modules folder, but only files of type "lua" are recognised as Luas plug-ins, and the rest of the name must be 12 characters or less excluding the . before lua. Pete Pete You are correct. the hide extensions were check on. After unchecking the extentions, thefiles came up as new.lua.lua. I rename that file to new.lua in the modules. Good assist Pete. thanks Lisa
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now