17 March 2023, 14:34 | #4021 | |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
|
Quote:
At least the bug with overwriting the internal drawer data structure was caused by my Aros-like file type identification by using datatypes, which I implemented some years ago on your request for Aros One 68k. In that way you helped me to realize now that my assignment of internal data structures to deficons was no good idea, even if that was just a workaround for deficons with the wrong type (i.e. project icons for disks or drawers). Now these deficons will get a real copy of the drawer data structure. |
|
17 March 2023, 23:07 | #4022 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
I'm glad that my little contribution helped something.
Have you seen my utmost binary and data icons for AROS one ? https://eab.abime.net/showpost.php?p...6&postcount=30 |
18 March 2023, 11:50 | #4023 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
|
Wow, looks great! It seems that you found a nice way to kill time ...
|
26 March 2023, 15:34 | #4024 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
|
Yet another experiment with icons ...
Code:
The 2 commands ColorIconsOff and ColorIconsOn should be started as the first and the last programs in the WBStartup drawer, if possible. ... Last edited by PeterK; 29 March 2023 at 15:34. |
26 March 2023, 16:08 | #4025 |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Thanks for that Peter. Seems to work just fine but haven't experienced any significant speed change on my Vampire V4SA under RTG (720p@24bit) using OS4 MasonIcons as iconset (using TC020 under OS3.2.2).
Every bit of improvement helps though so cheers again \o/ |
26 March 2023, 17:51 | #4026 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
|
The main purpose of these two commands is to get more free pens (on RTG with OS4 or PNG icons) or at least a better color selection and WB screen palette. A minimal faster booting could just be a nice side effect, but it won't be much, unless you have a huge number of icons in your WBStartup drawer.
The reduced memory consumption is also not really much, a few kB less FastMem for the chunky palette based images or even for ARGB images. This should not have any effect on free ChipMem. Last edited by PeterK; 26 March 2023 at 19:53. |
27 March 2023, 10:06 | #4027 |
Registered User
Join Date: Aug 2016
Location: Germany
Posts: 122
|
Hi Peter, is it working with your Dopus Magellan setup?
Here it crashes IF started from the Icon... Regards |
27 March 2023, 12:33 | #4028 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
|
Hi Pedro,
thanks for reporting this! Confirmed, the same happens here with DOpus5 standalone, but not if launched from Workbench, as I usually do it. It seems that DOpus5 doesn't like my shell commands?! Maybe it ignores the "CLI" tooltype? Ok, I could do some more investigations or start it with IconX from a shell, but anyway, these two commands are not made for DOpus5, at least not yet. Update: Starting these commands directly from a shell has no effect at all on DOpus5! That's strange, because I'm using icon.library function calls directly (IconControlA()). Last edited by PeterK; 27 March 2023 at 12:53. |
28 March 2023, 16:31 | #4029 | |
Registered User
Join Date: Mar 2010
Location: Beckenham/England
Posts: 797
|
Quote:
Get the icons here: https://drive.google.com/file/d/1rke...ew?usp=sharing Might do a few more to fit different icon styles... |
|
28 March 2023, 17:40 | #4030 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
|
Excellent, thanks a lot James!
Due to the problems with DOpus5 and its program launcher which doesn't support the "CLI" tooltype and just crashes with shell commands I think I have to add some WBstartup code to my programs, something I never did before. I also tried to use project icons with WBRun or IconX, but then my "STARTPRI" tooltypes and settings seem to be ignored. Now I have to find out how to create a minimal WBstartup code without needing any args, input and output, message port and other bloated code. Ok, I found some short examples for a minimal WBStartup code in assembler ... but the message handling seems to be mandatory, although I don't like talking too much ... Last edited by PeterK; 28 March 2023 at 18:30. |
29 March 2023, 15:40 | #4031 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
|
An updated version of my experiment with WBStartup code included now as a fix for DOPus5 crashes. The "CLI" tooltype is not required anymore.
ColorIconsOff and ColorIconsOn for WBStartup: Code:
These commands are for an icon.library v44 or newer and may save lots of pens on RTG screens with my TrueColor v51 libraries. For non-RTG screens or with the OS icon.library you may at least get better colors for the visible icons and applications on the Workbench instead of wasting pens for unused icons during WBStartup. On Amigas with a low number of icon and screen colors you may not have any noticeable benefit. On my RTG system with OS4, PNG and ColorIcons I can get 205 free pens now instead of only 95. The 2 commands ColorIconsOff and ColorIconsOn should be started as the first and the last programs in the WBStartup drawer, if possible. They are doing the same as the WB-Prefs switch "NoColorIcons", without using <IPrefs> for it. Installation: Copy BOTH icons into WBStartup ! These commands must be started with tooltypes "DONOTPROMPT", "DONOTWAIT" and a very high or very low "STARTPRI" setting like +127 or -127. A minimal WBStartup code is included now, thus you won't need a "CLI" tooltype, because it's not supported by the DOpus5 program launcher. DOpus5 won't crash, nor has it any advantages. In case you have tools in WBStartup that don't work correctly with this "NoColorIcons" config then you could try to launch your tool before ColorIconsOff starts or after ColorIconsOn by adjusting your "STARTPRI" values a little bit. Adding these two commands can also save a few kB of memory and reduce the boot up time a bit since color mapping + C2P is not done anymore. If you want to check the number of shared and free pens then look into Scout's window list for the Workbench screen. Highest improvements are possible for a WB with TrueColor icons. A lot more free pens are remaining for your apps like IconEdit. You may get the highest number of free pens by using the WB-Reset menu entry, but nobody always wants to reset his Workbench. You can also find some alternative icons as a replacement for those in the WBStartup drawer. Thanks a lot to James for creating new icons. This is just another experiment with icons and you are welcome to report any problem cases. Maybe some AppIcons are appearing in 4 colors only for applications launched from WBStartup, but I couldn't find such an example yet. Have fun ... |
30 March 2023, 19:17 | #4032 |
Registered User
Join Date: Mar 2010
Location: Beckenham/England
Posts: 797
|
Icons in KensV3 (256 colour) and OS3.2 style:
Download: https://drive.google.com/file/d/1M62...ew?usp=sharing |
30 March 2023, 20:12 | #4033 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
|
Thanks again, James!
But the typical icons of OS 3.1.4 and 3.2 are all sharing the same set of colors, a standard palette (see below) which Mason used for them. That's one reason why my attempted pen saving in WBStartup has no effect on systems with these icons. Unified icons cannot create wrong colors in the screen palette. |
30 March 2023, 20:55 | #4034 |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
I used a palette icon from MasonIcons collections removing color for the OFF app and using the normal one for the ON app... lol
Attaching here as well if anyone uses OS4.1 iconset |
31 March 2023, 02:03 | #4035 | |
Registered User
Join Date: Mar 2010
Location: Beckenham/England
Posts: 797
|
Quote:
Haven't really paid too much attention to the OS3.2 icons as I am happy with my truecolour icons. Wasn't really concerned about making a real OS3.2 icon, the idea was just to make a 32 colour icon that fit with that general look - for those that might prefer that style. I doubt many people only use OS3.2 icons as there are not many available at the moment, so your programs will still be useful to most people. |
|
31 March 2023, 14:18 | #4036 | |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
|
Quote:
I will add your icons to the next update together with some of James' icons. Btw, could you achieve a higher number of free pens on your RTG Workbench as intended? Of course, there are also other programs which may allocate pens like FullPalette or MagicMenu. Last edited by PeterK; 01 April 2023 at 00:00. |
|
01 April 2023, 19:16 | #4037 | |
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Quote:
FullPalette is used for locking the first 8 colors for MagicWB palette icons although under OS3.2.2 I saw that I can accomplish that by commenting FPPrefs and enabling "Set MagicWB Colors" under Workbench Prefs. While being more system friendly (and not an invasive patch) FPPrefs still has it's own pros if you for example wanna use Rebel's palette (or your modified one) for 16 color leetness (which ofc doesn't matter for RTG screens). What would you suggest in my case tbh? MagicMenu is only used for the right click menus. I haven't ever messed with the "Colour control" tab although checking it out, I see it uses "GUI" option under "Colour matching precision" and has the "Prefer screen colours" option ticked. (I guess this is the default one) |
|
01 April 2023, 20:07 | #4038 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
|
No, you don't need FPPrefs just for setting the first 8 pens to MWB colors since WB v45+ has this Preferences switch. In case that you have some MWB icons which are still using the last 4 pens of the screen palette then you could also fix that with my optional command "Reduce8PlanesTo3". This would also make these "bad looking" MWB icons smaller, when you save them.
For Rebel's 16 color palette or my HAM6/8 colors FullPalette is still required. Rebel's palette can be quite useful on low-end systems. For MagicMenu I use the same settings as you mentioned already. Now, you still didn't tell me how many (more) free pens you can get in Scout's window list for a Workbench TrueColor screen after booting? I hope that not only my system gets much more, but nobody has confirmed that yet. |
01 April 2023, 22:17 | #4039 | ||
Paranoid Amigoid
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
|
Quote:
Quote:
Using your new commands I have: 256 shareable, 228 used and 28 free on OS3.2.2 boot Not using your commands I have: 256 shareable, 229 used and 27 free! |
||
01 April 2023, 22:42 | #4040 | ||
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
|
Quote:
Quote:
On a Hi/TrueColor system the icons should not need any color mapping, nor pens. Even ColorIcons are directly drawn in their exact RGB colors on the gfx-card. (Do you have "ConvertTrueColor" enabled ?) Last edited by PeterK; 01 April 2023 at 22:51. |
||
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 |
|
|