English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 18 March 2024, 18:55   #4361
pixie
Registered User
 
pixie's Avatar
 
Join Date: May 2020
Location: Figueira da Foz
Posts: 365
I'm so unlucky, the A1200 disk has it sorted out. xD From my test I have to have newicons enabled otherwise it won't get transparent.
pixie is offline  
Old 18 March 2024, 19:25   #4362
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
If you don't like to install the NewIcons patch for getting transparency then you could alternatively also try Birdie or Birdie2000 with the options NOICONBORDER and FLOODMASKMWB instead of NewIcons. The 2. option avoids to make ALL pixels with pen 0 transparent, only those around the border will make the background visible. Please read the Birdie docs for details.

You could also replace the old workbench.library of the 3.1 Rom with a newer v44+ library in Libs: by using "RemLib >NIL: workbench.library", but then some other things have to be changed, too. A WB v44+ needs a different FBlit.cfg and a DefIcons v44 tool. That has all been discussed here some hundred times. Just read this thread carefully right from the beginning ...
PeterK is offline  
Old 20 March 2024, 14:08   #4363
pixie
Registered User
 
pixie's Avatar
 
Join Date: May 2020
Location: Figueira da Foz
Posts: 365
I've found a cool util for those without 3.5 or higher:
https://aminet.net/package/util/wb/IconAppearer10

It updates files as they are created/deleted
pixie is offline  
Old 20 March 2024, 14:23   #4364
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
Quote:
Originally Posted by pixie View Post
I've found ... IconAppearer ... It updates files as they are created/deleted
Yes, that's a similar tool as AutoUpdateWB, which I always use, but it's not doing the same as RefreshIcons. Remapping all icons after a screenmode change is automatically done by the Workbench on v44+, which just calls the icon.library function IconControlA() twice, first by setting the screen pointer for all icons to NULL in order to release all previously allocated pens, and then again by mapping their colors to the palette of the new screen.
PeterK is offline  
Old 03 April 2024, 21:47   #4365
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
A new test version 51.4.583 attached on page 1 (TC020, HB020, FastWB only).

Some small speed improvements 2-8% on chunky screens for icons with 64 colors or more and for WB v44+ only by using the cybergraphics WritePixelArray() function and the LUT8 format without C2P conversion or masks. This concerns only unselected icons and no deficons.

Nothing for Aros, DOpus5 or WB 3.0/3.1.
PeterK is offline  
Old 04 May 2024, 03:39   #4366
arcanist
Registered User
 
Join Date: Dec 2017
Location: Austin, TX
Age: 41
Posts: 409
I'm not sure if this an IconLib question so apologies if it's in the wrong place.

I have a WinUAE setup with 3.2, P96 (UAEGFX, RTG screenmode), DOpus 5.83, and newest IconLib. I see this when trying to run DOpus as a WB replacement:
  • LoadWB: fast icon loading, almost no chip RAM used
  • LoadWB, run DOpus5 (either Workbench:Use or :Clone): fast icon loading, almost no chip RAM used
  • LoadDB: slow icon loading, eats up chip RAM
There must be some difference between the second and third methods, but I can't see it.
arcanist is offline  
Old 04 May 2024, 20:19   #4367
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
Quote:
Originally Posted by arcanist View Post
[*]LoadDB: slow icon loading, eats up chip RAM
LoadDB tries to load "DOpus5:DirectoryOpus",

so you will need an Assign for DOpus5: to your DOpus5 installation directory, and there you have to replace the main program DirectoryOpus with my fixed version 5.83. Rename DOpus5.83 into DirectoryOpus to use it as a substitute in the drawer DOpus5:.

Btw, it's better now to disable the "Custom dragging routines" for icons in the DOpus5 settings.

"Use Workbench" is by far the fastest screenmode. For setting the preferences use Prefs/Screenmode.

Last edited by PeterK; 04 May 2024 at 20:24.
PeterK is offline  
Old 04 May 2024, 21:04   #4368
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,000
Using Birdie2000 with NoIconBorder causes icons to disappear in 3.2 - known, or have I screwed up?

