The code it those games is compiled which makes it not directly readable.
You can compile your code using the included "luac.exe" (doc available here
) which also (supposedly) makes it load faster.
When you have a bunch of Lua files in a single directory you can compile them using the following batch command (just make sure you have backups
since the command overwrites the files with the compiled versions):
- Code: Select all
for /r %%i in (*) do luac.exe -s -o "%%i" "%%i"
PS. I think there might be 3rd party tools for Lua 'code obfuscation' but it's usually not worth the time.