Welcome, Guest. Please login or register.

Author Topic: Something strange with NewIcons  (Read 1177 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline sim085Topic starter

  • Hero Member
  • *****
  • Join Date: Aug 2008
  • Posts: 958
    • Show only replies by sim085
Something strange with NewIcons
« on: October 20, 2009, 02:08:12 PM »
Hello,

All the games I play on WHDLoad I download from WHDownload. Nearly all these come with a NewIcon. However I never installed the NewIcon package and therefore I cannot see them. For this reason I changed some of these icons with other icons that worked find on my Workbench.

However the other day (while testing something) I loaded my setup from another Workbench installation that does have the NewIcon package installed. To my amazement I noticed that all Icons where displaying - however the problem was that even those icons that I had previously changed where showing the NewIcon version of the icon rather then the one I had set! Additionally trying to change the NewIcon with a normal Workbech Icon was not working - but loading everything from my Workbench was showing the Icon I changed!

So does this mean that NewIcons and normal Icons can live together in complete harmony?

Regards,
Sim085
 

Offline meega

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 952
    • Show only replies by meega
Re: Something strange with NewIcons
« Reply #1 on: October 20, 2009, 02:12:05 PM »
Basically, yes - they were designed that way. Caveats apply to later kickstarts/workbenches or alternatives which already support "better than old-style" icons.
:)
 

Offline Thomas

Re: Something strange with NewIcons
« Reply #2 on: October 20, 2009, 08:46:52 PM »
Quote
So does this mean that NewIcons and normal Icons can live together in complete harmony?


Yes, they do. If you look at the icon information from your basic non-newicon 3.1 installation, you will see that there are some strange-looking tooltypes, starting with a line reading "do not change the following lines" followed by several rows of "IM1=blablabla" and "IM2=blablabla". These IM1 and IM2 tooltypes hold the newicon image information.

The newicons program just patches icon.library, so that it reads these tooltypes and uses them instead of the original image.

A similar method is used by OS 3.5 and 3.9. Here an additional chunk of information is added to the end of the file, letting the old-style icon intact.

However, this method has one major drawback: if you snapshot an OS 3.9 icon from a 3.1 system, the additional info is cut off because it is unknown to the older library.

The tooltypes approach is better because the information stored in the tooltypes is not touched by the older icon.library. Tooltypes were always a part of the file format.

Bye,
Thomas

Offline sim085Topic starter

  • Hero Member
  • *****
  • Join Date: Aug 2008
  • Posts: 958
    • Show only replies by sim085
Re: Something strange with NewIcons
« Reply #3 on: October 22, 2009, 02:52:06 PM »
Thank you very much for the information :)