Linux short tip: Extract icons from exe files

Friday, August 1. 2008, 02:23
Recently I was asked by a friend for a linux tool to extract ressources from windows exe files, especially icons. He used a windows tool in wine till then.

I said that this shouldn't be so hard and already started writing my own parser (I came to the point where I could extract headers and content separately), when I found that there already is an appropriate tool called wrestool. It's part of the icoutils package.

wrestool -o . -x filename.exe
will extract all ressources (icons, cursors etc.) to the current directory.

Trackbacks

No Trackbacks

Comments
Display comments as (Linear | Threaded)

I noticed that Wine can do this when you install an application, but until now I have been looking for a way to extract icons from programs that don't have installers. You have answered my question also. Thank you for the tip :)
#1 Draino (Link) on 2008-08-02 04:25 (Reply)
This tip helps.
BTW the command should be "wrestool -o . -x filename.exe".
#2 DannyLi on 2008-08-02 08:39 (Reply)

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.