Converting amx to pawn
#4

An amx file cannot be converted to the original source code, because the compiler makes a lot of optimisations to reduce the amx file size and increase speed. Things like function and variable names are discarded when you compile a pwn file because pawn doesn't need to know what your function is named, it just needs to know where it is and how it should be called.

There used to be an AMX decompiler which was buggy/unhelpful (because of the above limitations) at best and at worst it just didn't work at all.

Side note, if you're asking this because you found/acquired/stole somebody's amx file, please don't be an asshole.

Quote:
Originally Posted by HeLiOn_PrImE
Посмотреть сообщение
No. Because an amx can be compiled with like 20 includes, and a decompiler would need to have access to all the includes ever released to even try to do a reverse procedure. Even then the possibility is still in question. Not possible at the moment.
This is irrelevant. Includes are just that - included in the code that gets compiled.
Reply


Messages In This Thread
Converting amx to pawn - by Dyrus - 23.06.2015, 10:11
Re: Converting amx to pawn - by HeLiOn_PrImE - 23.06.2015, 10:21
Re: Converting amx to pawn - by Dyrus - 23.06.2015, 10:23
Re: Converting amx to pawn - by ev0lution - 23.06.2015, 10:30
Re: Converting amx to pawn - by HeLiOn_PrImE - 23.06.2015, 10:30
Re: Converting amx to pawn - by Emmet_ - 23.06.2015, 11:02
Re: Converting amx to pawn - by Mauzen - 23.06.2015, 11:04
Re: Converting amx to pawn - by hamzajaved780 - 23.06.2015, 11:53

Forum Jump:


Users browsing this thread: 1 Guest(s)