LuaDecompy icon indicating copy to clipboard operation
LuaDecompy copied to clipboard

Exception: unsupported instruction: TFORLOOP

Open xNxExOx opened this issue 1 year ago • 0 comments
trafficstars

gdsautogenerated.zip Hello, I tried to decompile this file, and got this error:

Traceback (most recent call last):
  File "D:\py\LuaDecompy\main.py", line 14, in <module>
    lp = lparser.LuaDecomp(chunk)
         ^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\py\LuaDecompy\lparser.py", line 78, in __init__
    self.parseInstr()
  File "D:\py\LuaDecompy\lparser.py", line 446, in parseInstr
    raise Exception("unsupported instruction: %s" % instr.toString())
Exception: unsupported instruction:   TFORLOOP :      4      0      2

Can you tell me, if the version of LUA was somehow modified, or if it is issue in your decompiler? Thanks in advance for your answer.

xNxExOx avatar Jan 22 '24 06:01 xNxExOx