The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: jj2007 on January 11, 2010, 03:50:56 PM

Title: Comments on QE Version 4.0d Update.
Post by: jj2007 on January 11, 2010, 03:50:56 PM
Quote from: hutch-- on January 11, 2010, 08:44:44 AM
even compressed it was hitting around 64k which is bigger on disk than I want

36,864 richmasm.exe
38,560 qeditor.exe

You should use a better compressor, my friend :toothy
Title: Re: QE Version 4.0d Update.
Post by: hutch-- on January 11, 2010, 10:33:21 PM
 :bg

Put a menu and toolbar in and watch it grow.  :P
Title: Re: QE Version 4.0d Update.
Post by: jj2007 on January 12, 2010, 12:07:42 AM
Quote from: hutch-- on January 11, 2010, 10:33:21 PM
:bg

Put a menu and toolbar in and watch it grow.  :P

I do have menus, actually. Re toolbar, can't be that much - store them as png and create the bmps on the fly with my brand new almost universal ImgConverter...
Title: Re: QE Version 4.0d Update.
Post by: hutch-- on January 12, 2010, 12:27:20 AM
Been there, done that, Ernie Murphy's masm32 lib module and Thomas Bleeker's PNG lib,both worked well but they interfere with the PEcompact compression I use for QE and blow the size out.

I have attached the doomsday_book icon for you in 3 resolutions, 48x48, 32x32 + 16x16 in rgb/a as you liked the toolbar button for Open I used.
Title: Re: QE Version 4.0d Update.
Post by: jj2007 on January 12, 2010, 12:53:14 AM
Quote from: hutch-- on January 12, 2010, 12:27:20 AM
Been there, done that, Ernie Murphy's masm32 lib module and Thomas Bleeker's PNG lib,both worked well but they interfere with the PEcompact compression I use for QE and blow the size out.

I have attached the doomsday_book icon for you in 3 resolutions, 48x48, 32x32 + 16x16 in rgb/a as you liked the toolbar button for Open I used.

> they interfere with the PEcompact compression
Shouldn't happen with the GdiPlus stuff attached above - it is just API calls. Or do I miss something?

UPX gives me slightly better results than PeCompact. It is also by far the most widely used packer, which means the AV vendors know how to decompress it, and false positives are less frequent.

Thanks for the icon, looks really cute.

Title: Re: QE Version 4.0d Update.
Post by: hutch-- on January 12, 2010, 01:30:42 AM
I gave up on UPX over 10 years ago with its GPL bullsh*t about owning the rights to the executable in compressed. PEcompact is DEP safe and offers you a choice of algos to use for compression, I use a combined JIBZ, Collake algo that has always beaten UPX. Its no particular joy to use from the command line but it gives yuou a range of options that few others have and it cannot be auto-unpacked like UPX.

An appallingly stupid design where a virus writer can unpack your exe, hack and infect it then repack it with UPX. Would not touch it with a barge pole.