Page 1 of 1

UPX Stable version 2.01 released !

Posted: Fri Apr 28, 2006 8:46 am
by gnozal
UPX Stable version 2.00 released !
The main news in version 2 are:
new format: added support for arm/pe (ARM executables running on WinCE)
new format: added support for linux elf/amd64
new format: added support for linux elf/ppc32
new format: added support for mach/ppc32 (Apple Mac OS X)
new format: added support for bootable Linux kernels ("vmlinuz/386")
new format: added support for Playstation exes ("ps1/exe")
slightly better compression using the new NRV2E algorithm
new options for compression tuning (e.g. '--brute')
improved win32/pe compatibility
direct ELF-to-memory decompression
various bug fixes
http://upx.sourceforge.net/

Posted: Fri Apr 28, 2006 9:45 am
by va!n
coool ^^ thanks for the info...
still thought they will never bring an update (i mean final release ;)

Posted: Fri Apr 28, 2006 11:15 am
by Joakim Christiansen
lol, see their copyrigth!
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Markus F.X.J. Oberhumer, László Molnár & John F. Reiser
Shouldn't that be written like this?:
Copyright (C) 1996-2006 Markus F.X.J. Oberhumer, László Molnár & John F. Reiser

But thanks for notifying me, UPX rocks! :D

Posted: Fri Apr 28, 2006 11:36 am
by Killswitch
I think (under British Copyright law) you have to specify every single year you worked on/altered the source.

Posted: Fri Apr 28, 2006 1:12 pm
by Joakim Christiansen
Well, here is a simple GUI I made for it!
Don't think there are any bugs, but please report if you find them.

Code: Select all

Enumeration ;-Enumerate gadgets
  #Path
  #Browse
  #Level
  #Compress
EndEnumeration

LoadFont(0,"Arial",8,#PB_Font_Bold)

;-Open window
OpenWindow(0,#False,#False,250,55,"JLC's UPX GUI v1.0",#PB_Window_SystemMenu|#PB_Window_ScreenCentered)
CreateGadgetList(WindowID(0))

SetGadgetFont(TextGadget(#PB_Any,5,5,25,20,"EXE:"),FontID(0))
StringGadget(#Path,30,5,150,20,"")
ButtonGadget(#Browse,185,5,60,20,"Browse")

SetGadgetFont(TextGadget(#PB_Any,5,30,120,20,"Compression level:"),FontID(0))
ComboBoxGadget(#Level,120,30,60,200)
ButtonGadget(#Compress,185,30,60,20,"Compress")

;-Add levels
For Level=1 To 9
  AddGadgetItem(#Level,-1,"Level "+Str(Level))
Next
AddGadgetItem(#Level,-1,"Best")
AddGadgetItem(#Level,-1,"Insane")
SetGadgetState(#Level,9)

Repeat
  WindowEvent = WaitWindowEvent()
  Select WindowEvent
    Case #PB_Event_Gadget
      Select EventGadget()
        Case #Browse ;-Browse
          SetGadgetText(#Path,OpenFileRequester("Select executable:","","Executable (*.exe)|*.exe",0))
        Case #Compress ;-Compress
          If GetGadgetText(#Path) > "" And FileSize(GetGadgetText(#Path)) > 0
            Select GetGadgetState(#Level)
              Case 0 To 8
                Parameter$ = "-"+Str(GetGadgetState(#Level)+1)+" "
              Case 9
                Parameter$ = "--best "
              Case 10
                Parameter$ = "--brute "
            EndSelect
            OldSize = FileSize(GetGadgetText(#Path))
            If RunProgram("upx.exe",Parameter$+Chr(34)+GetGadgetText(#Path)+Chr(34),"",#PB_Program_Wait)
              If Oldsize = FileSize(GetGadgetText(#Path))
                MessageRequester("Warning","File was not compressed, maybe it's allready compressed?",#MB_ICONWARNING)
              Else
                MessageRequester("Done","Old size: "+Str(OldSize)+#CRLF$+"New size: "+Str(FileSize(GetGadgetText(#Path))),#MB_ICONINFORMATION) 
              EndIf
            Else
              MessageRequester("Warning","Can't open UPX, the UPX executable must be in the same directory as JLC's UPX GUI!",#MB_ICONWARNING)
            EndIf
          Else
            MessageRequester("Error","No file selected!",#MB_ICONWARNING)
          EndIf
      EndSelect
  EndSelect
Until WindowEvent = #PB_Event_CloseWindow

Posted: Fri Apr 28, 2006 2:15 pm
by Inf0Byt3
@Gnozal
Thanks. Any plans of a new PureUPX version?

Posted: Fri Apr 28, 2006 2:23 pm
by netmaestro
Don't think there are any bugs
Really asking for it, eh? Good job! Works well except I found a bug. The dropdown only shows "Best" for me, clicking the downarrow doesn't give any more options. :twisted:

Posted: Fri Apr 28, 2006 2:26 pm
by netmaestro
You need:

Code: Select all

ComboBoxGadget(#Level,120,30,60,200) 

Posted: Fri Apr 28, 2006 2:40 pm
by gnozal
Inf0Byt3 wrote:@Gnozal
Thanks. Any plans of a new PureUPX version?
Yes, I will release a new version.

Posted: Fri Apr 28, 2006 2:46 pm
by Joakim Christiansen
netmaestro wrote:
Don't think there are any bugs
Really asking for it, eh? Good job! Works well except I found a bug. The dropdown only shows "Best" for me, clicking the downarrow doesn't give any more options. :twisted:
Sorry, I was using it with "enable xp skin support" and then it works!
But thanks, updated it now!

Posted: Fri Apr 28, 2006 2:52 pm
by netmaestro
That's the stuff that makes programming fun, eh? I guess it pulls the control from a different library for the skin support and it works slightly different.

Posted: Sun Apr 30, 2006 7:12 pm
by KarLKoX
Sweet :D

Posted: Thu Jun 08, 2006 12:38 pm
by gnozal
UPX 2.01 has been released.
The main news in version 2 are:

* new format: added support for arm/pe (ARM executables running on WinCE)
* new format: added support for linux elf/amd64
* new format: added support for linux elf/ppc32
* new format: added support for mach/ppc32 (Apple Mac OS X)
* new format: added support for bootable Linux kernels ("vmlinuz/386")
* new format: added support for Playstation exes ("ps1/exe")
* slightly better compression using the new NRV2E algorithm
* new options for compression tuning (e.g. '--brute')
* improved win32/pe compatibility
* direct ELF-to-memory decompression
* various bug fixes

Re: UPX Stable version 2.01 released !

Posted: Thu Jun 08, 2006 2:17 pm
by NoahPhense
kewl thx..

- np