English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 23 August 2022, 10:47   #3981
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
icon.library 51.4.566
(TC020)
has some issues when dragging at the borders of the screen switching to dithered effect and even worse truncating some parts. I've made a short clip, better than 1000 words:

[ Show youtube player ]

(since "Auto" algorithm from YT sucks, remember to click on the gear icon in the bottom right and force 1080p)

Icon details (using ProcessIcon by Dirk Stöcker):
Name: Work:Games/HDInstalled/F15StrikeEagle2/F15StrikeEagle2
Type: OS3.5 Icon
SS: 18192
IT: Project
BP: 2,0
SZ: x= 3, y= 4, w= 48, h= 20
DT: (YES) WHDLoad
CI -Width : 114
CI -Height : 128
CI -Borderless : NO
CI -NumImages : 2
CI1-Transparent: NO
CI1-NumColors : 126
CI2-Transparent: NO
CI2-NumColors : 16259570


EDIT: same "truncated surface" issue when using 46.4.566

Last edited by hexaae; 23 August 2022 at 11:00.
hexaae is offline  
Old 23 August 2022, 11:02   #3982
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Quote:
Originally Posted by hexaae View Post
@PeterK
Uhm... Why included "icon.library 46.4.566 (68020)" still has that bug dragging icons we discussed some time ago (thought it was fixed)?


NoDelayedImage2 patch doesn't fix it...

My cfg:
P96 3.3.1 (06.06.22) ©2017-2022 iComp
workbench.library 45.132 ( 8-Set-2012)

EDIT:
Oh, I've just found AROS version fixes it on my non-AROS env

Don't do it. The Aros version is for Aros 68k, nothing else!

But why don't you use the TC020 version? It should fix it, too (at least with P96 v2).

"NoDelayedImage2" is not supported anymore.
PeterK is offline  
Old 23 August 2022, 11:05   #3983
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Quote:
Originally Posted by PeterK View Post
Don't do it. The Aros version is for Aros 68k, nothing else!

