Wanderer Icon Exchange

miker1264 · 4420

AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1510
    • Karma: +45/-1
  • AROS One
    • AROS One
Reply #150 on: December 29, 2021, 11:14:31 PM
Tested and it works fine with the icon.library of AROS One 1.6, I compared the two libraries (Aros One and Icaros) and they are of the same version, only the file size changes, my icon.library is the one included in the last deadwood distro "AROS-20180415-2".


It remains the problem of icons on/off if the icons are in RAM, on HD no problem

The CLI window opened "CON:" I think is only for testing purposes


On Wanderer there is a Bug that I had reported in the past, where on is not possible to delete single icons (without file or associated folder), these icons can be deleted only with Dopus4, these icons can't even be copied or moved!
« Last Edit: December 29, 2021, 11:32:02 PM by AMIGASYSTEM »



miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #151 on: December 30, 2021, 12:34:54 AM
AMIGASYSTEM

It's good to hear it is working on AROS One x86.

The icons in Ram: don't seem to be a major issue as long as they display & behave properly on disk.

The issue with Wanderer not copying, moving, deleting or renaming unassociated icons has been fixed in newer versions of Wanderer. Not sure if the latest Wanderer has been backported to AROS x86 yet. We might compare versions.



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1510
    • Karma: +45/-1
  • AROS One
    • AROS One
Reply #152 on: December 30, 2021, 07:51:57 AM
miker if it helps I found "Iconverter + sources" to convert many types of icons.

I tried to compile Iconverter on AROS One x86 and it seems to work fine !

https://www.morphos-storage.net/dl.php?id=1661783


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #153 on: December 30, 2021, 08:34:44 AM
miker if it helps I found "Iconverter + sources" to convert many types of icons.

I tried to compile Iconverter on AROS One x86 and it seems to work fine !

https://www.morphos-storage.net/dl.php?id=1661783

What? You don't like "IconClone"?  :P

It seems to deal mostly with Old Icon Formats. The only Old Format I'm interested in is OS3.5 Icons.

I'm having fun with IFFParse Library reading the IFF Chunks from the OS3.5 Icon Files. It should work with PowerIcons also.

Then I will need to find out how to display the "ARGB Data Chunks" when they are present or just display OS3.5 Icon Images as ARGB.  ;)


« Last Edit: December 30, 2021, 10:07:25 AM by miker1264 »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1510
    • Karma: +45/-1
  • AROS One
    • AROS One
Reply #154 on: December 30, 2021, 09:09:56 AM
I'll use IconClone all my life :D

Iconverter does not serve AROS, I posted the source in case there is some useful information to add to IconClone


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #155 on: December 31, 2021, 02:57:01 PM
Anyone have experience working with IFFParse Library?

I have some code that isn't working but I don't know why. It is reading an OS3.5 Icon File but it can't find the chunks!

Do I need to open IFFParse.Library?  I'm trying Sift.c in RKRM.

There is a working version of IconClone that I will finish up and I'll release it soon. I'm also working on an experimental version.
« Last Edit: December 31, 2021, 05:22:33 PM by miker1264 »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1510
    • Karma: +45/-1
  • AROS One
    • AROS One
Reply #156 on: December 31, 2021, 03:54:21 PM
No if you are talking about IFFParse.Library code, if you are referring to the use of alloa applications yes!

Experimental version, what news we will find ?


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #157 on: December 31, 2021, 04:04:24 PM
No if you are talking about IFFParse.Library code, if you are referring to the use of alloa applications yes!

Experimental version, what news we will find ?

The experimental version has some advanced features such as dropping OS4.1 PowerIcons & AROS Hybrid Icons & Displaying them & Converting them to PNG Icons.

But I'm having difficulty with the IFFParse code to verify the ARGB Data Chunks. I attached Check_IFFType.c & a Hybrid OS3.5 Icon Sample.

I compiled "Sift.c" IFFParse sample program. When I ran it from CLI on my OS3.5 Icon File it reported an error:

"File Scan Aborted, error -10: Not an IFF file."

Hmmm...because there is old icon data preceding the IFF data it can't parse the file. So I will set file pointer to the IFF Data.
« Last Edit: December 31, 2021, 05:52:43 PM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #158 on: January 01, 2022, 07:24:08 AM
ParseIFF is working correctly now after some effort.

What I had to do is difficult to explain. It's a custom Hook Parser with a Custom Stream Handler.

The ParseIFF function reads the OS3.5 Icon File to determine if there are ARGB Data Chunks or just OS3.5 Image Data.

I wrote another function to read all the OldIcon data to get the correct offset to the beginning of the IFF OS3.5 Icon Data.

Then I can use IconControl to read the image data or ARGB data to display the images. It's a long process to display these icons.  ;)
« Last Edit: January 01, 2022, 07:42:15 AM by miker1264 »



Glinx

  • Newbie
  • *
    • Posts: 35
    • Karma: +28/-0
Reply #159 on: April 02, 2022, 11:12:55 PM
@miker1264

This is a great 'lil utility, thank for making it!

I spent some time using it today, and a lot longer time trying to find where the icons were buried within aros prefs! :)

I have two requests...
Can you tell me where the 'special' drawer icons hide (ie the drawer icons for prefs, system, tools, utilities etc) and also I have found (in aros x86, wanderer) that icons are named def-icons or end with .info. Are there others?

Lastly, it would be nice to have IconClone promoted a bit more, perhaps with a new announcement thread, or at the very least editing the first post with a preamble about it and the download itself. It was very much under the radar for me to find it as a newbie.

Thank you for your time



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1510
    • Karma: +45/-1
  • AROS One
    • AROS One
Reply #160 on: April 03, 2022, 06:06:37 PM
.
Can you tell me where the 'special' drawer icons hide (ie the drawer icons for prefs, system, tools, utilities etc) and also I have found (in aros x86, wanderer) that icons are named def-icons or end with .info. Are there others?


Wander works like Amiga OS3, if a file does not have its own real icon, the operating system will assign a default one.

System default icons called def_name type.info can be found in AROS:Prefs\Env-Archive\SYS.

The recognition of the file type and the association of the icon to a file "without icon" is defined by the Datatype/Descriptors.

It is possible to create/add new Def icons to the system, but in this case it would be necessary to new install Datatype/Descriptors as well.

On my AROS One for example, for each image, a specific icon is assigned, by default Wander assigns an identical icon for all image, but also for sounds, archives et....



« Last Edit: April 03, 2022, 11:31:54 PM by AMIGASYSTEM »



Glinx

  • Newbie
  • *
    • Posts: 35
    • Karma: +28/-0
Reply #161 on: April 03, 2022, 11:18:41 PM
That's great information, thank you! :)



magorium

  • Senior Member
  • ****
    • Posts: 335
    • Karma: +50/-0
  • Convicted non contributor
Reply #162 on: April 04, 2022, 12:03:29 AM
@Glinx:
Besides what AMIGASYSTEM already wrote, you can also use XIcon/IconX and/or similar tools to modify behaviour to your liking (not depending on default icons and file type descriptors).

See aminet for those kind of tools.

For AROS ABIv0 i386 i wrote a tool named wbXli (see aros archives) that, in case you add a project icon for your file, can execute any tool for you provided that this tool accepts a file parameter in order to pass the name of the file to the program you wish to associate it with. I wrote wbXcli because it is easier to manage than tools like XIcon/iconX as they require a script to accomplish the same task.