Page 1 of 1

Tip for squeezing exe and sys files

Posted: Tue Apr 19, 2005 12:07 am
by vaceituno
I assume some people use the 2.88 option to add custom images to the UBCD.

Many DOS programs are not compressed, or compressed with unefficient EXE compressors.

I normally use UNP.EXE by Ben Castricum to decompress them and WWPACK to compress EXE files.

COM files can sometimes be compressed converting them into EXE files first with BIN2EXE, then WWPACK them

SYS drivers can be compressed sometimes using PKLITE

Sometimes the compression breaks the program, you have to check for problems after compression. LZEXE is good too.

I hope to save someone some bytes with this tip :)

(WWPACK 3.05 gives me grief, I use an earlier version)

Posted: Wed Apr 20, 2005 9:49 pm
by Scott Cooper
I'd rather upgrade the image size than do that, but it's an intresting way to do it.

Posted: Wed Apr 20, 2005 11:39 pm
by vaceituno
Well, it can come handy when you are off by a few bytes, or you want to be able to dump the image on a floppy for some reason.