Decompiling works fine, but errors occur when recompiling. It seems like the issue is caused by function names not being in English. Is there a solution for this?
hi, again. I decrypted files and got luac files.(over 1K files.) I tried decompile but got many errors like bellow. Exception in thread "main" java.lang.IllegalStateException at unluac.decompile.Function.getGlobalName(Function.java:32) at unluac.decompile.Decompiler.processLine(Decompiler.java:335) at unluac.decompile.Decompiler.processSequence(Decompiler.java:910) at unluac.decompile.Decompiler.decompile(Decompiler.java:129) at unluac.Main.main(Main.java:81) some files are fine. like 'Z0-BGViewer~'...
okay. thank you for advice.
Thanks to you, I was able to translate the game. I appreciate it very much. This time, I am looking another game data. And looks like this file contains lua byte code too. but... version field (0x55) is weird.(file attached) I know that lua latest version is 5.4.3... It should be lua file because it's parent folder name is 'luabytecode'. do you have any idea?
thank you!!!
There were still a lot of not decompiled. This time I tried to do it myself. Disassembled, find opcodes, guessing what it is... ;;; Anyway, I managed to decompile all files without errors. But I can't guarantee this opcodes is right. Could you check this opcode? .op 0 move .op 1 loadk .op 2 loadbool .op 3 loadnil .op 4 getupval .op 5 getglobal .op 6 gettable .op 7 setglobal .op 8 setupval .op 9 settable .op 10 newtable .op 11 self .op 12 add .op 13 sub .op 14 mul .op 15 div .op 16 mod .op 18 unm...
thank you!
um... I decompiled many files of pack data. but seemed like half of files using different opcode... can you give me one more opcode? -_- sorry for many requests...