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

Convert a smx to sp


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Swaggero_o
New Member
Join Date: Aug 2020
Old 08-17-2020 , 12:33   Convert a smx to sp
Reply With Quote #1

Is there a possibility to convert a smx back to an sp file or a txt file?
Swaggero_o is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-17-2020 , 16:25   Re: Convert a smx to sp
Reply With Quote #2

This is called de-compiling a plugin. It cannot give you the exact code that was used to generate it, if it's possible at all. With AMX Mod X plugins (since you posted in the AMX Mod X section), there are tools to de-compile a plugin but you have to know scripting very well and how assembly works. Essentially, you have to rewrite the plugin anyways and the de-compiled code can simply give you clues on how things are done.

I'm not sure if there is an equivalent for SourceMod but generally (99+% of the time) it is much easier to re-write the plugin from scratch.
__________________
fysiks is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 08-17-2020 , 22:24   Re: Convert a smx to sp
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
I'm not sure if there is an equivalent for SourceMod but generally (99+% of the time) it is much easier to re-write the plugin from scratch.
There is a decompiler for SourceMod plugins, it's called Lysis.

https://forums.alliedmods.net/showth...ighlight=Lysis
I don't know where it currently lives ATM, I have been inactive with this community for years... Only recently started lurking.
__________________
WildCard65 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:35.


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