Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Advanced GUI for UPX


  • Please log in to reply
12 replies to this topic
noutters
  • Members
  • 6 posts
  • Last active: Oct 25 2008 06:51 AM
  • Joined: 03 Jul 2006
I decided it was time to code a GUI for UPX (Ultimate Packer for eXecutables, http://upx.sourceforge.net/) when I wanted to compress all possible resources on my USB thumbdrive. I am lazy and did not want to recursively compress by hand the files in the directories of the drive :)

Posted Image

1. Drop files and directories in the list window. Directories and their sub-directories are searched recursively for files that match the filter.
:arrow: Cool feature: each file is tested for compression when the list is built and uncompressed resources only are checked. This gives the user a good overview of the state of the resources.

2. Compression/Decompression. All options of UPX 2.01 are available. Checking the radio control of decompress checks the compressed resources in the list and uncheck (of course) the non-compressed resources

3. Processing:
:arrow: Cool feature: The status bar shows the progression of the gain of storage space on your drive as the list is processed. Same with decompression, when the gain turns into a loss.
:arrow: Since the UPX process is completely hidden, the status bar indicates if UPX is active or not.

The script is a bit long to post on this post but feel free to ask if you need it or a compiled EXE.

Cheers! :shock:

not-logged-in-daonlyfreez
  • Guests
  • Last active:
  • Joined: --
looking good! :)

Please provide a download link if the script is too big to post.

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
If you need webspace to host your script, try https://ahknet.autohotkey.com

SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005

The script is a bit long to post on this post but feel free to ask if you need it or a compiled EXE.


Dear noutters, :)

I am awaiting eagerly for you to post the Code. :)
BTW, the GUI looks pretty good. :)

Regards, :)
kWo4Lk1.png

Thalon
  • Members
  • 641 posts
  • Last active: Jan 02 2017 12:17 PM
  • Joined: 12 Jul 2005
Sounds very fine!
Want to have it too :D

Thalon

corrupt
  • Members
  • 2558 posts
  • Last active: Nov 01 2014 03:23 PM
  • Joined: 29 Dec 2004
where's the beef :?: :lol:

Drone
  • Guests
  • Last active:
  • Joined: --
The screen seems to be interesting.
That's the only thing that is interesting.
Where is the code, or at least the exe ?
Without significance topic. Delete it or provide some meat !

noutters
  • Members
  • 6 posts
  • Last active: Oct 25 2008 06:51 AM
  • Joined: 03 Jul 2006
Nice to see people like it.
I hadn't posted the code since I have been working on an update.
Here it is!

Posted Image

The main addition is the total gain after compression that appears in the status bar.
The source is posted at https://ahknet.autoh...ers/UPX_GUI.ahk

Enjoy.

SKAN
  • Administrators
  • 9115 posts
  • Last active:
  • Joined: 26 Dec 2005
* Edited *

I am yet to test it .. will revert back soon.

Regards, :)
kWo4Lk1.png

evl
  • Members
  • 1237 posts
  • Last active: Oct 20 2010 11:41 AM
  • Joined: 24 Aug 2005
Nice script but I seem to have found a problem: If there are spaces in the path to the files to compress, then running upx fails (I guess it just needs some quotation marks around a path somewhere).

noutters
  • Members
  • 6 posts
  • Last active: Oct 25 2008 06:51 AM
  • Joined: 03 Jul 2006

Nice script but I seem to have found a problem: If there are spaces in the path to the files to compress, then running upx fails (I guess it just needs some quotation marks around a path somewhere).


Thanks for the comment. The source has been changed accordingly.

Drone
  • Guests
  • Last active:
  • Joined: --
The app is very usefull. The post too !!!
With significance topic !!! Keep the good work

  • Guests
  • Last active:
  • Joined: --
Could someone please provide a link to a compiled EXE?
I'm sorry, but I have no idea what to do with the source code.
Thanks.