Welcome, Guest. Please login or register.

Author Topic: PeterK icon library  (Read 5147 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Oldsmobile_MikeTopic starter

PeterK icon library
« on: June 19, 2013, 07:53:19 AM »
I've seen a few references to this online for a while and would like to test it on my system, however the thread over on EAB is 29 pages long, and the download doesn't include any instructions on how to install it under 3.1 besides saying "check the thread".  :insane: :eyeroll:

Any tips besides just dumping the lib file in LIBS:  ?  Is there something about a "LoadResident" command I need?

Thanks!
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline slaapliedje

  • Lifetime Member
  • Hero Member
  • *****
  • Join Date: Oct 2010
  • Posts: 843
  • Country: 00
  • Thanked: 1 times
    • Show only replies by slaapliedje
Re: PeterK icon library
« Reply #1 on: June 19, 2013, 08:38:46 AM »
I think for 3.1 you just dump it in LIBS: (I would rename your old one just in case something goes wrong).  I think you only have to do the LoadResident or LoadModule lines if you have 3.9.  

I'm using it on my 3.9 install of ClassicWB and it rocks!

slaapliedje
A4000D: Mediator 4000Di; Voodoo 3, ZorRAM 128MB, 10/100mb Ethernet, Spider 2. Cyberstorm PPC 060/50 604e/420.
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: PeterK icon library
« Reply #2 on: June 19, 2013, 09:06:56 AM »
Does it come built in to AmikitOS yet?
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline stefcep2

  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 1467
    • Show only replies by stefcep2
Re: PeterK icon library
« Reply #3 on: June 19, 2013, 09:09:42 AM »
From the readme of the latest version on aminet:
http://aminet.net/package/util/libs/IconLib_46.4

"Added direct support for workbench.library version 39 and 40.
Of course, it's required to load the icon.library resident if
you want to use it with AmigaOS 3.0 or 3.1. This can be done
either with LoadModule, LoadResident or by using a custom ROM. "
 

Offline Oldsmobile_MikeTopic starter

Re: PeterK icon library
« Reply #4 on: June 19, 2013, 09:48:08 AM »
Never mind, figured it out!  Copied the icon.library from the Aminet archive and the LoadResident command from the author's demo ADF that I found a link to on EAB, and then added these lines to the very beginning of my Startup-Sequence:


Version >NIL: icon.library 46 REVISION 4
IF WARN
    IF EXISTS LIBS:workbench.library
        LoadResident >NIL: LIBS:workbench.library
    EndIf
    LoadResident >NIL: LIBS:icon.library REBOOT
EndIf


...I'm guessing the workbench.library lines are for people who actually have a workbench.library (4000T owners?  Or maybe if they're using some modified version that I think the author is also working on?), dunno but I left them in there.  And the rest did the trick!  And yes, definitely an improvement on speed, and nice to be able to see NewIcons images now instead of just the little square without having to install NewIcons or a bunch of other cr@p.  Just wish I hadn't had to beat my head against a wall for two hours to figure it out.  ;)

Ah, Amiga programmers.  Making you have to actually work to get anything installed, since 1985.  ;)
« Last Edit: June 19, 2013, 09:50:49 AM by Oldsmobile_Mike »
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

Offline mfilos

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 662
    • Show only replies by mfilos
    • http://mfilos.blogspot.com/
Re: PeterK icon library
« Reply #5 on: June 19, 2013, 11:00:21 AM »
It not that hard tbh.

Just copy icon.library to libs: and then add a LoadModule or LoadResident declaration as first line in S-S to load the library.
I'd suggest to also use the Workbench.library 45.132 which also works for WB3.0 as it has many improvements from the stock one.

Also it's not only the speed and the ability to be able to SEE (and not the dot) EVERY icon available without having to install anything.
It also has the ability to remap colors being able to see even OS4.x and DualPNG icons in OCS systems (without RTG). On Snapshot... you get a popup windows asking if you want to convert the icon to 3.5 format in order to gain size and speed more!
It has embedded support for PNG decoding (which zlib.library done externally) and also it has RTG support for displaying FULLY OS4.x and DualPNG icons without the need of using AfAOS or PowerIcons patch. Everything is built inside the library!
Also there is support for grayscale color remapping and other stuff that I can't remember by heart.

Peter Keunecke's work is just unbelievable and a great asset for every Amiga that uses Workbench frequently.
« Last Edit: June 19, 2013, 11:05:34 AM by mfilos »
Visit my Amiga blog here
- A600: Vampire V3, 128MB, A604n, 16GB CF, Indivision ECS, RapidRoad, MAS-Player + Custom Audio Mixer (internal), HxC SD + Slim floppy (internal)
 

Offline NovaCoder

Re: PeterK icon library
« Reply #6 on: June 19, 2013, 11:24:46 AM »
Is there any benefit to loading it from your start-up sequence?

I've just got it in my LIBS folder and everything seems nice and fast on my system.
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline mfilos

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 662
    • Show only replies by mfilos
    • http://mfilos.blogspot.com/
