Jump to content
The simFlight Network Forums

Need help for a lua extension.


Popi
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.