XComp/XPack PE32-imagefile packer and/or rebuilder
Table of contents
1. Welcome
XComp and XPack are PE32-imagefile ('.dll' or '.exe') packer and rebuilder.
In using the software, the user agrees to indemnify and hold harmless the
author and software from any damages incurred, whether real or imagined.
No guarentees are given or implied the software will run under any circumstance
and/or on any machine.
- Rebuilder functionality
- strip debug data
- strip relocations
- strip export information
- change MZ-stubfile
- change file alignment
- change imagebase
- merge sections
- Packer functionality
- two compression algorithms
- resource packing
- loader section naming
- Packer features
- a missing library produce a message like 'xyz.dll not found'.
- a runnable MZ-exe stubfile.
- possibility to use 'in place' compression.
- Download
2. Archive content
The eXe Compressor XComp:
- XCompc.exe - console version
- XCompw.exe - gui version
and the eXe Packer XPack:
- XPackc.exe - console version
- XPackw.exe - gui version
both packers use the compression-DLLs:
- Xlzma.dll - LZMA compression
- Xlzss.dll - LZSS compression
3. Installation
- Copy the files ('*.exe' and '*.dll') into a directory of your choice.
- To start the executables use the explorer or a console window.
- If you like create a link in the 'SendTo' directory.
4. Specifications
- Requirements
- These packers neads at least Win95 or NT4. The GUI version is best viewed with installed verdana fontset.
- System memory:
- Win95/98/ME - 64 MByte
- NT/2K/XP - 128 MByte (swapfilesize >= 384 MByte)
- Minimal screen resolution:
- 800 x 600 - GUI version
- 640 x 480 - console version
- Limitations
- Maximal imagefilesize: 20 MByte
- Packed files can't run on Win32s (running with NT/2K/XP/Vista and Win95/98/ME)
- Static TLS with callbacks is not supported
5. Compression results
Imagesize:
XComp and XPack are nearly identical, but XComp uses a 'in place' packing.
The compressed data is placed at there original location. XPack concatenates
this data at the end of the newly created packed file. This exceeds the filesize
in memory (Imagesize).
IMAGESIZE
| LZMA compression
| LZSS compression
|
filename
| imagesize
| XComp 0.98
| XPack 0.98
| UPack 0.399
| PEC 2.78
| MEW11 1.2
| XComp 0.98
| XPack 0.98
| UPX 2.0
| PETITE 2.3
| FSG 2.0
|
Firefox 1.07
| 6 729 728
| 6 733 824
| 9 146 368
| 9 273 344
| 6 766 592
| 9 383 936
| 6 733 824
| 9 572 352
| 6 823 936
| 6 762 496
| 9 990 144
|
ResHacker 3.4
| 905 216
| 909 312
| 1 200 128
| 1 245 184
| 917 504
| 1 282 048
| 909 312
| 1 236 992
| 925 696
| 909 312
| 1 298 432
|
Filesize:
FILESIZE
| LZMA compression
| LZSS compression
|
filename
| filesize
| XComp 0.98
| XPack 0.98
| UPack 0.399
| PEC 2.78
| MEW11 1.2
| XComp 0.98
| XPack 0.98
| UPX 2.0
| PETITE 2.3
| FSG 2.0
|
Firefox 1.07
| 6 637 161
| 2 444 470
| 2 444 698
| 2 456 420
| 2 467 840
| 2 536 301
| 2 872 102
| 2 872 220
| 2 798 592
| 2 981 119
| 3 254 381
|
ResHacker 3.4
| 881 664
| 302 344
| 302 200
| 297 356
| 305 664
| 307 759
| 336 760
| 336 648
| 328 192
| 341 767
| 387 749
|
Used parameters:
- XComp/XPack: -e
- UPack: -set -srt
- PECompact: /Cl:9 /Dt:Small /Asd:No /Sf:Yes /Ri:No /Ch:pec2codec_lzma2.dll /Lh:pec2ldr_reduced.dll
- MEW11:
Delete unimportant resources, Win9x compatibility, Use LZMA algorithm
too, Special LZMA (E8\E9), Strip relocs, Strip DELPHI resources
-
UPX: --best
- PETITE: -9 -r** -v0
- FSG: no params
6. Contact