topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday March 19, 2024, 3:47 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Advanced GUI for UPX  (Read 12776 times)

noutters

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 32
    • View Profile
    • Donate to Member
Advanced GUI for UPX
« on: November 16, 2006, 03:22 AM »
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  :)

http://img226.imageshack.us/img226/7889/upxgui20060719bc3.png
Advanced GUI for UPX


1. Drop files and directories in the list window. Directories and their sub-directories are searched recursively for files that match the filter.
-> 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:
-> 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.
-> Since the UPX process is completely hidden, the status bar indicates if UPX is active or not.

The source is posted at http://autohotkey.net/~noutters/UPX_GUI.ahk

Cheers!   :D
« Last Edit: November 16, 2006, 04:19 AM by noutters »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Advanced GUI for UPX
« Reply #1 on: November 16, 2006, 10:41 AM »
beautiful - you have seriously mastered the ahk gui it seems!  :up:

Dr-Leech

  • Member
  • Joined in 2006
  • **
  • Posts: 151
  • Psychedelic Coder
    • View Profile
    • site
    • Donate to Member
Re: Advanced GUI for UPX
« Reply #2 on: November 22, 2006, 09:03 AM »
that's really great..

thanks!

Cavalcader

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 194
  • Live Long & Prosper
    • View Profile
    • Donate to Member
Re: Advanced GUI for UPX
« Reply #3 on: November 23, 2006, 09:09 PM »
Looks very nice! 8):up:
My Linguistic Profile:
  40% General American English
  30% Yankee
  20% Dixie

What Kind of American English Do You Speak?

Cynic

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 32
    • View Profile
    • Donate to Member
Re: Advanced GUI for UPX
« Reply #4 on: November 25, 2006, 02:57 PM »
Could someone please provide a link to an .exe file?
I don't know what to do with the source code.

Thanks.

Cavalcader

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 194
  • Live Long & Prosper
    • View Profile
    • Donate to Member
Re: Advanced GUI for UPX
« Reply #5 on: November 25, 2006, 04:00 PM »
I don't know what to do with the source code.
Good point. If you go to www.autohotkey.com you can download the program that lets you run the .AHK files, and it can also convert them to executables.
My Linguistic Profile:
  40% General American English
  30% Yankee
  20% Dixie

What Kind of American English Do You Speak?
« Last Edit: November 25, 2006, 04:03 PM by Cavalcader »

Cynic

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 32
    • View Profile
    • Donate to Member
Re: Advanced GUI for UPX
« Reply #6 on: November 25, 2006, 08:36 PM »
Thanks, I'll look into it.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Advanced GUI for UPX
« Reply #7 on: November 26, 2006, 02:37 AM »
just to help encourage you - it's realllllly easy to build a standalone .exe from an .ahk script once you install autohotkey, you can just right click on an .ahk in your file explorer and say "make exe".  and having autohotkey installed is nice because then you can customize your script, etc.

Cynic

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 32
    • View Profile
    • Donate to Member
Re: Advanced GUI for UPX
« Reply #8 on: November 27, 2006, 04:24 AM »
Indeed it is, I had already made the .exe but forgot to post here letting you know.
Thanks again.