But why don't you use the TC020 version? It should fix it, too (at least with P96 v2).
Well, I'd use v51.x TC020 but I don't like the real opacity/transparency switch to dithered when dragging over drag'n'drop areas or at the border of the screen. I prefer a coherent look (always dithered or always alpha transparent, don't like the mixed confusing look)...
hexaae is offline  
Old 23 August 2022, 11:11   #3984
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Just noticed the truncated surface issue happens only at the far left border of the screen, doesn't happen dragging the the icon at bottom or at right...
hexaae is offline  
Old 23 August 2022, 11:26   #3985
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Quote:
Originally Posted by hexaae View Post
icon.library 51.4.56 (TC020) has some issues when dragging at the borders of the screen switching to dithered effect and even worse truncating some parts. I've made a short clip, better than 1000 words:
I've tried to adjust these side effects at the screen border as good as possible, especially for DOpus5. WB with P96 usually has less problems, but I can't test P96 3.x updates. And anyhow, you will have to live with it, this solution is the best compromise for the borders, switching back from TrueColor to the blitter routines, which can mask out the remaining parts of the planar images much easier. Maybe P96 v3.x has changed something again?

Use the original Amiga OS icon.library if you don't like my solution or features!

Btw, on AfA_OS the images are completely disappearing when you drag icons over the screen border, Try that!

Last edited by PeterK; 23 August 2022 at 11:34.
PeterK is offline  
Old 23 August 2022, 11:58   #3986
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Rolling back to an old icon.library 51.4.561 (TC020) I can't reproduce it = won't truncate surface on the left side of the screen.
As for the checkboard fake transparency when reaching the borders, I'd just like an extra option for always checkboarded planar image instead of alpha transparency when dragging, then your iconlib would be perfect IMHO keeping a coherent look in every situation Yours is tons faster than original OS3.x icon library (drawers full of icons open instantly on P96), and with the true-color palette the rendering is far better.

Comparison:
https://imgsli.com/MTIyMTU3

Last edited by hexaae; 23 August 2022 at 12:18.
hexaae is offline  
Old 24 August 2022, 14:02   #3987
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Quote:
Originally Posted by hexaae View Post
icon.library 51.4.566
(TC020) ... and even worse truncating some parts.

Name: Work:Games/HDInstalled/F15StrikeEagle2/F15StrikeEagle2
Type: OS3.5 Icon
DT: (YES) WHDLoad
CI -Width : 114
CI -Height : 128
CI -Borderless : NO
CI -NumImages : 2
CI1-Transparent: NO
CI1-NumColors : 126
CI2-Transparent: NO

EDIT: same "truncated surface" issue when using 46.4.566
Please upload that icon, because I couldn't reproduce the truncation with other WHDLoad icons of any width on my system. The strange thing is that your icon seems to have he same image for selected and unselected state (self made ?), usually these box icons have two images, front side and back side of the boxes.

You said that it works correctly with icon.library #561, so it may interfere with the code for DOpus5, which was added later. Maybe P96 v3.x uses other blitter routines like DOpus5 or their code has changed again.

Please, also try to drag this icon over the screen border with an older v2.x rtg.library again.
PeterK is offline  
Old 24 August 2022, 14:41   #3988
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Here is the icon from the video (but it happens for other game icons too here, even smaller std Glowicons, not an isolated case...): https://1drv.ms/u/s!ApMUGr0cuN39gplI...eV9dQ?e=7XAEsK
hexaae is offline  
Old 24 August 2022, 15:03   #3989
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
esaae, it is not an Icon normally used for WHDLoad games, on AfA Os however it works fine,
It is a strange PowerIcons type icon, it includes the first color image the one visible in your screnshot and a second "small image" in black and white (basically project icon of OS 3.1), I think this is the reason for the cut off seen in your video.

This kind of icon was used by ApllOS (Vampire)
AMIGASYSTEM is offline  
Old 24 August 2022, 15:40   #3990
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Ok, tried that icon, which is a legal ColorIcon with one image and the option "darkened copy" for the second image. But I still don't have any truncation here with older P96 versions. It may depend on the rtg.library version, the exact screen mode (15/16/24/32 bit) and size, P96 settings, etc. This should not mean that I want to blame rtg.library or P96 v3.x, but I can't adapt my "Tricky Drag°n" to something that I can not even test.

Edit: It could also be possible that there is another patch for BltMaskBitMapRastPort() or other blitter functions installed, which disables or confuses parts of my patch.

Last edited by PeterK; 24 August 2022 at 17:35.
PeterK is offline  
Old 24 August 2022, 21:44   #3991
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
The second "darkened copy" image is a "B&N OS3 project icon" I was able to see it on the PC with IrfanView
AMIGASYSTEM is offline  
Old 24 August 2022, 22:56   #3992
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Quote:
Originally Posted by AMIGASYSTEM View Post
The second "darkened copy" image is a "B&N OS3 project icon" I was able to see it on the PC with IrfanView
No Carlo, load that icon with the OS 3.9 IconEdit and you will see that it has one palette based "New Image", the second is empty, but in the menu section "Highlight" there is "Darken" activated. What you found in IrfanView is the planar "Old Image", which exists in every ColorIcon for WB 3.1. You can switch from "New Image" to "Old Image" by selecting it in the upper left corner.

This has nothing to do with PowerIcons or Apollo OS, and no, the "Old Images" can have a different size than the palette based OS 3.5 images, that's not a problem, except for AfA_OS.

The icon that hexaae has uploaded has a valid format, there is nothing wrong with it!
PeterK is offline  
Old 24 August 2022, 23:28   #3993
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Thanks for the info Peter, I learned something new, I always believed that the hidden icon was given by the operating system, and was not physically included in the icon.

In fact even con IconEdit OS3.9 on AfA One the "hidden" icon can be seen, you just need to use the "Old Image" tab.

To confirm that there is only one "Main" image, I also encountered it with Icon Editor.

Last edited by AMIGASYSTEM; 05 January 2023 at 22:25.
AMIGASYSTEM is offline  
Old 28 August 2022, 17:56   #3994
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Quote:
Originally Posted by PeterK View Post
It could also be possible that there is another patch for BltMaskBitMapRastPort() or other blitter functions installed, which disables or confuses parts of my patch.
The problem of the truncated images when ColorIcons were dragged over the left screen border was caused by the patch "SetMan", which modifies exec's SetFunction() routine and seems to have some side effects.

I would recommend to use "SaferPatches" by Thomas Richter instead, which did always work reliable on my system.
PeterK is offline  
Old 31 August 2022, 21:36   #3995
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Update to icon.library build #567 (no new HAM versions yet):

Fixed a problem with the patch SetMan and a workaround for another issue. My GfxPatch for 2 blitter functions could have been installed twice resulting in truncated images while moving icons over the left screen border. It's not required anymore to check whether the blitter functions have been patched over again by P96 or CGX4. The 68000 und 68020 libraries didn't change since #566.
PeterK is offline  
Old 01 September 2022, 02:18   #3996
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Good news
hexaae is offline  
Old 02 September 2022, 18:04   #3997
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Peter I noticed that in the archive "IconLib_51.4.567" there are 2 Icon.library AROS 68k (Aros/ArosHB), what is the difference between them ?

Speaking of icons I have updated my DualPNG Icons package in both Blue and White color format.

Each package includes "692 File icons" and "168 Folder Icons", through a standard installer you can change all package icons in seconds, see attached video.


the compressed video weighs cira 10 Mega and is of good quality, to see it only takes a few seconds of downloading:

The installer and the icons are also compatible with OS3, OS4, MOS, of course it is not convenient to install the icons because of the different composition of the OSs and the diversity of the programs, but if the need arose you could replace the affected icons by hand.


https://drive.google.com/file/d/1uBP...i-M0IthtP/view
AMIGASYSTEM is offline  
Old 02 September 2022, 20:39   #3998
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
ArosHB contains the "HalfBright" effect instead of the automatic glowing for TrueColor icons with only one image.

https://eab.abime.net/showthread.php...72#post1536772

It seems that you are industriously creating nice looking icon sets, but I would never use the Installer to overwrite each and every icon in my system. Anyway, I'm just collecting icons for test purposes, but never ever tried to update my system with them (Never change a running system! And never trust any Installer script!).
PeterK is offline  
Old 02 September 2022, 21:25   #3999
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Thanks for "HalfBright," I had forgotten, the fault of old age

Peter the Script is super simple, the icons are all located in the original path, the script will only bother to make a simple copy

At any time you can change or update the icons in the archive without changing the script, in addition, the 2 packages will be included "only" on AROS One

Last edited by AMIGASYSTEM; 03 September 2022 at 06:36.
AMIGASYSTEM is offline  
Old 19 September 2022, 22:02   #4000
Leon Besson
Banned
 
Leon Besson's Avatar
 
Join Date: Feb 2022
Location: Anywhere and everywhere I have a contract
Posts: 822
Just want to add a Big Thanks to Peter and the continued support he is doing with his icon.library

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? As the original is slowwwwww! Where as the PeterK icon.library is so much quicker

Thanks again Bromigo!
Leon Besson is offline  
 


Currently Active Users Viewing This Thread: 3 (0 members and 3 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 22:59.

Top

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