Jump to content

LuaJ (Compiling scripts in binary form) 3.0.1_

   (0 reviews)
Sign in to follow this  

2 Screenshots


Sorry, you aren't permitted to download this file. However, you may be able to download if you sign in. Sign In

About This File

Lua in GG is based on LuaJ 3.0.1, so you can try to compile the script into a binary form to hide its code.

However, GG is developing. Also, Lua is being modified in it, so that such scripts can not always work, or not work at all.

If you experience problems with binary scripts, use the text form of the script.

There is no support for the binary form of scripts and will never be. You do everything at your own peril and risk.

The binary form does not mean that your script can not be restored. It just makes things a little more complicated. But if you have the necessary skills, the code can be restored.

In a binary form, there is no integrity check, so that strings can be modified by the HEX editor. For example, copyright.

But you can encrypt the lines so that it is not so easy.

LuaJ allows you to both compile the script into a binary form, and print the contents of the script in the form of listing the commands of the virtual machine.

The source code of the script is not saved during compilation. So if you lose it, then it will be problematic to restore it.

Examples of using:

1. Compilation

 

java -cp luaj-jse-3.0.1.jar luac script_text.lua -o script_compiled.lua


2. Printing script commands
 

java -cp luaj-jse-3.0.1.jar lua -p script_compiled.lua


Examples are provided for the Windows command line. If you have Linux or Android, then this is your problem how to run a .jar file there. Do not ask me about it.

You must have java installed. It should also be available on the command line. In general, this is also your problem how to run the .jar file.

You can see the options available by running .jar with the -h option:

java -cp luaj-jse-3.0.1.jar luaс -h
java -cp luaj-jse-3.0.1.jar lua -h

 

 


What's New in Version 3.0.1_   See changelog

Released

Fixed crashes on print source.




User Feedback

Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...