AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Get the original source code from a compiled amxx? (https://forums.alliedmods.net/showthread.php?t=144045)

Desikac 11-28-2010 06:53

Get the original source code from a compiled amxx?
 
Is there a way to get the original source code (the one like in the sma) from a compiled amxx file?

Or is disassembling the closest you can get to the code?

YamiKaitou 11-28-2010 07:09

Re: Get the original source code from a compiled amxx?
 
It is impossible to get the exact file used to compile a plugin if you only have the AMXX file, this is because of how it is compiled. Your best bet is to either remake it or demand the source code from whoever gave you the AMXX (they are required to give the the Source).

ConnorMcLeod 11-28-2010 07:56

Re: Get the original source code from a compiled amxx?
 
If you know what the plugin does, it's faster to rewrite it.

Desikac 11-28-2010 08:05

Re: Get the original source code from a compiled amxx?
 
I have my own plugin and I want to keep it private.

But I'm afraid my hosting company would just take it from my server (it happened once) and get the code from the amxx.

YamiKaitou 11-28-2010 08:23

Re: Get the original source code from a compiled amxx?
 
It is always possible to decompile a plugin, but you will lose all comments and I believe a few other things, though I am not certain. If you are afraid of your host taking the files, then I think it is time to look for a new host.


All times are GMT -4. The time now is 11:22.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.