English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 09 August 2020, 10:02   #3501
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,056
I always used AsimCDFS 3.10 that I had on my old A4000, the fact remains that my "Ken's DualPNG Icons" look good, while those downloaded from Aminet you can see only one face as shown in the screenshot
AMIGASYSTEM is offline  
Old 09 August 2020, 20:10   #3502
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,786
AsimCDFS really expects that every icon file has a DiskObject structure like old icons, OS 3.5 or OS4 icons and writes the x,y position and drawer data directly into the virtual icons on the CD without checking the file signature for "DiskMagic"=$E3100001 before. Therefore it trashes PNG icon files by overwriting the length of the "IHDR" chunk, which is usually 13, with the new x,y position and later some other data with the drawer window position.

I've already added a check for this trashing, but it means that you cannot use PNG icons or won't see the virtual drawers anymore. But instead you can still use "Show All" in order to get the normal deficons for drawers.

Atm, I'm still looking how to fix the checksum of the PNG "icOn" chunk, which I found to be wrong too, but which is probably good for nothing.
PeterK is offline  
Old 10 August 2020, 09:30   #3503
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,056
Ok thanks Peter
AMIGASYSTEM is offline  
Old 13 August 2020, 13:06   #3504
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,786
Update to icon.library 46.4.538:

Added some workarounds for using PNG icons with AsimCDFS, which only knows and expects the normal DiskObject structure without checking the file signature for it. Thus, PNG icons loaded by AsimCDFS_Prefs are automatically converted into OS 3.5 ColorIcons to avoid a later trashing of the virtual icons on the CD by AsimCDFS. If you would copy PNG icons directly into ENVARC:AsimCDFS they won't be loaded anymore after a trashing was detected, but you can still get the deficons instead by activating "Show All" on WB.

However, AsimCDFS_Prefs always causes corrupted memory lists (FreeVec in workbench.library without a corresponding AllocVec) and a lot of memory trashing when the size of the used icons is larger than ~5k, no matter which type of icon is loaded by AsimCDFS_Prefs. Your system may become instable until the next reboot. Mounting the CDs and displaying these larger icons is no problem.

This update brings also a small fix for the CRC calculation of the "icOn" chunks in PNG files, which was wrong but is quite meaningless anyway.
PeterK is offline  
Old 14 August 2020, 09:41   #3505
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,056
Quote:
Originally Posted by PeterK View Post
If you would copy PNG icons directly into ENVARC:AsimCDFS they won't be loaded anymore after a trashing was detected, but you can still get the deficons instead by activating "Show All" on WB.
With 46.4.538 and "Show All" on AfA OS nothing is shown.
AMIGASYSTEM is offline  
Old 14 August 2020, 11:40   #3506
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,786
Oh yeah, sorry Carlo ...

... but can you tell me, what was AfA_OS? I must have forgotten about it ...

At least it works on AfA_OS when you load and save a PNG icon with AsimCDFS_Prefs, it's converted into a ColorIcon, and not only 4-color as AfA would do that.
PeterK is offline  
Old 14 August 2020, 12:23   #3507
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,056
Myself i can't remember what AfA OS is either, yes now i remember, it's the most beautiful OS3 I've ever seen.

If I understand you correctly, I'll see that I do what you said, in the meantime, have a good mid-August
AMIGASYSTEM is offline  
Old 15 August 2020, 10:56   #3508
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,056
Even on standard OS 3.9 BB4 the icons with "Show All" are not shown, maybe I'm wrong?

Strange though, on AfA OS with my PNG icons you can see them well, even if AsimCDFS_Prefs doesn't recognize them

On OS 3.9 PCD datatype still not working
Attached Thumbnails
Click image for larger version

Name:	AsimCDFS.jpg
Views:	47
Size:	190.2 KB
ID:	68491  
AMIGASYSTEM is offline  
Old 20 August 2020, 13:07   #3509
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,786
Announcement about Amikit X and XE:

Any support for my icon.library installed on Amikit X or Amikit XE ends now! Distributing or installing future versions or newer builds of my library on Amikit X/XE will be illegal, and it may also result in sudden unexpected behavior or failure. The next Aminet release will indicate appropriate restrictions in the list of changes and the copyright section. The source code won't be published anymore for a while. I regret that I have to react in this way to the barefaced price policy of these commercial products selling lots of freeware. Other free software distributions are not concerned.
PeterK is offline  
Old 24 August 2020, 22:12   #3510
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,056
Ciao Peter maybe it's not the right time to make my stupid discovery, but it was just a curiosity, i tried your library with Aros-Orca, an old but interesting AROS 68k distro (German) 2013 and it seems not to allow the icon transparency in the displacement.
Aros-Orca includes old native AROS software integrated with OS3.



AMIGASYSTEM is offline  
Old 25 August 2020, 11:21   #3511
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,786
Hi Carlo,

no, of course, an old Aros 68k distro can not offer this feature, which was introduced last year. It was one of your threads here, where you reported that Aros, Wanderer and the original icon.library suudenly don't have these ugly graphical glitches in the background anymore while you are dragging icons around. After I read that I decided to add this new transparency feature to my library, too. But it can only work if the Aros dragging routines already support using the alpha channel for transparency, what they probably did never before.

Btw, regarding your previous post, I don't know why "Show all" doesn't work for you. And yes, AfA may not convert PNG icons into ColorIcons for AsimCDFS_Prefs like my library. Concerning the PCD datatype, I have no idea what's going wrong on your system.

Are you using a workbench.library from BB4, something like v45.138? Then better try 45.132 or 45.194 (because 133-138 all have new bugs).

Last edited by PeterK; 25 August 2020 at 11:38.
PeterK is offline  
Old 25 August 2020, 16:32   #3512
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,056
Quote:
Originally Posted by PeterK View Post
Are you using a workbench.library from BB4, something like v45.138? Then better try 45.132 or 45.194 (because 133-138 all have new bugs).
It happens to me with all OS also OS 3.1.4, on AfA OS I use 45.131 (had said the best), but I also tried 45.132 and 45.194, show files should not see anything, and .PCD images I see them with an associated icon and not as thumbnail (if I use the system icons it crashes).

Last edited by AMIGASYSTEM; Yesterday at 16:53.
AMIGASYSTEM is offline  
Old 25 August 2020, 16:58   #3513
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,056
For PCD Datatypes there are too many enigmas around::

PCD-DT 43.14a -> 2002 - > http://aminet.net/package/util/dtype/PCD-DT
PCD-DT35 44.3 -> 2001 - > http://aminet.net/package/util/dtype/PCD-DT35

Which is the most recent

Require old ixemul.library V39
AMIGASYSTEM is offline  
Old 25 August 2020, 18:14   #3514
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,786
Yes, recently I also stumbled upon the version numbers of the PCD datatype, because for some reason I had 43.14 installed, but also found 44.3 in my storage. Now I'm testing 44.3 again, but both seem to work correctly with my test picture, the only one I have. The Kodak CD also works when mounted directly by WinUAE, but who needs PhotoCDs?

v43.14 is for OS 3.0/3.1 and v44.3 for 3.5/3.9/3.1.4.

My ixemul.library is 49.19 (020+FPU). Does the PCD datatype work with this or older versions of ixemul.library? You know, I don't like to bother with 040/060 CPUs, crippled FPUs and exception calls.
PeterK is offline  
Old 25 August 2020, 22:00   #3515
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,056
Tried everything, I normally use ixemul.library 63.1 because required by new applications

I think it is a problem with datatypes even the image viewers that use Datatypes do not work, they tell me unknown datatype or missing alpha channel.

Even the pcdtoppm application if run from a Shell generates hieroglyphics
AMIGASYSTEM is offline  
Old 25 August 2020, 22:39   #3516
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,786
Maybe you have a broken PCD descriptor file in Devs:datatypes or none at all?

Drink some red wine at listen to your favorite music, that solves all these problems. I'm going to do that now like every night ...

Cheers
PeterK is offline  
Old 25 August 2020, 22:51   #3517
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,056
Changed several times descriptor

Already drunk the wine at dinner, my city is the home of Red and Rosé wine, name Primitivo, Malvasia and Negramaro, the wine I drink is homemade "grape juice" 14 degrees, from a week has begun the harvest, gradation sugar grape 24/25


This is my old father-in-law's campaign, you can see Vineyard (Malvasia and Negramaro), Pomodori, Melloni etc..


[ Show youtube player ]

Last edited by AMIGASYSTEM; 25 August 2020 at 23:09.
AMIGASYSTEM is offline  
Old 25 August 2020, 23:53   #3518
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,056
With OS 3.1.4 + AfA OS, PCD Datatype works, main CD folders do not show thumbnail only one but corrupted, folder "Image" ok all PCD images can be seen perfectly, see screenshots

If you use ixemul.library 63.1 command "pcdtoppm" goes to Guru, with ixemul.library v48 no problem
Attached Thumbnails
Click image for larger version

Name:	OS3.1.4.jpg
Views:	34
Size:	216.4 KB
ID:	68650  
AMIGASYSTEM is offline  
Old 26 August 2020, 11:02   #3519
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,786
Looks as if you're well supplied with fruits, veggies, wine and sun shine. What a nice life.

Regarding the corrupted PCD thumbnail in the root folder, I can confirm that, I had that too, but have forgotten about it.
PeterK is offline  
Old 26 August 2020, 12:27   #3520
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,056
Quote:
Regarding the corrupted PCD thumbnail in the root folder, I can confirm that, I had that too, but have forgotten about it.
You have corrupted images, see screenshot

Last edited by AMIGASYSTEM; Yesterday at 16:53.
AMIGASYSTEM is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClassicWB Full and icon.library 46.4 Retroplay project.ClassicWB 8 05 August 2018 13:57
WB library conflict/versions Akira support.Apps 3 22 July 2010 18:47
PNG Icon to Color Icon Converter? Leandro Jardim request.Apps 1 24 May 2010 04:39
What's the latest version of icon.library for OS3.9? NovaCoder support.Apps 3 30 June 2009 15:43
Requesting icon.library v44+... nikvest request.Other 2 16 September 2007 01:58

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.21708 seconds with 16 queries