Homeworld 2 : DocumentationLuaC
Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
Documentation for LuaC

There are several versions of LuaC: one (Thought's modified version) is available herehttp://forums.relicnews.com/showthread.php?t=17581; another is available herehttp://warlords.swrebellion.com/files/LuaC.exe; and a third (called LuaC4) is available herehttp://luaforge.net/frs/?group_id=110. (There are also other versions, intended for other versions of Lua.)

The third version is part of the Win32 binary distribution of Lua 4.0.1, and is probably the most official.

Command-line options for the Thought's modified version:

usage: luac [options] [filenames]. Available options are:
- process stdin
-u undump
-l list
-o file output file (default is "luac.out")
-p parse only
-s strip debug information
-t test code integrity
-v show version information

Command-line options for the second version:

usage: luac [options] [filenames]. Available options are:
- process stdin
-l list
-o file output file (default is "luac.out")
-p parse only
-s strip debug information
-t test code integrity
-v show version information

Command-line options for LuaC4:

usage: luac [options] [filenames]. Available options are:
- process stdin
-l list
-o file output file (default is "luac.out")
-p parse only
-s strip debug information
-t test code integrity
-v show version information

To Compile Files...
luac -o [outputfile] [inputfile]
Note: AFAIK you must be using the second version or LuaC to do this. -Mikail

To Undump Files...
luac -u [inputfile] > [outputfile]
Note: AFAIK you must be using the Thought's modified version to do this, though I haven't been able to get it to work. -Mikail

To Decompile Files...
Use Age2uN's Lua Decompiler (LuaDC)http://forums.relicnews.com/showthread.php?t=23183.

Related Pages:
:: ::