http://upx.sourceforge.net/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
UPX Stable version 2.01 released !
-
gnozal
- PureBasic Expert

- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
UPX Stable version 2.01 released !
UPX Stable version 2.00 released !
Last edited by gnozal on Thu Jun 08, 2006 12:40 pm, edited 2 times in total.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- Joakim Christiansen
- Addict

- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:
lol, see their copyrigth!
Copyright (C) 1996-2006 Markus F.X.J. Oberhumer, László Molnár & John F. Reiser
But thanks for notifying me, UPX rocks!
Shouldn't that be written like this?: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
Copyright (C) 1996-2006 Markus F.X.J. Oberhumer, László Molnár & John F. Reiser
But thanks for notifying me, UPX rocks!
-
Killswitch
- Enthusiast

- Posts: 731
- Joined: Wed Apr 21, 2004 7:12 pm
- Joakim Christiansen
- Addict

- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:
Well, here is a simple GUI I made for it!
Don't think there are any bugs, but please report if you find them.
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
Last edited by Joakim Christiansen on Thu Jun 08, 2006 3:58 pm, edited 2 times in total.
- netmaestro
- PureBasic Bullfrog

- Posts: 8452
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
- netmaestro
- PureBasic Bullfrog

- Posts: 8452
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
- Joakim Christiansen
- Addict

- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:
Sorry, I was using it with "enable xp skin support" and then it works!netmaestro wrote: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.Don't think there are any bugs
But thanks, updated it now!
- netmaestro
- PureBasic Bullfrog

- Posts: 8452
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
-
gnozal
- PureBasic Expert

- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
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
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
Re: UPX Stable version 2.01 released !
kewl thx..
- np
- np