Jump to content

1 Screenshot

About This File

Lua in GG is based on LuaJ 3.0.1, so you can try to decompile the script from a binary form for show 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.


 

java -jar unluac_2015_06_13.jar 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.

 

Quote

unluac is a decompiler for Lua 5.1. It runs on Lua chunks that have been compiled with the standard Lua compiler. It requires that debugging information has not been stripped from the chunk. (By default, the Lua compiler includes this debugging information.)

This program is written in Java. A JAR package is available in the downloads section so you don't have to compile it. It runs from the command line and accepts a single argument: the file name of a Lua chunk. The decompiled code is printed to the standard output.

Here is an example usage of unluac:
java -jar unluac.jar myfile.lua > myfile_decompiled.lua

The current version also has pretty good support for Lua 5.0 and experimental support for Lua 5.2 and Lua 5.3.

 


What's New in Version current   See changelog

Released

Update current version.


User Feedback

Recommended Comments

Ln7o

Posted

It decompile lua file, but in Command promt, How to save to text file :P

im noob

Ln7o

Posted

Oh, i see how to save. just add "> file.txt"

Freylialice

Posted

how about lua 4.2 version

 

  • Administrators
Enyby

Posted

Gg support only 5.2 (transient to 5.3 but stay compatible with 5.2).

Saphipro

Posted

Hello enyby bro:)) it is working in android 6 but  have error  'Bad system call' with  my device android 9 pie ..can you fix it

 

Screenshot_2019-09-28-12-14-10-347_io.neoterm.png

phxbin

Posted

image.thumb.png.c2d46169604672fcc07f2a23180a7e71.png

i need help

Senko

Posted

cant seems to get it right


look at bottom

SKHNL2Kwjn.png

KiritoNguyen

Posted

I have an error like this, please help me
Exception in thread "main" java.lang.IllegalStateException: The input chunk reports a non-standard lua format: 111
        at unluac.parse.LHeaderType.parse_format(LHeaderType.java:58)
        at unluac.parse.LHeaderType52.parse_main(LHeaderType.java:210)
        at unluac.parse.LHeaderType.parse(LHeaderType.java:45)
        at unluac.parse.BHeader.<init>(BHeader.java:72)
        at unluac.Main.file_to_function(Main.java:73)
        at unluac.Main.main(Main.java:42)

Shelline

Posted

Succes but the results like this 

local L0_0, L1_1, L2_2, L3_3, L4_4, L5_5, L6_6, L7_7, L8_8, L9_9, L10_10, L11_11, L12_12, L13_13, L14_14, L20_20, L21_21, L22_22, L23_23, L24_24, L25_25, L26_26, L27_27, L28_28, L29_29, L30_30, L31_31, L32_32, L33_33, L41_41, L42_42, L43_43, L44_44, L45_45, L46_46, L47_47, L48_48, L49_49, L50_50, L51_51, L52_52, L53_53, L54_54, L55_55, L56_56, L57_57, L58_58, L59_59, L60_60, L61_61, L67_67
L0_0 = tostring
L1_1 = loadfile
L2_2 = debug

Thisthis is only the top it's still long down what is this huh  

 

 

thisme

Posted

On 12/28/2021 at 2:17 PM, Shelline said:

Success but the results like this 

local L0_0, L1_1, L2_2, L3_3, L4_4, L5_5, L6_6, L7_7, L8_8, L9_9, L10_10, L11_11, L12_12, L13_13, L14_14, L20_20, L21_21, L22_22, L23_23, L24_24, L25_25, L26_26, L27_27, L28_28, L29_29, L30_30, L31_31, L32_32, L33_33, L41_41, L42_42, L43_43, L44_44, L45_45, L46_46, L47_47, L48_48, L49_49, L50_50, L51_51, L52_52, L53_53, L54_54, L55_55, L56_56, L57_57, L58_58, L59_59, L60_60, L61_61, L67_67
L0_0 = tostring
L1_1 = loadfile
L2_2 = debug

This is only the top it's still long down what is this huh

The author apparently used a decryptor/obfuscator to prevent people from stealing his code. You can either ask him or try to deobfuscate it manually.

thisme

Posted

Quote

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.

@Enyby The command works perfectly fine on all Operating Systems, that's what Java was made for 🙂

NoedL

Posted

Dont work

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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.