Re: PeterK icon library
« Reply #7 on: June 19, 2013, 11:34:07 AM »
Simply copying it in Libs doesn't work on it's own (unless you have OS3.9). You need a declaration for loading it.
« Last Edit: June 19, 2013, 11:38:23 AM by mfilos »
Visit my Amiga blog here
- A600: Vampire V3, 128MB, A604n, 16GB CF, Indivision ECS, RapidRoad, MAS-Player + Custom Audio Mixer (internal), HxC SD + Slim floppy (internal)
 

Offline NovaCoder

Re: PeterK icon library
« Reply #8 on: June 19, 2013, 11:42:15 AM »
Quote from: mfilos;738294
Simply copying it in Libs doesn't work on it's own (unless you have OS3.9). You need a declaration for loading it.


Yes I do have 3.9 :)

What is the difference then, is 3.9 loading the library into my FASTRAM automatically with SetPatch or something?
Life begins at 100 MIPS!


Nice Ports on AmiNet!
 

Offline mfilos

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 662
    • Show only replies by mfilos
    • http://mfilos.blogspot.com/
Re: PeterK icon library
« Reply #9 on: June 19, 2013, 11:58:29 AM »
I believe so yeah. Either that or the new workbench.library (although I kinda doubt it).
I tried both using icon.library in a custom ROM or leaving it on the disk (libs) and haven't saw any different both in speed and memory conservation.
I'm pretty sure in both situations icon.library is loaded into FastRAM so no harm done to have it on HD.

Will have to ask PeterK just to be sure I guess
Visit my Amiga blog here
- A600: Vampire V3, 128MB, A604n, 16GB CF, Indivision ECS, RapidRoad, MAS-Player + Custom Audio Mixer (internal), HxC SD + Slim floppy (internal)
 

Offline stefcep2

  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 1467
    • Show only replies by stefcep2
Re: PeterK icon library
« Reply #10 on: June 19, 2013, 12:38:32 PM »
So in 3.1 this does a double boot?
 

Offline mfilos

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 662
    • Show only replies by mfilos
    • http://mfilos.blogspot.com/
Re: PeterK icon library
« Reply #11 on: June 19, 2013, 12:39:53 PM »
Correct.
Booting till LoadModule/LoadResident declaration, then a reboot and continuing booting.
Visit my Amiga blog here
- A600: Vampire V3, 128MB, A604n, 16GB CF, Indivision ECS, RapidRoad, MAS-Player + Custom Audio Mixer (internal), HxC SD + Slim floppy (internal)
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: PeterK icon library
« Reply #12 on: June 19, 2013, 12:42:49 PM »
Quote from: stefcep2;738300
So in 3.1 this does a double boot?


Yes but you can avoid the double boot by burning yourself a custom ROM.

(And put all the double boot stuff in the custom ROM while u r at it, not just icon.library)

My Amiga double boots because of something the accellerator software does, I think.  I wish I could get rid of that...
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline mfilos

  • Hero Member
  • *****
  • Join Date: Aug 2005
  • Posts: 662
    • Show only replies by mfilos
    • http://mfilos.blogspot.com/
Re: PeterK icon library
« Reply #13 on: June 19, 2013, 03:46:03 PM »
I got a reply from PeterK concerning these questions and this was his reply:

Quote
...Indeed you don't need LoadResident or LoadModule on systems with SetPatch v44. SetPatch will automatically look into the LIBS: drawer and checks it for iconlib and wblib.
If they are in LIBS: then SetPatch will unload the already resident icon and wb libraries and replaces them with those from LIBS:.
There is no advantage to load them with LoadResident or LoadModule if you have SetPatch v44, except for the copyright.

Loading these libs from a ROM is of course faster than loading them from a harddisk and you can also start the system without a reboot if everything comes from the ROM.
In case that SetPatch or LoasdModule or LoadResident are doing the job you will always need one reboot to make these libs resiident.

Btw, if you load them twice, first with LoadModule or LoadResident and then with SetPatch again without DISABLEROMMODULES "" then you are really loosing 200 kByte of FastMem.

LoadModule or LoadResident are required for OS 3.0/3.1.systems.
Visit my Amiga blog here
- A600: Vampire V3, 128MB, A604n, 16GB CF, Indivision ECS, RapidRoad, MAS-Player + Custom Audio Mixer (internal), HxC SD + Slim floppy (internal)
 

Offline Oldsmobile_MikeTopic starter

Re: PeterK icon library
« Reply #14 on: June 19, 2013, 08:09:56 PM »
It double boots on mine (OS 3.1), but since I'm running from CF and my screen stays black during the boot process I don't even notice except for a quick flicker of the power LED.  No big deal.

And thanks for the comments @mfilos!  I just discovered your blog somewhat recently and have really been enjoying reading about your projects!

Last, any tips where to get the author's updated workbench.library?  Obviously going to Aminet and just typing "workbench.library" into the search would be too easy.  ;)  Is this something I would need to compile myself, somehow?
Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos