Raised This Month: $ Target: $400
 0% 

[Soft] Decompressor - (De)compressor for sourcemod's smx files


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Old 01-05-2018 , 15:08   [Soft] Decompressor - (De)compressor for sourcemod's smx files
Reply With Quote #1

Removes compression if it is present; Adds compression if it is missing.
smx file without compression still workable.

Usage:
Name of file passed as 1st param (just move file on Decompressor.exe)
Code:
Decompressor.exe <smx file>
uncompressed.smx created if file was compressed, compressed.smx created if file wasn't compressed.

Binary (.exe): Releases · Kailo97/Decompressor · GitHub
Sourcecode: GitHub - Kailo97/Decompressor: (De)compressor for sourcemod's smx files

Regards, Kailo.

Last edited by Kailo; 01-05-2018 at 15:50.
Kailo is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 01-06-2018 , 22:18   Re: [Soft] Decompressor - (De)compressor for sourcemod's smx files
Reply With Quote #2

Just asking, what todo with an compressed/uncompressed smx beside running it on a Server? I mean, its not a Decompiler or? So basicly whats the use of it?
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux

Last edited by DJPlaya; 01-06-2018 at 22:20.
DJPlaya is offline
Send a message via Skype™ to DJPlaya
Kailo
Senior Member
Join Date: Sep 2014
Location: Moscow, Russia
Old 01-07-2018 , 07:26   Re: [Soft] Decompressor - (De)compressor for sourcemod's smx files
Reply With Quote #3

Quote:
Originally Posted by DJPlaya View Post
Just asking, what todo with an compressed/uncompressed smx beside running it on a Server? I mean, its not a Decompiler or? So basicly whats the use of it?
Edit strings and opcode (bytecode) in plugin i.e. modify smx (plugin without sources). Commonly for remove protection from private plugins.
As simple example:
If plugin have ip protection like:
Code:
decl ipport[24];
GetServerIpPort(ipport, sizeof(ipport));
if (!StrEqual(ipport, "127.0.0.1:27015"))
{
    SetFailState("This plugins not for this server");
}
You can decompress plugin. Edit uncompressed smx with text editor (i use notepad++). Find "127.0.0.1:27015" string and edit for your ip.
Compress plugin again and use on your server. Done.

Last edited by Kailo; 01-07-2018 at 07:30.
Kailo is offline
zipcore
Veteran Member
Join Date: Mar 2010
Location: m_flZipcore
Old 01-08-2018 , 12:49   Re: [Soft] Decompressor - (De)compressor for sourcemod's smx files
Reply With Quote #4

I like
__________________
zipcore 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 20:20.


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