View Full Version : *UPX* <Real Time Compreson Tools For *.EXE And *.DLL>All ARM/WINCE Platform May 7TH



sajib
7th May 2006, 13:09
*UPX*-the Ultimate Packer for eXecutables


So First Of all I Need To Give a introduction of that software...

Its not a PPC software neighter it's Smartphone software...It's a Windows (PC) based software...Then what the hell it is doing here in Pocket Pc Forum??...Its the next question i know...So here goes answer and it's usability in PPC And Smartphone (Not Palm)...with a short discription...

*its a compression software...it does compress ur *.exe files and *.DLL files...

*But unlike *.RAR OR *.ZIP it doesn't change ur file extention to .ZIP OR so on...It Keep the Extantion to the same....

*And unlike rar and zip it doesnt need the supporting software to unzip or exacute (here the software means that can open a zip or rar files)...it exacute as usual u double clck it...normal operation behavior...

*The think u have to do is to compress the *.exe and *.dll files for once and leave it there foreever....after that use it as usual...here u people may think of some existent software (like free space for win98..or zip2000 by fixit utillity..etc)which may do the same thing....but the diffrence beetween those software and this is...

1)Those software needed to be intalled in every pc where u want to use those compressed files u made by them...but for UPX you dont need to install it in every pc...just compress in any pc and use it in everywhere....

2)Those software first decompress the files automatically then exacute the files to treat as they where uncompressed(that means taking a longer time for uncompress and also need the extra space for compression and uncompression process)...BUT UPX exacute the files in its COMPRESSED STAGE thus it require less time to EXACUTE and by the time it also take less space in ur HDD...

USE OF THIS SOFTWARE IN PPC AND SMARTPHONE:

Now came to the business after that long bla..bla..bla...

as the recent release of this software (v2.0) does support ARM/WIN CE platform...so here the opportunity to use it in PPC...

THE THINK YOU HAVE TO DO:

1.Download the software...
2.Unzip it.
3.Just copy the *.EXE And *.DLL files to ur PC from ur PPC that u want to compress
4.Compress those files by this software..{It use dos command to compress files (Though i also attached a third party software with has suppot for GUI)}
5.copy back the compressed files (exe,dll)to ur ppc and overight the existant uncompressed files..

Thats it..

u can now use those programs and dll as usual...no further software required in ur PPC OR Smartphone to use them...

ADVANTAGES

1)It can compress files to a amazing lavel...(as an example opera.dll files which is around 5 MB can be compressed to round 1 MB!!!then the game sybarian strike X the *.exe file of this game is 400kb and after compression its just 129kb!!! )

2)It take a noticable less time to load (yes boss less time then of the uncompressed one!!!)...for both opera for ppc and the game i mentioned...

3)You dont have to think about installing any program to do that same thing (like swell disk 300)..and more important think is u can share the compressed file with anyone...with out waring abt shareing the compresson software!!

4)the files is backward and forward compatible...means u can use it in desktop as well as PPC or any other platform which has arm processor or minimun x386 processor...with operatng system Included wince...windows...dos...linux..macos...(But not symbian os and Palm OS)..and everywhere u can treat it as a normal uncompressed file (as it doesnt need any supporting software to run)

DISADVANTAGES

1)sometimes it behave odd (gragical representation) in VGA devices...

2)It Takes the same amount of ram to load sometimes a bit more...as it did to load a uncompressed file...

That all no other disadvantages found by me...

Now i dont' think every bit of the whole process is clear to everyone...specialy whome are not familiar bit this software...dos command..and noob..

But here i am...you can ask me any question regarding the whole process..i will answer them with joy (as much as i know abt them)...

PS:The whole article!! is writen by me (as i didnt get any good article abt the whole process and so on)so there may have a lot of mistakes(not including spelling and language mistakes!!)...please feel free to correct them...

Thanks..

Finally if you think the post we the poster made are usefull to you then do show ur respect by pressing the REPUTATION BUTTON NOT BY FLOODING THE BOARD WITH THANK YOU REPLY....

Prerna
8th May 2006, 15:16
Hi, sounds real good. But does PPCs allow to rewrite *.dll files? Where do we find them usually?

sajib
8th May 2006, 20:40
Hi, sounds real good. But does PPCs allow to rewrite *.dll files? Where do we find them usually?


Yes...But not the files in ROM...which is not rewritable but if you put any file with the same name then the file will be just hidden by the new file (so if you delete the new file then the file 4m rom will get the place again)..so practicaly you can't shrink the rom's files....

but you can shrink any other dll and exe and plg (also supported which is kind of a dll file though) files... in phone memory...storage...and storage card...

just copy those files 4m ur PPC to pc>use the software to compress them in ur pc then>copy back those file in ur ppc again.

