Next Previous Contents

5. extresso

Usage:

extresso [OPTIONS]... [FILE]...

The extresso program reads resource scripts, and uses wrestool to extract the listed resources and icotool to convert them (if necessary).

5.1 Command line options

-o, --output=DIR

Where to place extracted files (default `.').

--format=FORMAT

Extraction format of icon resources, passed to icotool.

-b, --base=DIR

Base directory of local files in scripts. (This will be appended to the "file" lines in the scripts.)

-i, --interactive

Prompt before extraction.

-v, --verbose

Explain what is being done.

--help

Display a help message and exit.

--version

Output version information and exit.

5.2 Examples

Extract all resources from "shell32.dll" using the resource script "win98_shell32", assuming Windows 98 is available in "/mnt/C/windows", and placing output in "out/":

$ extresso ../data/resscripts/win98_shell32 --base=/mnt/C/windows --output=out/
$ find out/ -type f | wc -l
339
$

5.3 Resource Scripts

This section needs to be written. For now, I recommend you take a look at the included resource scripts.

5.4 genresscript

The genresscript program takes any number of Windows binaries, and outputs a resource script with all resources from the binaries listed. (Everything but the destination filename will be filled in in the script.)

This is useful when you already have extracted images and want to create a resource script of them.


Next Previous Contents