Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: nacitar on February 25, 2006, 09:28:10 am

Title: Executable Compressor
Post by: nacitar on February 25, 2006, 09:28:10 am
I found this to be rather useful.... Check this thing out ;)  I put it in my tools menu for C::B.

http://upx.sourceforge.net/
Title: Re: Executable Compressor
Post by: Game_Ender on February 25, 2006, 08:05:31 pm
It is a cool tool but of limited use.  These days hard drive space is not that big of deal and content is usually going to be a lot bigger than the executable.  Also most people use an installer to distribute apps, and installer already provides compression.  Really the only time I would use UPX was if I was going to distribute a completely stand alone executable (as in no readme, no nothing) because if you have more than one file you can 7zip it and the need for UPX is gone.  It is also important to note that UPX does not change the size of executable loaded into memory or the one on disk.

EDIT: Should read "only the one on disk".  Which could be usefull if you carry lots of programs around on a flash drive or something similar.
Title: Re: Executable Compressor
Post by: Michael on February 25, 2006, 08:21:44 pm
Interesting. Thanks for the info :). I will give it a try.

Best wishes,
Michael
Title: Re: Executable Compressor
Post by: MortenMacFly on February 25, 2006, 10:20:43 pm
It is a cool tool but of limited use.
I have a use for it: I'm using it to compress the tools on my rescue boot-floppy (1,44MB only). Thus more tools fit on it. There it is really of use. But generally I think you're completely right. For applications on a HDD it not really makes sense unless you are looking for the bundeled encryption feature for any reason.
Morten.
Title: Re: Executable Compressor
Post by: thomas on February 25, 2006, 10:47:36 pm
Hmm... do you know that a bootable 128MB USB stick costs like 15 Euros these days?   8)
Title: Re: Executable Compressor
Post by: nacitar on February 25, 2006, 10:55:56 pm
Glad some of you found it useful. :)
Title: Re: Executable Compressor
Post by: MortenMacFly on February 25, 2006, 11:04:44 pm
Hmm... do you know that a bootable 128MB USB stick costs like 15 Euros these days?   8)
Do you know that only new PC's can boot from an USB stick? :( :wink:
Title: Re: Executable Compressor
Post by: Vampyre_Dark on February 26, 2006, 08:20:37 am
Hmm... do you know that a bootable 128MB USB stick costs like 15 Euros these days?   8)
Do you know that only new PC's can boot from an USB stick? :( :wink:
But anything less than ten years old can boot from a CD. Trying to pack things on a floppy is like an exercise in suffering?  :o
Title: Re: Executable Compressor
Post by: polygon7 on February 26, 2006, 06:05:09 pm
I found this to be rather useful.... Check this thing out ;)  I put it in my tools menu for C::B.

http://upx.sourceforge.net/

Better than upx are MEW SE (http://www.softpedia.com/get/Programming/Packers-Crypters-Protectors/MEW-SE.shtml) and FSG 2.0 (http://www.xtreeme.prv.pl/)