UPX compress the main executable?
Posted: 03 Nov 2006 12:50
This isn't really a wish, just a random "out-there" thought.
Have you considered using UPX to compress the main executeable? I've just had a bash at doing just that. I used the following command upx *.* --brute --nrv2d -k (nice and lazy) to compress xyplorer_5.20.0060 from 1.92 MB (2,011,136 bytes) to 616.00 KB (630,784 bytes).
Even if you cba to do this for every beta (understandable perhaps), it may be worth doing it for the main releases?
Everything still appears to work, and it even makes the ZIP file download a couple of hundred KB smaller. I haven't done any benchmarking yet to see if it's slower or even faster, but I'm sure you'd be able to do that better than anyone Don.
Notes:
-k creates a backup of the original files it's compressing.
--brute does multiple pass compressing to find the best method of compressing the executable, but is the slowest.
XYplorer.exe [ver 5.20.0064] - 1.92 MB (2,017,280 bytes) --> 617.50 KB (632,320 bytes)
XYplorer.exe [ver 5.40.0000] - 1.93 MB (2,020,352 bytes) --> 618.50 KB (633,344 bytes)
XYplorer.exe [ver 5.40.0001] - 1.93 MB (2,022,400 bytes) --> 618.50 KB (633,344 bytes)
XYplorer.exe [ver 5.40.0002] - 1.93 MB (2,022,912 bytes) --> 619.00 KB (633,856 bytes)
XYplorer.exe [ver 5.40.00.06] - 1.94 MB (2,035,200 bytes) --> 621.00 KB (635,904 bytes)
XYplorer.exe [ver 5.40.00.08] - 1.94 MB (2,038,272 bytes) --> 622.00 KB (636,928 bytes)
Have you considered using UPX to compress the main executeable? I've just had a bash at doing just that. I used the following command upx *.* --brute --nrv2d -k (nice and lazy) to compress xyplorer_5.20.0060 from 1.92 MB (2,011,136 bytes) to 616.00 KB (630,784 bytes).
Even if you cba to do this for every beta (understandable perhaps), it may be worth doing it for the main releases?
Everything still appears to work, and it even makes the ZIP file download a couple of hundred KB smaller. I haven't done any benchmarking yet to see if it's slower or even faster, but I'm sure you'd be able to do that better than anyone Don.
Notes:
-k creates a backup of the original files it's compressing.
--brute does multiple pass compressing to find the best method of compressing the executable, but is the slowest.
XYplorer.exe [ver 5.20.0064] - 1.92 MB (2,017,280 bytes) --> 617.50 KB (632,320 bytes)
XYplorer.exe [ver 5.40.0000] - 1.93 MB (2,020,352 bytes) --> 618.50 KB (633,344 bytes)
XYplorer.exe [ver 5.40.0001] - 1.93 MB (2,022,400 bytes) --> 618.50 KB (633,344 bytes)
XYplorer.exe [ver 5.40.0002] - 1.93 MB (2,022,912 bytes) --> 619.00 KB (633,856 bytes)
XYplorer.exe [ver 5.40.00.06] - 1.94 MB (2,035,200 bytes) --> 621.00 KB (635,904 bytes)
XYplorer.exe [ver 5.40.00.08] - 1.94 MB (2,038,272 bytes) --> 622.00 KB (636,928 bytes)