Page 1 of 12 1234511 ... LastLast
Results 1 to 10 of 116

Thread: Help with Lua

                  
   
  1. #1
    DCEmu Reviewer Shadowblind's Avatar
    Join Date
    Apr 2006
    Location
    PR:SB End
    Posts
    3,796
    Rep Power
    112

    Default Help with Lua

    I am just starting out with lua, and due to frustration I am NOT IN A RATIONAL MOOD. I am tryin to run the lua program by creating script.cmd, but when I double-click it it just brings up notepad.

    WHAT AM I DOING WRONG?!

    I am using the tutorials from evilmana

  2. #2
    DCEmu Reviewer fg-54's Avatar
    Join Date
    Jun 2006
    Location
    gainesville
    Age
    33
    Posts
    726
    Rep Power
    69

    Default

    ditto, hmmm, nice signature.

  3. #3
    DCEmu Reviewer fg-54's Avatar
    Join Date
    Jun 2006
    Location
    gainesville
    Age
    33
    Posts
    726
    Rep Power
    69

    Default

    I am just starting out with lua, and due to frustration I am NOT IN A RATIONAL MOOD. I am tryin to run the lua program by creating script.cmd, but when I double-click it it just brings up notepad.

    WHAT AM I DOING WRONG?!
    i have the seame problem.

  4. #4
    PS3 User Gizmo356's Avatar
    Join Date
    Feb 2006
    Age
    32
    Posts
    1,756
    Rep Power
    120

    Default

    ok you write this in note pad luaplayer

    whateveryourluascriptnameis.lua
    pause

    and save it in the lua player windows folder

  5. #5

  6. #6
    DCEmu Reviewer fg-54's Avatar
    Join Date
    Jun 2006
    Location
    gainesville
    Age
    33
    Posts
    726
    Rep Power
    69

    Default

    note pad? what note pad?

  7. #7

  8. #8
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    84

    Default

    Chances are that you have named the file
    XXXX.cmd.txt
    but since windows likes to hide extensions by defualt, you can't see .txt.

    Go to:
    Tools->Folder Options->View
    and uncheck "Hide Extensions for known filetypes"

    Click Apply, then Apply to All folders then OK.

    In the batch file, it should be:

    luaplayer NameOfLuaScript.lua
    pause

  9. #9
    DCEmu Reviewer fg-54's Avatar
    Join Date
    Jun 2006
    Location
    gainesville
    Age
    33
    Posts
    726
    Rep Power
    69

    Default

    are you talking about that white square with a blue line on top? if you are, when i double click on it it apears for less then half a second, and then desapears.

  10. #10
    DCEmu Reviewer fg-54's Avatar
    Join Date
    Jun 2006
    Location
    gainesville
    Age
    33
    Posts
    726
    Rep Power
    69

    Default

    i don't have any files named XXXX.cmd.txt

Page 1 of 12 1234511 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •