English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 20 September 2022, 12:07   #4001
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
Thanks Leon!

Quote:
Luckily I just read about using the TC20 icon for AmigaOS 3.2 and 3.2.1. As I am testing out 3.2.1 ready to upgrade to. Why oh why did they not incorporate your icon.library?
No, the question is just why they didn't accept an icon.library v46 instead of presupposing always v47+ resources for OS 3.2, a sometimes thoughtless practice of C programmers??

On the other side, I want to stay independent from the OS development and commercial interests.
PeterK is offline  
Old 20 September 2022, 22:23   #4002
Leon Besson
Banned
 
Leon Besson's Avatar
 
Join Date: Feb 2022
Location: Anywhere and everywhere I have a contract
Posts: 822
Quote:
Originally Posted by PeterK View Post
Thanks Leon!


No, the question is just why they didn't accept an icon.library v46 instead of presupposing always v47+ resources for OS 3.2, a sometimes thoughtless practice of C programmers??

On the other side, I want to stay independent from the OS development and commercial interests.
Anyways, keep up the good work loving the icon sets and the speed
Leon Besson is offline  
Old 27 September 2022, 11:38   #4003
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Peter I noticed that with your Icon.library on AfA One Preferences, the "Icon Resize" Tab is disabled and therefore you cannot change the size of the icons.

Last edited by AMIGASYSTEM; 10 November 2022 at 21:30.
AMIGASYSTEM is offline  
Old 27 September 2022, 13:07   #4004
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
No Carlo, it's not my library which is responsible, but probably your AfA_OS configuration or system setup. Is MoreLibSpace correctly installed and the system rebooted?


Edit: Ok, I think I found the reason. In my startup-sequence I have two additional lines after / below the MoreLibSpace line, but before SetPatch:

Code:
RemLib >NIL: icon.library      ; remove 3.1.4 loader
RemLib >NIL: workbench.library ; remove 3.1.4 loader
Attached Thumbnails
Click image for larger version

Name:	AfA_IconResize.png
Views:	132
Size:	83.8 KB
ID:	76677  

Last edited by PeterK; 27 September 2022 at 13:32.
PeterK is offline  
Old 27 September 2022, 15:44   #4005
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Yes, if you add the "RemLib >NIL: workbench.library" command, AfA OS Prefercences will work.

I use "RemLib >NIL: icon.library" from a script from WBStartup, this allows me to make Dopu4 work well in showing DualPNG icons.
But the resize in AfA OS Prefercences does not work.

If I use "RemLib >NIL: icon.library" in the startup-sequence after MoreLibSpace, Dopus4 "Icon Info" will show the corrupted icons, see screenshot

Last edited by AMIGASYSTEM; 10 November 2022 at 21:30.
AMIGASYSTEM is offline  
Old 27 September 2022, 16:52   #4006
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
Yes, confirmed, but that are all problems of AfA_OS and this MoreLibSpace patch for the OS libraries. I don't need any themes and skins, nor scaled icons or TrueType fonts. And I don't like these ugly oversized window frames of AfA anyway.

So, you should try yourself to find a better solution for RemLib. I added these two RemLib lines mainly for my non-AfA system configuration, in order to get rid of these more individual (crazy) OS library loaders, pretending themselves of being a library, and sometimes rejecting to load other or older libs. These two RemLib lines might not be the best solution for AfA yet, and that was not my goal at all. Maybe I can find something more optimal later, but AfA is never optimal from my point of view!
PeterK is offline  
Old 27 September 2022, 18:23   #4007
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Yes AfA OS would need an update, of course AfA OS is good only on RTG screens, it makes no sense to use it on PAL systems, also it requires considerable system pootence.

To me AfA OS represents modernity and graphical beauty, then everyone has their own his taste.
AMIGASYSTEM is offline  
Old 28 September 2022, 21:28   #4008
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
Quote:
Originally Posted by AMIGASYSTEM View Post
If I use "RemLib >NIL: icon.library" in the startup-sequence after MoreLibSpace, Dopus4 "Icon Info" will show the corrupted icons, see screenshot
There are two possible solutions for your DOpus4 IconInfo problem:

1.) The RemLib command after MoreLibSpace is only required to enable the Icon-Tab in the AfA_OS Preferences. If you rarely need to change these settings like transparency and icon size then you can save them once. This last saved icon configuration seems still to be used even after the early RemLib command has been commented out again and the Icon-Tab appears as being disabled.

2.) Or you can change the DOpus4 icon filetype configuration and use the AmigaDos command WBInfo {f} for calling RAWBInfo instead of or in addition to IconInfo. If you want both it looks like this:
Attached Thumbnails
Click image for larger version

Name:	DOpus4_IconInfo.png
Views:	123
Size:	8.0 KB
ID:	76707  
PeterK is offline  
Old 28 September 2022, 22:15   #4009
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by PeterK View Post
2.) Or you can change the DOpus4 icon filetype configuration and use the AmigaDos command WBInfo {f} for calling RAWBInfo instead of or in addition to IconInfo. If you want both it looks like this:
Great solution, I will use this !

With the two RemLib commands after MoreLibSpace, Eastern also works.

Last edited by AMIGASYSTEM; 10 November 2022 at 21:30.
AMIGASYSTEM is offline  
Old 19 December 2022, 14:05   #4010
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
The icon.library on Aminet has been updated to build #568:

http://aminet.net/package/util/libs/IconLib_46.4

Code:
 Some improvements in the CopyMemBlock routine and for
 the PNG filters. PNG decoding can be up to 3 % faster,
 but only with the TrueColor libraries, not in 68000/20.

 Added the new 68020 lite version "Smurf", which won't
 use pen 0 for the color mapping to avoid color fades to
 appear in the icon images when you run a Copper-demon. 
 "Smurf" has no support for OS 3.2, datatype detection,
 and no icon size scaling or grayscale mapping options.

 Both HAM version were not updated since #556 anymore.
 They would need some bugfixes and better optimization.
PeterK is offline  
Old 19 December 2022, 15:33   #4011
pcotter
Registered User
 
Join Date: Aug 2016
Location: Germany
Posts: 122
Thank you Peter. Working fine on Aros and Aos.
Have a nice Xmas season. :-)
pcotter is offline  
Old 19 December 2022, 15:39   #4012
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,058
A "Smurf" version !!!

Thank you so much Peter; you are the best !!!

Yours truly,
Torti

Last edited by Torti-the-Smurf; 19 December 2022 at 16:12. Reason: i had to make it BOLD
Torti-the-Smurf is offline  
Old 02 February 2023, 10:45   #4013
utri007
mä vaan
 
Join Date: Nov 2001
Location: Finland
Posts: 1,653
I planning to get 2mb chip ram to my 68020 accelerated CDTV.

As icon.library supports HAM6 and with 2mb Chip I should be able to set wb to Hires HAM6 , is there a practical reason why I shouldn't use HAM6 as a OS and HAM6 colored icons with it? Have I understood correctly that way icon.library would reder multicolor icons automatically and I do not need to convert icons to HAM6?
utri007 is offline  
Old 02 February 2023, 11:29   #4014
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
Quote:
Originally Posted by utri007 View Post
I planning to get 2mb chip ram to my 68020 accelerated CDTV.

As icon.library supports HAM6 and with 2mb Chip I should be able to set wb to Hires HAM6 , is there a practical reason why I shouldn't use HAM6 as a OS and HAM6 colored icons with it? Have I understood correctly that way icon.library would reder multicolor icons automatically and I do not need to convert icons to HAM6?
Isn't there a limit of 4 bitplanes in hires on OCS/ESC, or am I remembering incorrectly?
hooverphonique is offline  
Old 02 February 2023, 12:47   #4015
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
Quote:
Originally Posted by utri007 View Post
I planning to get 2mb chip ram to my 68020 accelerated CDTV.

As icon.library supports HAM6 and with 2mb Chip I should be able to set wb to Hires HAM6 , is there a practical reason why I shouldn't use HAM6 as a OS and HAM6 colored icons with it? Have I understood correctly that way icon.library would reder multicolor icons automatically and I do not need to convert icons to HAM6?
No, on OCS/ECS chipsets it's not possible to use Hires HAM6 for the WB screen. And anyway, OCS/ECS systems are so slow that it won't make any fun to use HAM modes.

My icon.library versions for HAM6/8 are only a technical experiment, because some users asked me for HAM support in the past, but the code for icons on HAM screens is not fully optimized yet and still has some other bugs. With a radical change in the concept the icon loading could be at least twice as fast, but these improvements and fixes are not planned at the moment.

On ECS/OCS screens you should better try FullPalette with a fixed 16 color palette and my FastColors option. But I don't know if your 68020 is fast enough for ColorIcons? 28 MHz or more are probably required.

There seems to be a misunderstanding about the way my icon.library uses icons on HAM screens. No, you won't need any special HAM icons as those that you can find on Aminet. My icon.library converts any ColorIcons or TrueColor icons into HAM colors. The more colors your icons have, the greater will be the quality improvement with HAM screens on a fast system. Nothing for low quality icon sets or slow Amigas.

Last edited by PeterK; 02 February 2023 at 23:33.
PeterK is offline  
Old 04 March 2023, 19:01   #4016
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
Mini-update (build #569) on the 1. page for TC020, HB020, FastWB, LD020 only:

On DOpus5 icons with frames were sometimes displayed with a too large width for the gray background (rounded up to words).
PeterK is offline  
Old 16 March 2023, 15:19   #4017
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
Update to icon.library build #570:

Bugfix: Under rare circumstances the internal drawer data structure was used for deficons and sometimes even set to defaults again. This was an attempt to overwrite the own library code.

Last edited by PeterK; 16 March 2023 at 15:47.
PeterK is offline  
Old 16 March 2023, 18:32   #4018
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
Thanks for the continuous updates Peter! We can't thank you enough for this library <3
mfilos is offline  
Old 16 March 2023, 20:22   #4019
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
Thanks a lot, mfilos!

Special thanks also to Michael (Mikhail) who has reported the last two bugs.
PeterK is offline  
Old 16 March 2023, 23:01   #4020
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Hi Peter, now finding fault with your library is very difficult
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 Amiga1992 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 06:28.

Top

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