https://github.com/feeeek/cefunctiondecoder
Cheat Engine's lua encodeFunction decoder
https://github.com/feeeek/cefunctiondecoder
Last synced: 3 months ago
JSON representation
Cheat Engine's lua encodeFunction decoder
- Host: GitHub
- URL: https://github.com/feeeek/cefunctiondecoder
- Owner: FeeeeK
- Created: 2024-07-23T22:16:22.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-07-24T08:53:36.000Z (10 months ago)
- Last Synced: 2025-01-02T01:28:19.569Z (5 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cheat Engine encodeFunction decoder
Originally created to decode Hexinton's Elden Ring cheat table, but can be used for any cheat table that uses `decodeFunction`.
## Usage
1. Open the cheat table in any text editor.
2. Copy first argument of `decodeFunction` (the encoded string).
3. Run `python decode_function.py` and paste the encoded string, decoded Lua bytecode will be saved to `decoded.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](https://github.com/viruscamp/luadec) to decompile this bytecode.
> [!TIP]
> [This fork of luadec](https://github.com/zhangjiequan/luadec) is recommended, as it has some improvements over the original.### For Hexinton's Elden Ring cheat table
1. Same as above, but run `python hexinton_table_decoder.py` instead.