Using latest icon.library from the 1st page as of now, updating didn't fix it.
Dunny is offline  
Old 04 May 2024, 21:14   #4369
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
Thanks for reporting this problem with Birdie2000, Dunny!

Since I don't use Birdie on my system, I have to check that to see what's going wrong ...
PeterK is offline  
Old 04 May 2024, 21:39   #4370
arcanist
Registered User
 
Join Date: Dec 2017
Location: Austin, TX
Age: 41
Posts: 409
Quote:
Originally Posted by PeterK View Post
LoadDB tries to load "DOpus5irectoryOpus",

so you will need an Assign for DOpus5: to your DOpus5 installation directory, and there you have to replace the main program DirectoryOpus with my fixed version 5.83. Rename DOpus5.83 into DirectoryOpus to use it as a substitute in the drawer DOpus5:.

Btw, it's better now to disable the "Custom dragging routines" for icons in the DOpus5 settings.

"Use Workbench" is by far the fastest screenmode. For setting the preferences use Prefs/Screenmode.
Yes, I have already done this. I renamed the old binary to DirectoryOpus5.82. If I run LoadDB from a shell in Workbench then icon drawing is fast and does not use chip RAM.

I did some experimenting and it seems this is an issue getting P96's blitter replacement routines loaded. I am using an RTG screenmode so I expected the patches to load.

However I tried using FBlit instead and this fixed the issue. LoadDB directly from startup-sequence has the expected performance.
arcanist is offline  
Old 04 May 2024, 22:06   #4371
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
Quote:
Originally Posted by arcanist View Post
If I run LoadDB from a shell in Workbench then icon drawing is fast and does not use chip RAM.
In that case the WB 3.2 has set "icons to other memory = FastMem" automatically. There is no switch anymore in Prefs/Workbench on 3.2, so maybe, it is not done by IPrefs anymore as in earlier OS versions.
Quote:
I did some experimenting and it seems this is an issue getting P96's blitter replacement routines loaded. I am using an RTG screenmode so I expected the patches to load.

However I tried using FBlit instead and this fixed the issue. LoadDB directly from startup-sequence has the expected performance.
If FBlit is detected by my icon.library it uses FastMem for icons by default.

But DOpus5 standalone with P96 will not switch to FastMem automatically like WB 3.2. In this case you could try my option "IconsToFastMem" after IPrefs and somewhere before you call LoadDB.

Last edited by PeterK; 04 May 2024 at 22:22.
PeterK is offline  
Old 04 May 2024, 22:20   #4372
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
Quote:
Originally Posted by Dunny View Post
Using Birdie2000 with NoIconBorder causes icons to disappear in 3.2 - known, or have I screwed up?

Using latest icon.library from the 1st page as of now, updating didn't fix it.
Sorry Dunny, why do you need Birdie2000 with NoIconBorder in OS 3.2? Prefs/Workbench has settings for the icon borders: None, small, medium and large.

And if you still need Birdie for patterns in the window frames, how, when and where do you start Birdie2000 exactly, with which arguments? And on which screenmode are which icons disappearing? Are there any other gfx patches installed, like MCP, VisualPrefs? (disable them).
PeterK is offline  
Old 04 May 2024, 22:59   #4373
arcanist
Registered User
 
Join Date: Dec 2017
Location: Austin, TX
Age: 41
Posts: 409
Quote:
Originally Posted by PeterK View Post
But DOpus5 standalone with P96 will not switch to FastMem automatically like WB 3.2. In this case you could try my option "IconsToFastMem" after IPrefs and somewhere before you call LoadDB.
That did the trick!

Thank you, Peter. I did my best to digest the documentation but managed to overlook that case.
arcanist is offline  
Old 04 May 2024, 23:35   #4374
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,000
Quote:
Originally Posted by PeterK View Post
Sorry Dunny, why do you need Birdie2000 with NoIconBorder in OS 3.2? Prefs/Workbench has settings for the icon borders: None, small, medium and large.
No particular reason - saw that it could be done in Birdie from a post previously in this thread and decided to see what it looks like. I run MWB icons so it's not always a good idea, but hey... why not at least see? Anyway, if the issue is with Birdie then there's likely not much you can do. I only report it here because this is where I read the tip to use it!

