~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lua Virtualizer v1.0 - by Bartosz Wójcik https://www.pelock.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lua Virtualizer protects Lua source code (.lua) using the same strategy flags
as the website, through the GUI, the command line, and the Web API.

The client sends uncompressed Lua source (compression=0) to:
https://www.pelock.com/api/lua-virtualizer/v1

Commands are login and virtualize. obfuscate is still accepted and does the same work. The source field is Lua text.

Source dialect (/Target, GUI combo, default auto):
Automatic tries 5.1, then 5.2, 5.3, 5.4, 5.5, then Luau, and keeps the oldest
dialect that parses. LuaJIT is not inferred. A script that only adds goto is
detected as 5.2. Choose LuaJIT explicitly when the script must be treated as
LuaJIT. When the target is auto the client may omit the form field.

Demo is enforced by the server. A missing or invalid key runs ONLY flat code
virtualization (--code-virtualization flat), limits input to 1000 bytes, and
ignores other flags. This client still posts the options you select.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Command line version
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LuaVirtualizerCmd.exe /InputFilePath="source.lua" /OutputFilePath="obfuscated.lua"

Optional /ActivationCode, /Target=auto|5.1|5.2|5.3|5.4|5.5|luajit|luau, and
strategy switches such as /CodeVirtualization=VM (or FSM, WEAVE, FLAT, RND), /RenameVariables,
/EncryptStrings, /ArrayIntCrypt, /Seed=42.

Rename styles: il, o0, hex, mangled.

Full list: LuaVirtualizerCmd.exe /help

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SciTE integration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When selected during setup, the installer updates SciTEUser.properties and adds
an Obfuscate command for *.lua scripts (Ctrl+F12).

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How to buy a license
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
https://www.pelock.com/products/lua-virtualizer/buy

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Contact
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E-Mail  : support@pelock.com
Website : https://www.pelock.com
