Results 1 to 3 of 3

Thread: How to compile Lua Files

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

    Default How to compile Lua Files

    Download the LuaC binary from here:
    http://luaforge.net/frs/?group_id=110
    (Window users look for: lua5_1_Win32_bin.tar.gz)

    Instructions on how to use it here: http://www.lua.org/manual/4.0/luac.html

    Once you have the 'compiled' source file, just load it using dofile() via a standard script.

    Only seems to work with LuaPlayer 0.20.

    The advantages:
    - Faster loading time for large scripts
    - Stops modications to source code

    Disadvantages:
    - Makes the files unreadable

  2. #2
    DCEmu Coder ninja9393's Avatar
    Join Date
    Dec 2005
    Location
    Space Pirate Homeworld
    Age
    33
    Posts
    1,028
    Rep Power
    82

    Default

    so this makes it so no one can copy your entrire code?

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

    Default

    Quote Originally Posted by yaustar
    - Makes the files unreadable
    Yep

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
  •