简体   繁体   中英

How to decompile a Lua file?

I have a lua file, which, when opened in Notepad++ shows a mixture of English (uncorrupted), understandable text, as well as a mixture of "NULS" "ETX's" and other strange symbols, before I delve into attempting to decompile this, I want to work out if it is even possible?

Any help appreciated, thanks.

First bytes of the compiled Lua file tell the version where the script was compiled in.

Try LuaDec. (5.1 - 5.3) https://github.com/viruscamp/luadec

Alternative project: Chunkspy. (It's only for 5.1 and 5.0.2.) http://chunkspy.luaforge.net/

For 5.1 and 5.0: https://sourceforge.net/projects/unluac

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM