Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Extracting Windows Icons from .exe [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
spindle
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 245

PostPosted: Fri May 27, 2005 5:32 pm    Post subject: Extracting Windows Icons from .exe [SOLVED] Reply with quote

Is there a way to extract the icon from a Windows .exe to use for a launcher in KDE, Gnome, etc?

Last edited by spindle on Fri May 27, 2005 6:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
rutski89
Guru
Guru


Joined: 14 Mar 2005
Posts: 468
Location: United States N.Y.

PostPosted: Fri May 27, 2005 5:36 pm    Post subject: Reply with quote

Yes, I'm pretty sure there is. I have a friend who knows exactly how to do it for sure, I'll get you guys in touch when he gets home. You might also want to know that if you try to "customize" an icon via "right-click --> properties" under windows you get a list of possiable immages that you can use for it. Those images have got to be stored somewhere, maybe even in as regular old .png file in the c:\Windows folder; I'd suggest scowering that while you wait.
_________________
<< ^ | ~ >>
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Fri May 27, 2005 5:39 pm    Post subject: Reply with quote

if that exe is an executeable cabinet file (i think so as it contains .ico files i guess), you can use the tool cabextract.
if that works you'll have a bunch of .ico files. you can convert those using icotool from the icoutils package ;)

cheers!
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
spindle
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 245

PostPosted: Fri May 27, 2005 6:04 pm    Post subject: Reply with quote

Thanks for the quick reply people. I've been trying the icotool and cabextract with no luck.

No valid cabinets found with cabextract.
Back to top
View user's profile Send private message
niskel
Guru
Guru


Joined: 17 Nov 2004
Posts: 457
Location: Fredericton, NB, Canada

PostPosted: Fri May 27, 2005 6:16 pm    Post subject: Reply with quote

If you have wine, you could try RESHack. It's a windows tool to do things just like this. It extracts .ico files, among other things, from .exe and .dll files.
Back to top
View user's profile Send private message
spindle
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 245

PostPosted: Fri May 27, 2005 6:36 pm    Post subject: Reply with quote

ResHack worked wonderfully. Thanks for all your help, people. And in record time too.

This is what I did,
Ran ResHack under wine to extract the .ico file. Then used icotool to convert to .png. Moved .png to ~/.icons. Then referenced it with my launcher.
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Sat May 28, 2005 4:27 pm    Post subject: Reply with quote

You can use the linux convert command also :-)
Code:
convert filename.ico filename.png

This copies out groups of icons and appends the number to the end of the png file.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum