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

Lysis: An experimental .smx decompiler


Post New Thread Reply   
 
Thread Tools Display Modes
duydangle
Senior Member
Join Date: May 2010
Old 02-17-2012 , 06:23   Re: Lysis: An experimental .smx decompiler
Reply With Quote #81

@Azelphur: An excellent article.
duydangle is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 02-19-2012 , 06:51   Re: Lysis: An experimental .smx decompiler
Reply With Quote #82

This closed-source mashup of KAC and SMAC is being released in the wild. It apparently makes heavy use of the Socket extension, as it's being advertised with a custom built-in auto-updater and banlist. I'm curious to know exactly what it's doing.

This exception is thrown when attempting to decompile:
Code:
Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at SourcePawn.SourcePawnFile..ctor(Byte[] binary) in Lysis\SourcePawnFile.cs:line 559
   at Lysis.PawnFile.FromFile(String path) in Lysis\PawnFile.cs:line 47
   at Lysis.Program.Main(String[] args) in Lysis\Program.cs:line 94
Any ideas?
Attached Files
File Type: smx kigen-ac-pub_1015_win32.smx (78.0 KB, 320 views)
__________________

Last edited by GoD-Tony; 02-19-2012 at 06:52.
GoD-Tony is offline
psychonic

BAFFLED
Join Date: May 2008
Old 02-19-2012 , 11:36   Re: Lysis: An experimental .smx decompiler
Reply With Quote #83

Quote:
Originally Posted by GoD-Tony View Post
This closed-source mashup of KAC and SMAC is being released in the wild. It apparently makes heavy use of the Socket extension, as it's being advertised with a custom built-in auto-updater and banlist. I'm curious to know exactly what it's doing.

This exception is thrown when attempting to decompile:
Code:
Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at SourcePawn.SourcePawnFile..ctor(Byte[] binary) in Lysis\SourcePawnFile.cs:line 559
   at Lysis.PawnFile.FromFile(String path) in Lysis\PawnFile.cs:line 47
   at Lysis.Program.Main(String[] args) in Lysis\Program.cs:line 94
Any ideas?
Attached Files
File Type: txt output.txt (128.2 KB, 848 views)
psychonic is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 02-20-2012 , 08:07   Re: Lysis: An experimental .smx decompiler
Reply With Quote #84

Quote:
Originally Posted by psychonic View Post
output.txt
Hah, looks like they also merged my Updater plugin in there. Thanks again!
__________________
GoD-Tony is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 02-20-2012 , 12:29   Re: Lysis: An experimental .smx decompiler
Reply With Quote #85

Quote:
Originally Posted by GoD-Tony View Post
Hah, looks like they also merged my Updater plugin in there. Thanks again!
Jerks.
__________________
Dr. McKay is offline
mica2611
SourceMod Donor
Join Date: Apr 2010
Location: Front of my macbook Pro
Old 03-04-2012 , 15:15   Re: Lysis: An experimental .smx decompiler
Reply With Quote #86

Hey,

Any news for matrice statement? and sometime
Quote:
/* ERROR! unknown operator */
Test[client][0][0] is ugly.

Best regards.

Last edited by mica2611; 03-04-2012 at 15:16.
mica2611 is offline
jacek2144
Senior Member
Join Date: Jun 2011
Old 03-10-2012 , 17:28   Re: Lysis: An experimental .smx decompiler
Reply With Quote #87

I hope this decompiler is going to decompile everything someday
and fix for bugs like :

/* ERROR! Index was out of range. Must be non-negative and less than the size of the collection.

/* ERROR! Object reference not set to an instance of an object. */

/* ERROR! unknown operator */

Also Very Nice Work Bailopan
jacek2144 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 04-25-2012 , 18:02   Re: Lysis: An experimental .smx decompiler
Reply With Quote #88

Im trying to make normal bat file to decompile.
i made that:
Code:
// Edit
set file=hns

@echo off
title Enhanced Decompiler
cls
echo Welcome to Enhanced Decompiler.
echo.
echo Decompiling %file%.
>> "%file%.sp" echo.
>> "%file%.sp" echo.
Lysis %file%.smx
pause
And its not saving the code to hns.sp, just 3 empty lines, any fix?
__________________
retired
shavit is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-25-2012 , 18:08   Re: Lysis: An experimental .smx decompiler
Reply With Quote #89

Code:
@echo off
"Lysis.exe" %1 > %1.sp
pause
__________________
Silvers is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 04-25-2012 , 18:25   Re: Lysis: An experimental .smx decompiler
Reply With Quote #90

Quote:
Originally Posted by Silvers View Post
Code:
@echo off
"Lysis.exe" %1 > %1.sp
pause
Thanks!
How can i make it when im dropping a file to the .bat it will decompile it?
__________________
retired
shavit 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 12:51.


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