pe: fined grain control over resource compression

This commit is contained in:
László Molnár
2006-05-18 15:20:37 +02:00
parent 9a3b7a4f3f
commit 3dfe0ad478
7 changed files with 129 additions and 8 deletions
+16
View File
@@ -870,6 +870,22 @@ Extra options available for this executable format:
--compress-resources=0 Don't compress any resources at all.
--keep-resource=list Don't compress resources specified by the list.
The members of the list are separated by commas.
A list member has the following format: I<type[/name]>.
I<Type> is the type of the resource. Standard types
must be specified as decimal numbers, user types can be
specified by decimal IDs or strings. I<Name> is the
identifier of the resource. It can be a decimal number
or a string. For example:
--keep-resource=2/MYBITMAP,5,6/12345
UPX won't compress the named bitmap resource "MYBITMAP",
it leaves every dialog (5) resource uncompressed, and
it won't touch the string table resource with identifier
12345.
--force Force compression even when there is an
unexpected value in a header field.
Use with care.