Quote:
And if you still need Birdie for patterns in the window frames, how, when and where do you start Birdie2000 exactly, with which arguments? And on which screenmode are which icons disappearing? Are there any other gfx patches installed, like MCP, VisualPrefs? (disable them).
Indeed I do use Birdie for window frames. It starts after IPrefs. I have MCP and VisualPrefs (and FullPalette) but have, as you suggested, disabled VisualPrefs and MCP.

Here's what I get:



Disabling MCP and VisualPrefs has no real effect. I don't know why, but the 3.2 text editor is also very broken - it doesn't seem to draw gadgets or clear the window while scrolling. You can see how badly it displays my startup-sequence in the image.

I'll see if the 3.2 option is any better, and thanks for your library - it's been rock solid so far.

Edit: PiStorm RTG mode - 1366x768x32bpp.
Edit2: Switching to PAL Highres Laced 640x512x256 results in garbled icons, and rebooting doesn't fix it.
Dunny is offline  
Old Yesterday, 00:02   #4375
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
On your screenshot it looks like: "Run >NIL: Birdie ? <ENV:Birdie.prefs"
but that won't tell me what your arguments for Birdie really are, because you have stored them in Birdie.prefs, which is used as input file.
PeterK is offline  
Old Yesterday, 00:13   #4376
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
Quote:
Originally Posted by arcanist View Post
That did the trick!

Thank you, Peter. I did my best to digest the documentation but managed to overlook that case.
No, I never tried to start LoadDB on OS 3.2. That case is not mentioned in my guide yet. It works on OS 3.9 and 3.1.4, because there IPrefs is still switching to FastMem when Prefs/Workbench was configured manually to use "Other Memory". I changed my OS 3.2 startup-sequence now:
Code:
Set DOpus5 ON ; optional first line
...
...
...
...
If $DOpus5 EQ ON
   IconsToFastMem ; copy that into C:
   Assign >NIL: DOpus5: Volume:PathTo/DOpus5
   Path >NIL: DOpus5:C ADD
   LoadDB
Else
   LoadWB
EndIf
EndCLI >NIL:
PeterK is offline  
Old Yesterday, 02:22   #4377
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,000
Quote:
Originally Posted by PeterK View Post
On your screenshot it looks like: "Run >NIL: Birdie ? <ENV:Birdie.prefs"
but that won't tell me what your arguments for Birdie really are, because you have stored them in Birdie.prefs, which is used as input file.
Apologies - they are:

Code:
NoIconBorder FloodMaskMwb PubScreens ActivePattern "workbench:prefs/presets/os32-custom/birdie/active.png" "sys:prefs/presets/os32-custom/birdie/inactive.png"
It's autogenerated by BirdiePrefs.
Dunny is offline  
Old Yesterday, 16:20   #4378
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
The disappearing MWB icons with Birdie2000 NoIconBorder are caused by a conflict with Workbench v44+, which has it's own icon border settings in Prefs/Workbench. It is not caused by icon.library, because exactly the same happens with the OS icon.library v44+.

NoIconBorder and FloodMaskMWB are for WB 3.1 (or maybe 3.0) as a better alternative for the NewIcons patch. Switch NoIconBorder and FloodMaskMWB off and use the Prefs/Workbench settings instead. Optional you can use PlanarFrames1-3 with my icon.library, but it won't support FloodMask (only the OS icon.library v44+ will do that by default).

I don't know whether there are any other conflicts with these Birdie patterns, because I would never need or use any themes, skins or similar hacks.
PeterK is offline  
Old Yesterday, 17:35   #4379
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,000
Quote:
Originally Posted by PeterK View Post
I don't know whether there are any other conflicts with these Birdie patterns, because I would never need or use any themes, skins or similar hacks.
Thanks PeterK, you're a diamond mate.
Dunny 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 04:17.

Top

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