Homeworld 2 : DocumentationLuaC
Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
Most recent edit on 2006-04-14 17:03:43 by MiKail

Additions:
Command-line options for LuaC4:
Note: AFAIK you must be using the second version or LuaC to do this. -Mikail

Deletions:
Command-line options for LuaC4:
Note: AFAIK you must be using the second version or LuaC4 to do this. -Mikail




Edited on 2006-04-14 17:03:09 by MiKail

Additions:
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.
Use Age2uN's Lua Decompiler (LuaDC)http://forums.relicnews.com/showthread.php?t=23183.

Deletions:
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.
Use Age2uN's Lua Decompiler (LuaDC)http://forums.relicnews.com/showthread.php?t=23183.



Edited on 2006-01-18 05:45:36 by MiKail

Additions:
- Lua Decompiler (LuaDC)http://forums.relicnews.com/showthread.php?t=23183



Edited on 2006-01-18 05:44:41 by MiKail

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




Edited on 2006-01-18 05:42:57 by MiKail

Additions:
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.)
To Undump Files...


Deletions:
There are several versions of LuaC: one (Thought's modified version) is available herehttp://hw2.tproc.org/lua/luac.zip; 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 source code for Thought's modified version can be downloaded herehttp://hw2.tproc.org/lua/luac.c.
To Decompile Files...




Edited on 2006-01-18 05:10:02 by MiKail

Additions:
There are several versions of LuaC: one (Thought's modified version) is available herehttp://hw2.tproc.org/lua/luac.zip; 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.)

Deletions:
There are several versions of LuaC: one (Thought's modified version) available herehttp://hw2.tproc.org/lua/luac.zip, one available herehttp://warlords.swrebellion.com/files/LuaC.exe and a third (called LuaC4) available herehttp://luaforge.net/frs/?group_id=110. (There are also other versions, intended for other versions of Lua.)



Edited on 2006-01-18 05:09:25 by MiKail

Additions:
There are several versions of LuaC: one (Thought's modified version) available herehttp://hw2.tproc.org/lua/luac.zip, one available herehttp://warlords.swrebellion.com/files/LuaC.exe and a third (called LuaC4) available herehttp://luaforge.net/frs/?group_id=110. (There are also other versions, intended for other versions of Lua.)

Deletions:
There are several versions of LuaC: one available herehttp://hw2.tproc.org/lua/luac.zip (Thought's modified version), one available herehttp://warlords.swrebellion.com/files/LuaC.exe and a third, called LuaC4, available herehttp://luaforge.net/frs/?group_id=110. (There are also other versions, intended for other versions of Lua.)



Edited on 2006-01-18 05:08:21 by MiKail

Additions:
The source code for Thought's modified version can be downloaded herehttp://hw2.tproc.org/lua/luac.c.

Deletions:
The source code for Thought's modified version is available herehttp://hw2.tproc.org/lua/luac.c.



Edited on 2006-01-18 05:07:59 by MiKail

Additions:
There are several versions of LuaC: one available herehttp://hw2.tproc.org/lua/luac.zip (Thought's modified version), one available herehttp://warlords.swrebellion.com/files/LuaC.exe and a third, called LuaC4, available herehttp://luaforge.net/frs/?group_id=110. (There are also other versions, intended for other versions of Lua.)

Deletions:
There are several versions of LuaC: one available herehttp://hw2.tproc.org/lua/luac.zip (Thought's modified version), one available herehttp://warlords.swrebellion.com/files/LuaC.exe and a third, called LuaC4, available herehttp://luaforge.net/frs/?group_id=110. (There are also other versions, belonging to other versions of Lua.)



Edited on 2006-01-18 05:07:40 by MiKail

Additions:
There are several versions of LuaC: one available herehttp://hw2.tproc.org/lua/luac.zip (Thought's modified version), one available herehttp://warlords.swrebellion.com/files/LuaC.exe and a third, called LuaC4, available herehttp://luaforge.net/frs/?group_id=110. (There are also other versions, belonging to other versions of Lua.)

Deletions:
There are several versions of LuaC: one available herehttp://hw2.tproc.org/lua/luac.zip (Thought's modified version), one available herehttp://warlords.swrebellion.com/files/LuaC.exe and a third, called LuaC4, available herehttp://luaforge.net/frs/?group_id=110.



Edited on 2006-01-18 05:07:02 by MiKail

Additions:
There are several versions of LuaC: one available herehttp://hw2.tproc.org/lua/luac.zip (Thought's modified version), one available herehttp://warlords.swrebellion.com/files/LuaC.exe and a third, called LuaC4, available herehttp://luaforge.net/frs/?group_id=110.

Deletions:
There are several versions of LuaC: one available herehttp://hw2.tproc.org/lua/luac.zip (Thought's modified version), one available herehttp://warlords.swrebellion.com/files/LuaC.exe and a third, called LuaC3, available herehttp://luaforge.net/frs/?group_id=110.



Edited on 2006-01-18 05:06:40 by MiKail

No differences.


Edited on 2006-01-18 05:06:29 by MiKail

Additions:
There are several versions of LuaC: one available herehttp://hw2.tproc.org/lua/luac.zip (Thought's modified version), one available herehttp://warlords.swrebellion.com/files/LuaC.exe and a third, called LuaC3, available herehttp://luaforge.net/frs/?group_id=110.
The third version is part of the Win32 binary distribution of Lua 4.0.1, and is probably the most official.
The source code for Thought's modified version is available herehttp://hw2.tproc.org/lua/luac.c.
Command-line options for the Thought's modified version:
Command-line options for LuaC4:
luac -o [outputfile] [inputfile]
Note: AFAIK you must be using the second version or LuaC4 to do this. -Mikail
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

Deletions:
There are two versions: one herehttp://hw2.tproc.org/lua/luac.zip and one herehttp://warlords.swrebellion.com/files/LuaC.exe.
The source code for the first version is available herehttp://hw2.tproc.org/lua/luac.c.
Command-line options for the first version:
luac -s -o [outputfile] [inputfile]
Note: AFAIK you must be using the second version to do this. -Mikail
Note: AFAIK you must be using the first version to do this, though I haven't been able to get it to work. -Mikail



Edited on 2005-08-16 22:45:51 by MiKail

Additions:
Note: AFAIK you must be using the first version to do this, though I haven't been able to get it to work. -Mikail

Deletions:
Note: I haven't been able to get this to work, yet. -Mikail



Edited on 2005-08-16 22:44:25 by MiKail

Additions:
The source code for the first version is available herehttp://hw2.tproc.org/lua/luac.c.
Command-line options for the first version:
Command-line options for the second version:


Deletions:
The command-line options for the first version:
The command-line options for the second version:




Edited on 2005-08-16 22:43:30 by MiKail

Additions:
There are two versions: one herehttp://hw2.tproc.org/lua/luac.zip and one herehttp://warlords.swrebellion.com/files/LuaC.exe.
The command-line options for the first 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

The 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

Note: AFAIK you must be using the second version to do this. -Mikail
Note: I haven't been able to get this to work, yet. -Mikail

Deletions:
Note: you must be using thishttp://warlords.swrebellion.com/files/LuaC.exe version.
Switches
-s: strip headers and comments (maybe for compiling, only).
-o: overwrite outputfile if it already exists.
-u: unknown. Maybe means "undump" (e.g., decompile). Note: this flag isn't supported by the version listed above. -Mikail



Edited on 2005-08-15 04:33:23 by MiKail

Additions:
luac -s -o [outputfile] [inputfile]

Deletions:
luac [outputfile] [inputfile]



Edited on 2005-08-15 04:32:47 by MiKail

Additions:
-u: unknown. Maybe means "undump" (e.g., decompile). Note: this flag isn't supported by the version listed above. -Mikail
Related Pages:

To Compile Files...
luac [outputfile] [inputfile]
You must be using thishttp://warlords.swrebellion.com/files/LuaC.exe version.

To Decompile Files...
luac -u [inputfile] > [outputfile]

Switches
-s: strip headers and comments (maybe for compiling, only).
-o: overwrite outputfile if it already exists.
-u: unknown. Maybe means "undump" (e.g., decompile).
:: ::