I want to decompile a Lua File that is compiled in LuaJIT Bytecode.
I have a Source Code of a Game but it's decompiled in LuaJIT Bytecode so it cannot be read by a normal Text Editor. (Also to mention that there is a official Link where you could download the Source Code but it has a 403 Forbidden error)
Is there a Method to read LuaJIT Bytecode with an specific Text Editor or decompile it?
here is a file I want to decompile/read if possible.
Feel free to download it and check it yourself.
Previously you could've used LJD, but now I'd use its replacement LuaJIT Decompiler v2. Your file is valid LuaJIT 2.1b3 bytecode, and the decompiled text can be found here.
If you want to decompile the rest of the sources, just open LuaJIT Decompiler v2 and drop the folder of compiled files on the command window.
Alternatively you could run it through Powershell with something like:
Start-Process -NoNewWindow -FilePath $decompiler_path -ArgumentList "`"$sources_directory`" -e lua -s" -Wait