X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=README;h=39f447842f6fef6e4e04d9765cc2ccdcd07dcaf0;hp=6542e251d5f03cdfeb1175dbc67ab5bf0a7da9d1;hb=e32babce0a18a34620630264857ad12fcad13d31;hpb=64f1e9b6bb2bb4d5b16240ae731bd8a84117cc98 diff --git a/README b/README index 6542e251..39f44784 100644 --- a/README +++ b/README @@ -6,6 +6,25 @@ files are normally created by using the `imagex.exe' utility on Windows, but this library provides a free implementetion of imagex for UNIX-based systems. + WIM FILES + +A Windows Imaging (WIM) file is an archive. Like some other archive formats +such as ZIP, files in WIM archives may be compressed. WIM archives support two +Microsoft-specific compression formats: LZX and XPRESS. Both are based on LZ77 +and Huffman encoding, and both are supported by wimlib. + +Unlike ZIP files, WIM files can contain multiple independent toplevel directory +trees known as images. While each image has its own metadata describing a +directory tree and file access modes, files are not duplicated for each image; +instead, each file is included only once in the entire WIM. Microsoft did this +so that in one WIM file, they could do things like have 5 different versions of +Windows that are almost exactly the same. + +Microsoft provides documentation for the WIM file format, XPRESS compression +format, and LZX compression format. The XPRESS documentation is acceptable, but +the LZX documentation is not entirely correct, and the WIM documentation itself +is very incomplete and is of unacceptable quality. + WINDOWS PE A major use for this library is to create customized images of Windows PE, the