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

decompiling amxx files


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 01-15-2021 , 05:21   decompiling amxx files
Reply With Quote #1

Hello.

Is there a way to decompile .amxx files, so i can revive lost .sma files?

Last edited by GlobalPlague; 01-15-2021 at 05:29.
GlobalPlague is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-15-2021 , 07:31   Re: decompiling amxx files
Reply With Quote #2

Decompiling doesn't give you a working .sma file. You can see the code, but it's easier to rewrite the plugin in order to get it to a working state.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 01-15-2021 , 09:32   Re: decompiling amxx files
Reply With Quote #3

Quote:
Originally Posted by OciXCrom View Post
Decompiling doesn't give you a working .sma file. You can see the code, but it's easier to rewrite the plugin in order to get it to a working state.
Hello. Thanks for the answer.

You mean i will get not the code, but a photo of the code?

Last edited by GlobalPlague; 01-15-2021 at 09:33.
GlobalPlague is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-15-2021 , 09:47   Re: decompiling amxx files
Reply With Quote #4

Better see for yourself - https://headlinedev.xyz/lysis/
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 01-15-2021 , 09:58   Re: decompiling amxx files
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
Better see for yourself - https://headlinedev.xyz/lysis/
When i decompiled the .amxx file, i got the code and i can copy and paste it.

I saw this message on the website: "Tip: Decompiled plugins are not meant to be recompiled!"

What will happen if i (re)compile the code and use it again as .amxx file? I can check by myself, but now im on mobile device, not on my computer.
GlobalPlague is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 01-15-2021 , 13:02   Re: decompiling amxx files
Reply With Quote #6

Quote:
Originally Posted by GlobalPlague View Post
When i decompiled the .amxx file, i got the code and i can copy and paste it.

I saw this message on the website: "Tip: Decompiled plugins are not meant to be recompiled!"

What will happen if i (re)compile the code and use it again as .amxx file? I can check by myself, but now im on mobile device, not on my computer.
You can't compile decompiled code.
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 01-15-2021 , 14:49   Re: decompiling amxx files
Reply With Quote #7

Quote:
Originally Posted by Shadows Adi View Post
You can't compile decompiled code.
Where is the difference between the code of .sma file that is written, but not compiled into .amxx file, and the same code of .sma file that is written, compiled into .amxx and then decompiled?

If you write .sma file and then compile it into .amxx file, and then decompile the .amxx file, how will the code be changed/damaged?

Last edited by GlobalPlague; 01-15-2021 at 14:51.
GlobalPlague is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-15-2021 , 15:24   Re: decompiling amxx files
Reply With Quote #8

Quote:
Originally Posted by GlobalPlague View Post
Where is the difference between the code of .sma file that is written, but not compiled into .amxx file, and the same code of .sma file that is written, compiled into .amxx and then decompiled?

If you write .sma file and then compile it into .amxx file, and then decompile the .amxx file, how will the code be changed/damaged?
The easiest way to find out is by taking a .sma, compiling it and then decompiling it. Then simply compare the results.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-16-2021 , 02:59   Re: decompiling amxx files
Reply With Quote #9

Quote:
Originally Posted by GlobalPlague View Post
Where is the difference between the code of .sma file that is written, but not compiled into .amxx file, and the same code of .sma file that is written, compiled into .amxx and then decompiled?

If you write .sma file and then compile it into .amxx file, and then decompile the .amxx file, how will the code be changed/damaged?
It basically removes all the info not needed to execute the program, like the syntax of the programming language. The compiler only knows how to read the syntax.
__________________
fysiks is online now
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 01-18-2021 , 04:33   Re: decompiling amxx files
Reply With Quote #10

But it's still possible to change plugins behaviour from the binnary (amxx) if you know what you are doing. But that's a more advanced field so you better understand the basics first.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Reply


Thread Tools
Display Modes

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 21:02.


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