Overview
MDELuaDecompiler is a Lua decompiler for Mafia: Definitive Edition.
This is made from JariKCoding's CoDHVKDecompiler and Katalash's DSLuaDecompiler
99% of MDE decompilation is done by Ekey. Huge thanks to him!
You can find documented functions and resources here : https://db.nomad-group.net/page/MDE_Scripting
What can be improved (contribution welcomed)
- Reverse functions arguments
- Reverse HKS_OPCODE_CHECKTYPE
- Remove _G
- Add line break and indentation for table
How to Use
- To decompile a couple/a single file(s) just drop it on the .exe
- To decompile whole folders open the program with the path as a parameter
Download
Not yet...
Requirements
- Windows 7 x86 and above
- .NET Core 3.1
Credits
- Ekey - Reverse MDE bytecodes and integration
- JariKCoding - Havok Script decompilation (https://github.com/JariKCoding/CoDHVKDecompiler/)
- DTZxPorter - Original lua disassembler to find the basics
- Scobalula - Utilities and general help
- Katalash & jam1garner - DSLuaDecompiler (https://github.com/katalash/DSLuaDecompiler)
License
MDELuaDecompiler is licensed under the MIT license and its source code is free to use and modify. MDELuaDecompiler comes with NO warranty, any damages caused are solely the responsibility of the user. See the LICENSE file for more information.