DeAMX - .amx files decompiler for SA:MP originally made by trc_ in 2008
I am just updating it in my free times.
DeAMX is a collection of Lua scripts, which means you need
Lua to run it. If you don't have Lua yet, you can get it for
free from the official download page:
http://luabinaries.sourceforge.net/
Once you have Lua, there are two ways to decompile a script:
- Place the .lua files in some folder and create a .bat file ,
edit the bat file in a text editor like Notepad, and make
sure the path to lua5.1.exe is correct. Save the file and
close it.
To run, open a command prompt in the folder where you placed
deamx, and type:
deamx path\to\amxfile.amx
- Or, place the .lua files in the folder where you installed
Lua, open a command prompt in the Lua folder, and type:
luaX deamx.lua path\to\amxfile.amx
In both cases, the .amx file will be decompiled and the
resulting code will be placed in a .pwn file in the same
directory as the .amx file.