| language
Information, tips and tutorials for ZTree file manager
s_UPX
Compress executables with UPX
You can reduce ZTW.EXE and most EXE and DLL with free UPX, which especially good if you use executable from slow network or from USB flashdrives.There are two versions of UPX available: 2.03 (stable) and 2.92 (beta)
http://upx.sourceforge.net/
My experience is that 2.92 works fine.
Here some F9 scripts that works with version 2.92:
::UPX current executable :: Purpose: Reduce size of executable by compressing it :: Author: Laurent Duchastel :: Original author: Michael Kahn :: Contributors: n/a :: Version: 2007-02-15, v1.2 :: ZTW ver: 1.60.rc11 :: OS version: WinXP Pro SP2 FR :: Requires: UPX 2.92 or above :: Source: http://upx.sourceforge.net/ :: Usage: You may want to launch it with F9,Alt-X as the script uses :: high compression scheme. :: Note: If you want to compress ZTW.EXE while you launch from F9, you should do it on a copy :: because the original will be locked :: History: v1.2: Added two alternatives, changed default, changed command REM #ZTStart @ECHO OFF :: This is a strong compression with fast speed. (default) UPX.exe --lzma %1 ::This alternative setting test different compression scheme and select the optimal one :: (uncomment to enable) ::UPX.exe --brute %1 ::This ludicrous setting is the most optimal one. Compression will be terribly long as ::UPX will try 72 different methods, but you'll end with the smallest executable possible. :: (uncomment to enable) ::UPX.exe --ultra-brute %1
::deUPX current executable :: Purpose: Restore original file uncompressed. @ECHO OFF UPX.exe -d %1
Note that some executables found on the Web are delivred already packed. For instance Maxthon
Contributors to this page: laurent
and
admin
.
Page last modified on Sunday 25 of February, 2007 11:16:18 EST by laurent.
Category: Utilities and extensions
