---
name: "genresscript"
section: "1"
platform: "linux"
package: "icoutils"
version: "0.32.3-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/genresscript"
---

# genresscript(1)

generate resource script from PE and NE binaries

## NAME

genresscript - generate resource script from PE and NE binaries

## SYNOPSIS

**genresscript** \[*FILE*\]...

## DESCRIPTION

This manual page documents briefly the **genresscript** command. This manual page was written for the Debian GNU distribution because the original program does not have a manual page.

Genresscript takes any number of PE or NE 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.

## OPTIONS

- **-t**

  - **--type=ID**

  list resources of this type instead of group\_icon

- **-b**

  - **--base=PATH**

  the default extraction name of all resources

- **-s**

  - **--sort**

  sort alphabetically instead of using order in binary

- **--help**

  display this help and exit

- **--version**

  output version information and exit

## SEE ALSO

[**extresso**(1)](/extresso/1.md), [**icotool**(1)](/icotool/1.md), [**wrestool**(1)](/wrestool/1.md).

## AUTHOR

This manual page was written by Colin Watson \<cjwatson@debian.org\> and Oskar Liljeblad \<oskar@osk.mine.nu\>.

## COPYRIGHT

Copyright © 2001 Colin Watson

Copyright © 2001 Oskar Liljeblad

This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
