Originally created to decode Hexinton's Elden Ring cheat table, but can be used for any cheat table that uses decodeFunction
.
- Open the cheat table in any text editor.
- Copy first argument of
decodeFunction
(the encoded string). - Run
python decode_function.py
and paste the encoded string, decoded Lua bytecode will be saved todecoded.luac
.
Important
Some terminals may break the string and you will get an error from zlib, in this case, save the string to a file and run python decode_function.py < file.txt
You can use luadec to decompile this bytecode.
Tip
This fork of luadec is recommended, as it has some improvements over the original.
- Same as above, but run
python hexinton_table_decoder.py
instead.