Use the DDS format insteat of PCX, BMP or TGA.

Otherwise, for a simple filepacker, look here:
http://www.opserver.de/ubb7/ubbthreads.p...true#Post161376


no science involved