Lua Decompiler
Posted: 11 Feb 2015, 16:19
This is pretty freaking useless at the moment, but you can drop a compiled lua file onto the exe and you'll get back a decompiled version. Will probably only work for DotP and not general Lua scripts (although general lua scripts already have tools, so that doesn't matter). Should we ever manage to mod 2015 (which seems unlikely at this point ), then it'll make decompiling the lol files ~1% easier.
I was curious today what it took to decompile them, and it turned out the method involved manually editing the file in a hex editor and the using the command prompt to run the file through the proper lua decompiler. This will do both of those things for you, saving a little unnecessary effort (with the added benefit of using a temporary file rather than actually altering the original, not that that's likely to matter).
The tool I wrote doesn't care about the extension, but I don't know if unluac does.
I was curious today what it took to decompile them, and it turned out the method involved manually editing the file in a hex editor and the using the command prompt to run the file through the proper lua decompiler. This will do both of those things for you, saving a little unnecessary effort (with the added benefit of using a temporary file rather than actually altering the original, not that that's likely to matter).
The tool I wrote doesn't care about the extension, but I don't know if unluac does.