viruscamp / luadec

Lua Decompiler for lua 5.1 , 5.2 and 5.3
1.14k stars 343 forks source link

support lua 5.1 N64 NSO Switch #83

Open ImanCol opened 2 years ago

ImanCol commented 2 years ago

The Nintendo 64 emulator on the Nintendo Switch uses lua files compiled in 5.1 These files have a different structure. No decompiler is capable of generating the exact source files.

I tried your decompiler and I get the message luadec: sysdialog.lua: bad header in precompiled chunk core.zip

Can you study the files and add support?

rocky commented 2 years ago

Are you able to disassemble the bytecode?