Decompiling Plugins (.amx/x -> .sma)
Topic: How do you decode a closed source plugin back to source code?
This is a hot topic for some people, and I've been asked about it many times. After the Sputnik53 incident, I decided to publically reveal how it's done. Currently, I'm writing a multipart-article on the SourceMod devlog. This is not for the faint of heart, and you should step into this with knowledge of C and processor memory layout. I'll update this post as I complete more pieces of the tutorial. Part 1 - Introduction to the VM Part 2 - Basic Disassembly Part 3 - Decoding Branches Part 4 - Local procedures, variables, and multi-branches Part 5 - Optimization Part 6 - Stocks, floats, ternary operators, and for loops Part 7 - Multi-part if statements, multi-dimensional arrays |
Part 4 added.
|
Nice, very very nice.
p.s. Whats the answer to the bonus question :lol: |
Part 5 added.
Worth noting here too: Wraith's AMXReader now supports AMX Mod X 1.60 plugins. |
w00teh!!!
Baileh finally decided to make mine life happy again ^^ |
It is also worth noting that the disassembler isn't idiot proof. If you have a problem or request you can find me in #adminmod on gamesurge.
|
Part 6 added.
|
Part 7 added.
|
Re: Decompiling Plugins (.amx/x -> .sma)
when i open AmxReader gives me that error "The Application failed initialize properly (0xc0000135). Click on OK to terminate the application" :((
Pls help me :( |
Re: Decompiling Plugins (.amx/x -> .sma)
Nice gj BAIL
|
All times are GMT -4. The time now is 03:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.