You are here

Custom icons through resource editor?

6 posts / 0 new
Last post
cristoslc
Offline
Last seen: 12 years 11 months ago
Joined: 2008-10-23 13:04
Custom icons through resource editor?

I was attempting to use XN Resource Editor (http://www.wilsonc.demon.co.uk/d10resourceeditor.htm) to modify the icon for the Portable Firefox 3.5b4 app on my local machine. I was able to embed a new icon group, and delete the old group, using XN Resource Editor. Unfortunately, the program would not launch afterwards (NSIS error, "Installer integrity check failed").

In Windows 7 (when you have it showing "icons only" in the taskbar) the icons are identical for PortableFirefox 3.0.10 and PortableFirefox 3.5b4, and I would like to be able to distinguish them. Is there a better way in which I can alter the icon on my local machine? Should I try a different approach?

TIA,
~ Cristos

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2006-05-26 12:08
when you modify a launcher

when you modify a launcher you set off it's crc check and when that happens the launcher becomes unusable, your best way is to recompile the launcher with the custom icon in the source so that it will show up as a new icon

your friendly neighbourhood moderator Zach Thibeau

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 6 months ago
Joined: 2007-04-15 21:08
Not in the platform

Since the Platform release 1.5.0, the icon it shows is got from App\AppInfo\appicon.ico, and in the next release, it'll be using appicon_16.png for compatibility reasons. You can modify these files if you really want to and it'll show up in the platform. I use IcoFX (there is a portable edition launcher here) for editing icons.

Personally though I'd just say rename it in the platform as this'll be maintained across reinstalls/updates.

Edit: your question seems to be actually about App\Firefox\firefox.exe. You could try changing its icon, but I don't know whether it'll work. If not, we can't help you.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

cristoslc
Offline
Last seen: 12 years 11 months ago
Joined: 2008-10-23 13:04
I did update those files, but

I did update those files, but didn't see them reflected anywhere. What exactly do you mean by "the Platform"? Do you mean the "PortableApps.com app launcher"?

Good point, you're probably right that I need to edit the icon for App\Firefox\firefox.exe. Unfortunately, XN Resource Editor isn't compatible with the icon format (which seems quite odd). I'll see if there are any other options. I'd hate to have to recompile from source, but it may come to that Smile

Thanks for the feedback!

cristoslc
Offline
Last seen: 12 years 11 months ago
Joined: 2008-10-23 13:04
Mozilla official iconpacks?

I found this site -- http://iconpacks.mozdev.org/index.html -- which seems to streamline the icon replacement process. I haven't dug into the details of creating my own icon pack yet, but http://www.wikihow.com/Change-Firefox-Icons seems to have some instructions on the process.

I'll post back here later with my results.

cristoslc
Offline
Last seen: 12 years 11 months ago
Joined: 2008-10-23 13:04
XN Resource Editor doesn't work, but Resource Hacker does

Ok, success! XN Resource Editor crashes when I try to open up the appropriate icon sets in firefox.exe, but an older app -- http://www.angusj.com/resourcehacker/ -- is able to manage the job. Under "Actions --> Replace Icon" you need to replace icon sets 0 and 32512 (for 3.5b4, anyway).

I recommend using the excellent http://converticon.com/ to convert your PNG file to an icon file. Make sure you generate multiple sizes, particularly the 32x32 and 16x16 images. The .ico file you finally download will include all the sizes in one package, which is what you'll need to import with Resource Hacker.

You can find the image I used at http://www.flickr.com/photos/cristoslc/3617743096/ if you want some inspiration Smile

Thanks again to Chris Morgan for putting me on the right track.

~ Cristos

Log in or register to post comments