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

Lysis: An experimental .smx decompiler


Post New Thread Reply   
 
Thread Tools Display Modes
nicolas4412
Junior Member
Join Date: Oct 2016
Old 01-17-2018 , 12:00   Re: Lysis: An experimental .smx decompiler
Reply With Quote #371

hello, I would like to compile this source but I do not arrive there are errors.
Attached Files
File Type: sp Get Plugin or Get Source (vip.smx.sp - 536 views - 459.7 KB)
nicolas4412 is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 01-17-2018 , 12:43   Re: Lysis: An experimental .smx decompiler
Reply With Quote #372

Quote:
Originally Posted by nicolas4412 View Post
hello, I would like to compile this source but I do not arrive there are errors.
Yeah, that's not going to compile.

Quote:
Originally Posted by BAILOPAN View Post
Disclaimer: This is not intended for general use. It is not a replacement for source code. It usually does not produce something that can compile. I don't have time to support it or decompile plugins on request. This is for people interested in reverse engineering technology.
__________________

Last edited by sneaK; 01-17-2018 at 12:43.
sneaK is offline
nicolas4412
Junior Member
Join Date: Oct 2016
Old 01-17-2018 , 15:54   Re: Lysis: An experimental .smx decompiler
Reply With Quote #373

ah OK so it's dead thank you for your answer
nicolas4412 is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 05-20-2018 , 16:52   Re: Lysis: An experimental .smx decompiler
Reply With Quote #374

Quote:
Originally Posted by max13tum View Post
I modified lysis to works with AmxModX plugins (.amxx) with debug information. And try support plugins without debug using code from Wraith Disassembler. Current version work very unstable and support limited plugins. Maybe someone wants to improve it.

Code: https://bitbucket.org/quckly/lysis
Use: Compile and copy amxx_include and opcodes.txt to bin folder.
Thank you for this! I've merged part of it and tried to improve some of your heuristics to support decompilation of AMXX plugins. Didn't port the other diassembler though - but tried to get "goto" and the pawn automation/states to decompile correctly. Plugins compiled with "#pragma compress 1" are handled as well. Let me know if there are any showstoppers. I wasn't able to find any amxx plugins without debug information.

Lysis can be build with Gradle now too, so just clone and do "gradlew jar" to create a runnable jar in "build/libs/" and run it with "java -jar lysis-java.jar file.smx".
Attached Files
File Type: zip lysis-java- 42b8368.zip (235.3 KB, 394 views)
__________________
Peace-Maker is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 06-04-2018 , 02:54   Re: Lysis: An experimental .smx decompiler
Reply With Quote #375

Quote:
Originally Posted by Peace-Maker View Post
Thank you for this! I've merged part of it and tried to improve some of your heuristics to support decompilation of AMXX plugins. Didn't port the other diassembler though - but tried to get "goto" and the pawn automation/states to decompile correctly. Plugins compiled with "#pragma compress 1" are handled as well. Let me know if there are any showstoppers. I wasn't able to find any amxx plugins without debug information.

Lysis can be build with Gradle now too, so just clone and do "gradlew jar" to create a runnable jar in "build/libs/" and run it with "java -jar lysis-java.jar file.smx".
Any way to prevent plug-ins from being decompiled? Especially SourceMod plug-ins.
DarthMan is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 06-04-2018 , 02:58   Re: Lysis: An experimental .smx decompiler
Reply With Quote #376

Quote:
Originally Posted by DarthMan View Post
Any way to prevent plug-ins from being decompiled? Especially SourceMod plug-ins.
No, and there is no real reason to seek a way to prevent such a thing.
__________________
ddhoward is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 06-04-2018 , 02:58   Re: Lysis: An experimental .smx decompiler
Reply With Quote #377

Quote:
Originally Posted by DarthMan View Post
Any way to prevent plug-ins from being decompiled? Especially SourceMod plug-ins.
It’s against the spirit of our community to do so.

You must also give the source when you distribute the binary anyway, so preventing a plugin from being decompiled is useless.

Last edited by headline; 06-04-2018 at 02:59.
headline is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 06-05-2018 , 04:33   Re: Lysis: An experimental .smx decompiler
Reply With Quote #378

Quote:
Originally Posted by Headline View Post
It’s against the spirit of our community to do so.

You must also give the source when you distribute the binary anyway, so preventing a plugin from being decompiled is useless.
Well, it's not that. I want to prevent plug-ins from being decompiled just in any case that someone might get access to my machine who knows by what methods, he will find the smx and if they're protected he won't be able to use them. My plug-ins are entirely private, so I'm not distributing them, but I want to protect them in case of leak etc.
DarthMan is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 06-05-2018 , 12:00   Re: Lysis: An experimental .smx decompiler
Reply With Quote #379

Quote:
Originally Posted by DarthMan View Post
Well, it's not that. I want to prevent plug-ins from being decompiled just in any case that someone might get access to my machine who knows by what methods, he will find the smx and if they're protected he won't be able to use them. My plug-ins are entirely private, so I'm not distributing them, but I want to protect them in case of leak etc.
Sounds like you need to get a better host if you cannot trust them to do something as petty as "steal" your plugins.
__________________
sneaK is offline
ae2x
Member
Join Date: Mar 2017
Old 03-07-2019 , 12:22   Re: Lysis: An experimental .smx decompiler
Reply With Quote #380

Is here someone who can decompile plugin?
ae2x is offline
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 16:39.


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