Raised This Month: $ Target: $400
 0% 

decompiling amxx files


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

Hello.

Is there a way to decompile .amxx files, so i can revive lost .sma files?
__________________
I tried to insert chicken picture here, but it doesn't show up.

Last edited by GlobalPlague; 01-15-2021 at 06:29.
GlobalPlague is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-15-2021 , 08: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
Member
Join Date: Feb 2016
Location: idk
Old 01-15-2021 , 10: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?
__________________
I tried to insert chicken picture here, but it doesn't show up.

Last edited by GlobalPlague; 01-15-2021 at 10:33.
GlobalPlague is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-15-2021 , 10: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
Member
Join Date: Feb 2016
Location: idk
Old 01-15-2021 , 10: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.
__________________
I tried to insert chicken picture here, but it doesn't show up.
GlobalPlague is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 01-15-2021 , 14: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.
__________________



MVP Of The Round View project on GITHUB / AlliedModders

CSGO REMAKE ~ CSGO MOD [Currently Beta]
Shadows Adi is offline
GlobalPlague
Member
Join Date: Feb 2016
Location: idk
Old 01-15-2021 , 15: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?
__________________
I tried to insert chicken picture here, but it doesn't show up.

Last edited by GlobalPlague; 01-15-2021 at 15:51.
GlobalPlague is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-15-2021 , 16: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 , 03: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 offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 01-18-2021 , 05: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 01:34.


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