English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 12 August 2018, 19:50   #2501
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,377
Thanks for the link to that tool. However, it doesn't depend on any ENVARC: or ENV: vars. It works without them. I've already disassembled the filetypes.module and may examine that on one of the next days, but not now.
PeterK is offline  
Old 12 August 2018, 20:23   #2502
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,304
I hope you will have some fun with filetype.module.
daxb is offline  
Old 13 August 2018, 09:24   #2503
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
I installed the TC variant on my MIST, and it's great to be able to handle true colour icons even when not using RTG. Any good reason to use the 68020 version instead of the TC? Speed perhaps? I did not notice any speed drops by using TC
kolla is offline  
Old 13 August 2018, 10:25   #2504
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,377
Update to icon.library 46.4.493 (TC020)

Made another work around for broken OS4 ARGB icons from AfA_OS. This time the highest byte of the zlib-image size was trashed.

+++ Found the magic that lets the Icon Info window in DOpus4 suddenly display icons in TrueColor. What a surprise, it was hidden in my library, it's my gfx-patch which was only used for WB 3.0/3.1 and DOpus5 and is now enabled by TC020, too. Just one remark: the alpha channel may not look optimal in DOpus4, because it displays the icons with frames and in that case my gfx-patch clears the background simply by drawing a normal planar image first and then overwrites it with the TrueColor image. Thus, some parts of the planar image are still shining through the alpha blending at the border.

@kolla
Yes, on some systems TC020 might be a little bit slower, and it consumes more memory, of course, although the TrueColor images are stored compressed in memory, but it still means 5-20 kB more for each icon. And it's difficult now to convert them into the OS 3.5 format, which is always several times faster. So, the 68020 version is still the better choice for most older Amigas. TC020 is only for high-end systems and emulators with a fast CPU and lots of memory.
PeterK is offline  
Old 13 August 2018, 11:08   #2505
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Ciao Peter, there is a way on AFA-OS to force the use of your icon.library with Dopus4?
AMIGASYSTEM is offline  
Old 13 August 2018, 11:23   #2506
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,377
No, I don't think that it's possible to use my library only for a certain program. You can only disable icon_lib.exe globally by removing it from AfA_OS_LIBS: or renaming it.
PeterK is offline  
Old 13 August 2018, 11:26   #2507
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
After a test and found the solution, it seems that on the AFA-OS the two icon.library can cohabit, now Dopus4 shows any PNG / OS4 icon in perfect way, see screenshot

In practice I added to the user-startp this:

If EXISTS Libs:icon.library
RemLib >NIL: icon.library
EndIf

Last edited by AMIGASYSTEM; 17 August 2018 at 07:48.
AMIGASYSTEM is offline  
Old 13 August 2018, 11:48   #2508
pcotter
Registered User
 
Join Date: Aug 2016
Location: Germany
Posts: 122
Quote:
Originally Posted by AMIGASYSTEM View Post
After a test and found the solution, it seems that on the AFA-OS the two icon.library can cohabit, now Dopus4 shows any PNG / OS4 icon in perfect way, see screenshot

In practice I added to the user-startp this:

If EXISTS Libs:icon.library
RemLib >NIL: icon.library
EndIf
Wow! thanks for the tip Amigasystem :-)
it seem to work fine on the AmikiTHLON
Attached Thumbnails
Click image for larger version

Name:	20180813_114249.jpg
Views:	160
Size:	965.8 KB
ID:	59252  
pcotter is offline  
Old 13 August 2018, 12:07   #2509
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,377
Quote:
Originally Posted by AMIGASYSTEM View Post
After a test and found the solution, it seems that on the AFA-OS the two icon.library can cohabit, now Dopus4 shows any PNG / OS4 icon in perfect way, see screenshot

In practice I added to the user-startp this:

If EXISTS Libs:icon.library
RemLib >NIL: icon.library
EndIf
No, I'm pretty sure that you have removed or disabled AfA's icon_lib.exe now. You can see that in SysInspector's or Scout's library list by double-clicking on icon.library. If the LibID-string just says "DEAD CAT" then it's AfA's library v53.4, else it shows my library version string. With AfA's icon_lib.exe I only get these damaged 4-color images in DOpus4 Icon Info.

RemLib icon.library probably does the same as removing icon_lib.exe from AfA_OS_LIBS:

Last edited by PeterK; 13 August 2018 at 12:16.
PeterK is offline  
Old 13 August 2018, 12:19   #2510
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Quote:
Originally Posted by PeterK View Post
No, I'm pretty sure that you have removed or disabled AfA's icon_lib.exe now. You can see that in Scout's library list by double-clicking on icon.library. If the LibID-string just says "DEAD CAT" then it's AfA's library v53.4, else it shows my library version string. With AfA's icon_lib.exe I only get these damaged 4-color images in DOpus4 Icon Info.
Ok I'll do this check
Quote:
RemLib icon.library probably does the same as removing icon_lib.exe from AfA_OS_LIBS:
I do not think the icons are perfect as before and I can see some icons that on OS 3.9 standard you see badly on Dops4 (with your library)

Before without that command with AFA-OS the OS4 Icons were visible

Last edited by AMIGASYSTEM; 24 August 2018 at 08:46.
AMIGASYSTEM is offline  
Old 13 August 2018, 12:28   #2511
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,377
Quote:
Originally Posted by AMIGASYSTEM View Post
I do not think the icons are perfect as before and I can see some icons that on OS 3.9 standard you see badly on Dopus4 (with your library)
Sorry, I don't understand, what looks badly with my library on DOpus4 ?

Quote:
Before without that command with AFA-OS the OS4 Icons were visible
Yes, your screenshot shows the bad results of AfA's icon_lib.exe, not of my library.

It seems you did not understand that my library is not used by AfA as long as there is an icon_lib.exe in AfA_OS_LIBS:.

You don't need the RemLib instruction, just remove or rename icon_lib.exe!

Last edited by PeterK; 13 August 2018 at 12:41.
PeterK is offline  
Old 13 August 2018, 12:51   #2512
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Quote:
Originally Posted by PeterK View Post
Sorry, I don't understand, what looks badly with my library on DOpus4 ?
Those created with [ Show youtube player ] procedure (but from the Workbench you can see well)

Quote:
Yes, your screenshot shows the bad results of AfA's icon.lib.exe, not of my library.
Yes

Quote:
It seems you did not understand that my library is not used by AfA as long as there is an icon_lib.exe in AfA_OS_LIBS:.
Yes, I know that, in fact, with that command in the user-startup it seems that AFA-OS uses your library, see screenshot

Quote:
You don't need the RemLib instruction, just remove or rename icon_lib.exe!
No AFA-OS this way does not start, probably because it initially looks for icon_lib.exe

Last edited by AMIGASYSTEM; 16 August 2018 at 17:47.
AMIGASYSTEM is offline  
Old 13 August 2018, 13:03   #2513
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
Quote:
Originally Posted by PeterK View Post
@kolla
Yes, on some systems TC020 might be a little bit slower, and it consumes more memory, of course, although the TrueColor images are stored compressed in memory, but it still means 5-20 kB more for each icon. And it's difficult now to convert them into the OS 3.5 format, which is always several times faster. So, the 68020 version is still the better choice for most older Amigas. TC020 is only for high-end systems and emulators with a fast CPU and lots of memory.
OK, I was thinking of the situation where one might want to alter ToolTypes etc for icons that will be used on RTG, on a system that only has AGA/ECS, for example. It's not like I intend to have tons of true-colour icons on the AGA system, which would eat up memory They only show up on the system every now and then, and when that happens, it is convenient that they are not altered when I edit other metadata in them. For icons that I want permanently to exist on the AGA/ECS systems, I always use OS3.5 format, yes.
kolla is offline  
Old 13 August 2018, 13:25   #2514
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,377
Quote:
Originally Posted by AMIGASYSTEM View Post
No AFA-OS this way does not start, probably because it initially looks for icon_lib.exe
I never had a problem to start AfA without icon_lib.exe. Just tested it again, and it works with AfA 4.8. There must be something wrong with your AfA installation. Check the position of MoreLibSpace (1. line) and AfA_OS_Loader (somewhere after AddDatatypes but before IPrefs).

Your icon joining video is just confusing me more ... Where is the point ?

@kolla
Yes, it might be an advantage for AGA systems to be able to edit TrueColor icons without "destroying" them. On the other side, it get's difficult to convert icons with TC020. You can still do that with IconEdit, but that sometimes changes the width and height a bit. Not the best solution.
PeterK is offline  
Old 13 August 2018, 13:27   #2515
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
Quote:
Originally Posted by PeterK View Post
@kolla
Yes, it might be an advantage for AGA systems to be able to edit TrueColor icons without "destroying" them. On the other side, it get's difficult to convert icons with TC020. You can still do that with IconEdit, but that sometimes changes the width and height a bit. Not the best solution.
OK, I understand. I will simply have both available and swap between them from my reboot-menu.. it has been growing lately anyways
kolla is offline  
Old 13 August 2018, 13:37   #2516
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,377
Maybe, I should write another little command "DropTrueColor" or "TrueColorOnOff" for temporary usage.
PeterK is offline  
Old 13 August 2018, 13:43   #2517
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Quote:
Originally Posted by PeterK View Post
I never had a problem to start AfA without icon_lib.exe. Just tested it again, and it works with AfA 4.8. There must be something wrong with your AfA installation. Check the position of MoreLibSpace (1. line) and AfA_OS_Loader (somewhere after AddDatatypes but before IPrefs).
If you disable AFA-OS with the SX Mouse button, the system loads regularly, my AFA-OS has a customized Startup-sequence probably as you say you should do some corrective, but at the moment I find it much more functional,of course, always thanks to your great commitment.
AMIGASYSTEM is offline  
Old 13 August 2018, 13:49   #2518
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,377
Ok, if RemLib works better for you, leave it as it is now.
PeterK is offline  
Old 13 August 2018, 13:58   #2519
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
It is also because renaming the icon_lib.exe you have graphical problems with particular Skin windows, (tested on my other AFA-Standard), with RemLib everything is perfect

Last edited by AMIGASYSTEM; 16 August 2018 at 17:47.
AMIGASYSTEM is offline  
Old 13 August 2018, 14:09   #2520
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
Wow, AfA is such a mess, lol
kolla 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 08:53.

Top

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