shrinking those file will not only save ur valuable space in phone but will also load the files faster (practically proven)....so i think it is a must have software for all the advanced PPC users....

YOU USE IT AND FILL THE DIFFRENCE BY URSELF

Thanks

PS:Not all the software will be usable after the compression (though only a few in this unsupported list )...such as Spirit Backup (exe file is compressable but dll file is not)
Sktools will also be unusable after compression....And all the .net software is not compressable...

Prerna
9th May 2006, 10:37
Many thanks for your explanations. The whole thing sounds good to me. I'll soon give it a try.

sajib
15th August 2006, 15:10
Hello guys...

Here The New Version Of UPX V2.02 And it has a lot of improvement over the previous version specially for PPC Platform....

Version History....

Changes in 2.02 (13 Aug 2006):
* linux/ppc32, mach/ppc32: compressed programs now work on a 405 CPU
* vmlinuz/386: fixed zlib uncompression problem on dos

Changes in 2.01 (06 Jun 2006):
* arm/pe: better DLL support
* dos/exe: device driver support added
* linux/386: Fix --force-execve for PaX, grSecurity, and strict SELinux.
/tmp must support execve(); therefore /tmp cannot be mounted 'noexec'.
* win32/pe & arm/pe: added new option '--keep-resource=' for
excluding selected resources from compression


and also Attached the GUI UPX for easy compression/decompression in GUI Mode rather then in DOS mode...

Finally the same upx for PPC Platform...that means now you can do compression and decompression within ur PPC so from now on using a seperate pc is not neccessery....

[Only registered and activated users can see links]

• Summary: UPX4PPC is an application for you to compress EXE files. This program provides the GUI for working with UPX for compressing EXE files on the Pocket PC. You can save KBs or even MBs of memory by compressing the EXE files in your main memory or Storage Card.

Thanks....

suburbian69
15th August 2006, 16:24
Sounds interesting...

...yep, seems to do exactly what it says on the tin.

Now that I've compressed Skype.exe, Skype's icon is displayed in the "Start Menu" and the "Programs" folder without the usual 10 second delay, so for that reason alone it's worth using UPX!

Thanks for the post.

sajib
15th August 2006, 21:26
Sounds interesting...

...yep, seems to do exactly what it says on the tin.

Now that I've compressed Skype.exe, Skype's icon is displayed in the "Start Menu" and the "Programs" folder without the usual 10 second delay, so for that reason alone it's worth using UPX!

Thanks for the post.


So u also noticed it....i think not only that after a restart of ppc if u go to the programs folder then the programs icon will shown up faster then anytime before even if it stored in storage memory of sd card.....

what do u think guys?? need some feedback abt speed improvement over larger softwares....

thanks

nitish0991
16th August 2006, 10:48
So u also noticed it....i think not only that after a restart of ppc if u go to the programs folder then the programs icon will shown up faster then anytime before even if it stored in storage memory of sd card.....

what do u think guys?? need some feedback abt speed improvement over larger softwares....

thanks

There would be no or little improvement in speed but
Files Would be compressed and RAM utilisation would be lesser or equal to that of uncompressed file
The Best thing is it compresses and saves Disk Space .

I compressed Opera - 4.5MB to 1.87MB
Rayman - 847 kb to 311 kb

i also compressed a lot of other files to save about 75 % disk space
and that totals about 15 MB of space ,
so i get to store more on my pocketpc RAM

suburbian69
16th August 2006, 11:27
There is a definite speed improvement in certain circumstances. Such as the one I mentioned earlier. WM5 sometimes struggles to find program icons that are buried within large .exe files. Skype being the most common culprit.

This means that the first time your device displays the Skype icon, the system hangs for 5~10 seconds whilst it looks for the icon 'inside' Skype.exe. After the first display of the icon it's held in a cache, so it takes very little time to load a second, third fourth time, etc.

However, after compressing Skype.exe to a smaller size, the system has no problems finding and displaying the icon instantly the first time it's displayed, which means no more hanging the first time you open a folder (or menu) that contains the Skype icon.

This is also true for other programs (Bejewelled 2, for instance).

Malatesta
16th August 2006, 20:22
I've been using UPX for about 2 months now (before a lot of us were manually copying back and forth the files and using the standard version).

I've compressed just about everything and yes, it greatly speeds up all your progams as well as save space. You can even do most Today Plugins (found under \windows, usually .dlls).

JUSTER
11th September 2006, 13:43
Hi guys,

found this UPX4PPC version 0.3.1
upx is v 2.0

brgrds.

emariu
19th September 2006, 23:21
0.3.2 is out [Only registered and activated users can see links]

sajib
20th September 2006, 10:25
0.3.2 is out [Only registered and activated users can see links]

Thanks For the info mate....

im uploading this version here for everyone's comfort...

SaJiB