Raised This Month: $32 Target: $400
 8% 

Get the original source code from a compiled amxx?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Desikac
Senior Member
Join Date: Apr 2010
Location: Serbia
Old 11-28-2010 , 06:53   Get the original source code from a compiled amxx?
Reply With Quote #1

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?
Desikac is offline
Send a message via MSN to Desikac Send a message via Skype™ to Desikac
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-28-2010 , 07:09   Re: Get the original source code from a compiled amxx?
Reply With Quote #2

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).
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-28-2010 , 07:56   Re: Get the original source code from a compiled amxx?
Reply With Quote #3

If you know what the plugin does, it's faster to rewrite it.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Desikac
Senior Member
Join Date: Apr 2010
Location: Serbia
Old 11-28-2010 , 08:05   Re: Get the original source code from a compiled amxx?
Reply With Quote #4

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.
Desikac is offline
Send a message via MSN to Desikac Send a message via Skype™ to Desikac
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-28-2010 , 08:23   Re: Get the original source code from a compiled amxx?
Reply With Quote #5

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.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:56.


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