Hello guys
I created a Fivem Lua Cleaner script, turns byte code into human readable code! It combines offline regex patterns with local AI via Ollama to automatically refactor your code.
- Install Python for compatibility
- install ollama so it can run the AI Models
Strips decompiler junk and renames meaningless variables.
Fixes broken loops, labels, and chained method calls.
Supports batch processing so you can clean entire ZIP files at once.
Allows custom AI prompts to handle specific frameworks like ESX or QBCore.
You just need to run the cleaner, connect it to your Ollama instance, and drop your LUA files or ZIPs in it and it will handles the rest.
