English Amiga Board    


Go Back   English Amiga Board > » Coders > Coders. System

Reply
 
Thread Tools
Old 30 September 2012, 11:43   #201
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
Updated to icon.library 46.4.258:

Direct support for workbench.library v39/v40 by reintroducing the GetIcon() function mapping all newer icon formats to the 4 system colors.
PeterK is offline   Reply With Quote
Old 30 September 2012, 13:11   #202
Calabazam
Registered User
 
Join Date: Sep 2005
Location: France
Posts: 145
Still not working, even with the new version that don't need the newer workbench.libray.

Could MCP or another fancy program from my SS be responsible?
Calabazam is offline   Reply With Quote
Old 30 September 2012, 13:27   #203
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 566
Quote:
Originally Posted by Calabazam View Post
Could MCP or another fancy program from my SS be responsible?
Just comment (";") MCP out and reboot. Then you will see if that help.
daxb is offline   Reply With Quote
Old 30 September 2012, 14:25   #204
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
Quote:
Originally Posted by Calabazam View Post
Still not working, even with the new version that don't need the newer workbench.libray.

Could MCP or another fancy program from my SS be responsible?
Could be everything. Why don't you tell me at least what the Version command reported?

You can also try to comment out the first two lines in your s-s, because I don't know what they do. And if it doesn't help try to comment out one line after another until you find the reason.
PeterK is offline   Reply With Quote
Old 30 September 2012, 18:12   #205
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 34
Posts: 1,318
Send a message via Yahoo to mfilos Send a message via Skype™ to mfilos
Peter my friend just checked the latest 258 version and it ROX.
Can't test for older workbench.library since I only use Kickstart 3.1+

I had an old version since I haven't updated for some time now, and I can say that icon loading (OS4, PNG) is A LOT faster (at least 2x-3x for sure) than the previous version that used datatypes.
Terrific job. I can't thank you enough for these constant and important updates.

/respect
__________________
Visit my Amiga blog here
- A4000D: 060@50/604@180, 384MB,ACard+80GB HD,SCSI Multicard Reader,DVD-RW,Grex4000 (RTG/Sound/NIC),Indivision 4000,RTG/AGA AutoSwitch,Deneb,ZorRAM
- A600: 030@37.5, 64MB, A604, 16GB CF, Indivision ECS, Subway, MAS-Player (internal), Custom Audio Mixer, HxC SD+Slim floppy (internal)
mfilos is offline   Reply With Quote
Old 07 October 2012, 18:46   #206
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
Update to icon.library 46.4.259

I've rewritten the GetIcon()/PutIcon() functions again which now preserve the OS 3.5 color mapping information even if you save the icons with the old workbench.library versions v39 or v40. Just the PNG and OS4 truecolor images are converted into the OS 3.5 format.
PeterK is offline   Reply With Quote
Old 07 October 2012, 22:56   #207
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 34
Posts: 1,318
Send a message via Yahoo to mfilos Send a message via Skype™ to mfilos
And it works just fine as always!
Awesome work there mate
__________________
Visit my Amiga blog here
- A4000D: 060@50/604@180, 384MB,ACard+80GB HD,SCSI Multicard Reader,DVD-RW,Grex4000 (RTG/Sound/NIC),Indivision 4000,RTG/AGA AutoSwitch,Deneb,ZorRAM
- A600: 030@37.5, 64MB, A604, 16GB CF, Indivision ECS, Subway, MAS-Player (internal), Custom Audio Mixer, HxC SD+Slim floppy (internal)
mfilos is offline   Reply With Quote
Old 09 October 2012, 10:12   #208
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
Update to icon.library 46.4.260

I've done it again. Now the GetIcon()/PutIcon() functions will keep using all the 256 colors of the OS 3.5 image data instead of mapping to the 4 system colors only when workbench.library v39 or v40 are in use. Thus, it's sufficient to load the icon.library resident to get support for all icons in 256 colors. Use SwazInfo for icon information and Iconian as icon editor.

New IconDemoADF.rar
Attached Thumbnails
Click image for larger version

Name:	IconDemoOS30_001.png
Views:	56
Size:	54.5 KB
ID:	32844  

Last edited by PeterK; 09 October 2012 at 11:21.
PeterK is offline   Reply With Quote
Old 09 October 2012, 11:33   #209
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 2,679
Send a message via Skype™ to Retrofan
Great. We should give you a gift or something
__________________


AmiKit for Real Amigas Released, Click Here
A1200 1D1, 8Gb SSD Hd, ACA 1231/42.
A1200 2B, Lateral slot for Cf Hd's, Tray system Dvd. ACA1230/56, Fast Ata MKII, Indivision MkII with Hdmi.
A1200 1D1, Lateral slot for Cf Hd's, Tray system Dvd, Clockport expander, Delfina, Subway, IDefix, BPPC, BVision, Acard with lateral slot for Scsi Cf HD...
C=64 with ITX inside. Posting with it.
Retrofan is online now   Reply With Quote
Old 09 October 2012, 11:49   #210
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 34
Posts: 1,318
Send a message via Yahoo to mfilos Send a message via Skype™ to mfilos
Peter for president
Nice news man... Just tested it in my 8 colors (MWB) ECS enviroment and it rox. Unbelievable how fast PNG and OS4 icons load in such limited machines without anything extra software and datatypes!!!
Epic work there man... /respect

__________________
Visit my Amiga blog here
- A4000D: 060@50/604@180, 384MB,ACard+80GB HD,SCSI Multicard Reader,DVD-RW,Grex4000 (RTG/Sound/NIC),Indivision 4000,RTG/AGA AutoSwitch,Deneb,ZorRAM
- A600: 030@37.5, 64MB, A604, 16GB CF, Indivision ECS, Subway, MAS-Player (internal), Custom Audio Mixer, HxC SD+Slim floppy (internal)
mfilos is offline   Reply With Quote
Old 09 October 2012, 12:14   #211
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
Thank you for your positive responses, my friends !!

But, did you really test this icon.library without using Scalos ?
If Scalos or DOpus5 are involved, then they always replace some icon.library and also workbench.library functions with their own code. In both cases the GetIcon() function, which I integrated now again, will not be called at all. It is only called when the workbench.library v39 or v40 is doing the complete GUI representation.
PeterK is offline   Reply With Quote
Old 09 October 2012, 12:23   #212
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 34
Posts: 1,318
Send a message via Yahoo to mfilos Send a message via Skype™ to mfilos
I'm using ClassicWB 3.9 which doesn't use Scalos my friend.
Scalos is only used on ClassicWB Full/Adv/AdvSp (3.1 versions).
I also dislike DOpus5 so this was from a stock Workbench.library 45.131 on OS3.9

Gief more EPIC reworked modules like this. So much win in one thread!
__________________
Visit my Amiga blog here
- A4000D: 060@50/604@180, 384MB,ACard+80GB HD,SCSI Multicard Reader,DVD-RW,Grex4000 (RTG/Sound/NIC),Indivision 4000,RTG/AGA AutoSwitch,Deneb,ZorRAM
- A600: 030@37.5, 64MB, A604, 16GB CF, Indivision ECS, Subway, MAS-Player (internal), Custom Audio Mixer, HxC SD+Slim floppy (internal)
mfilos is offline   Reply With Quote
Old 09 October 2012, 12:23   #213
Akira
Registered User
 
Join Date: May 2001
Location: #
Posts: 12,584
OK I Gotta try this, NewIcons pisses me off and I got way too many "little square"icons on my Amiga.
Do you think it can be run in tandem with FBlit, Peter?

I love your MWB setup, mfilos. Is that visualprefs on the windows? I'd love to take a peek at such a setup.
Akira is offline   Reply With Quote
Old 09 October 2012, 12:26   #214
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
Yes, it really should be run together with FBlit.
Have a look into the IconDemoADF to see how that works.

@mfilos

Ok, so you could use your setup with workbench.library v39 or v40, too. But, of course, it's recommended to keep using the workbench.library v45, because it's much more powerful.

Last edited by PeterK; 09 October 2012 at 12:33.
PeterK is offline   Reply With Quote
Old 09 October 2012, 13:58   #215
Akira
Registered User
 
Join Date: May 2001
Location: #
Posts: 12,584
Nice!
So where can we get this latest version? Aminet version is .256
Akira is offline   Reply With Quote
Old 09 October 2012, 14:07   #216
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
The latest files are always attached to the first posting of this thread.
PeterK is offline   Reply With Quote
Old 09 October 2012, 19:28   #217
Akira
Registered User
 
Join Date: May 2001
Location: #
Posts: 12,584
Ahhh punching myself on the face for being a tit.
I figure it out and it seems to be working, however, I can't seem to be able to remove icon borders (as I think NewIcons was taking care of that before). How should I do that? I run the iconsframeoff command and nothing happens.

Last edited by Akira; 09 October 2012 at 19:45.
Akira is offline   Reply With Quote
Old 09 October 2012, 20:35   #218
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
No, it seems to be impossible with the older workbench.libraries. They don't support frameless icons. At least, I couldn't find a way to achieve that yet. IconFramesOFF has no effect.

Btw, somebody reported a very old bug concerning disk icon snapshots with v39 or v40. The fix may come tomorrow or next days.

Last edited by PeterK; 09 October 2012 at 20:41.
PeterK is offline   Reply With Quote
Old 10 October 2012, 03:10   #219
Akira
Registered User
 
Join Date: May 2001
Location: #
Posts: 12,584
My RAM disk looks like a black dot, if that's the bug.
Is there any way you can look into NewIcons and see how they remove the frame, though? Everything is fantastic except that problem.

I wonder why they had icon borders to begin with, a totally shitty design decision by Commodore :P
Akira is offline   Reply With Quote
Old 10 October 2012, 14:39   #220
emufan
Registered User
 
Join Date: Feb 2012
Location: north of it
Posts: 528
PeterK: the new demo adf does not contain the workbench.library. can you add the newer again to it? thanks for all this.
emufan is offline   Reply With Quote
Old 10 October 2012, 16:24   #221
Akira
Registered User
 
Join Date: May 2001
Location: #
Posts: 12,584
Quote:
Originally Posted by emufan View Post
PeterK: the new demo adf does not contain the workbench.library. can you add the newer again to it? thanks for all this.
I thought the new version does not need workbench.library... am I wrong?
Akira is offline   Reply With Quote
Old 10 October 2012, 19:49   #222
emufan
Registered User
 
Join Date: Feb 2012
Location: north of it
Posts: 528
new icon.library is now working with normal workbench.library; but workbench.library 45.131 has some additional features and is working too with new icon.library.
emufan is offline   Reply With Quote
Old 10 October 2012, 20:01   #223
Akira
Registered User
 
Join Date: May 2001
Location: #
Posts: 12,584
I FOUND A SOLUTION TO BORDERS!
After trying all border removal apps on Aminet, only one really works.

OK, it does so after Workbench has started, as it is a WBStartup app, but it is working as far as I tested.
The app in question is this:
http://aminet.net/package/util/wb/2b_RemIBorder

Perhaps it helps Peter figure out how to add this into his library, but if it doesn't, at least we can all have borderless icons.
NOTE it doesn't remove icon filling though, so it's just for a plain background color workbench :/
I say it's better than nothing, for 3.X users.

Last edited by Akira; 10 October 2012 at 20:12.
Akira is offline   Reply With Quote
Old 11 October 2012, 01:46   #224
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 2,679
Send a message via Skype™ to Retrofan
Excuse me, but I've tried CWBAdvSP of one of my Cf's and I coudn't see for example the icon of my PCMCIA (just a dot). I've installed the last version that I had in the PCmcia Cf and I still can't see it and a lot of icons it has. What is the version of your library I should use for Scalos or should I change anything else? I have to say that I haven't tried this last beta but here.
__________________


AmiKit for Real Amigas Released, Click Here
A1200 1D1, 8Gb SSD Hd, ACA 1231/42.
A1200 2B, Lateral slot for Cf Hd's, Tray system Dvd. ACA1230/56, Fast Ata MKII, Indivision MkII with Hdmi.
A1200 1D1, Lateral slot for Cf Hd's, Tray system Dvd, Clockport expander, Delfina, Subway, IDefix, BPPC, BVision, Acard with lateral slot for Scsi Cf HD...
C=64 with ITX inside. Posting with it.
Retrofan is online now   Reply With Quote
Old 11 October 2012, 12:28   #225
emufan
Registered User
 
Join Date: Feb 2012
Location: north of it
Posts: 528
retrofan: i downloaded the demo adf from first posting. put tools from df0:c to my harddrive, also icon.lib and wb.lib (from older demo adf). editing startup-sequence. and thats it. use artm tool from aminet, to check which version of icon and workbench library you use.
emufan is offline   Reply With Quote
Old 11 October 2012, 12:48   #226
Akira
Registered User
 
Join Date: May 2001
Location: #
Posts: 12,584
Quote:
Originally Posted by Retrofan View Post
Excuse me, but I've tried CWBAdvSP of one of my Cf's and I coudn't see for example the icon of my PCMCIA (just a dot).
I think it has to do with DefIcons. It's doing the same on every deficon I have. It doesn't do it on any file that has a .info file attached.
Is there a way around this, Peter?
Akira is offline   Reply With Quote
Old 11 October 2012, 15:38   #227
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
Update to icon.library 46.4.262 and to IconDemoADF.rar

Fixed some disk snapshot and def_icon problems. For details, see 1. posting.

Sorry, but there is no space on the ADF left for the big fat wblib. Use your own, plz.
If you need a patch for the latest workbench library v45 to let it work under OS 3.0:
http://eab.abime.net/showpost.php?p=838432&postcount=1

@Akira, emufan & Retrofan

Are your problems solved now with the latest update ? Of course, I cannot remove the limitations of the older workbench.libraries. My intention was it to make possible to use the wblibs directly from ROM on OS 3.0/3.1 systems. But the workbench.library v44+ will always be the better choice.

Last edited by PeterK; 12 October 2012 at 23:12.
PeterK is offline   Reply With Quote
Old 13 October 2012, 07:50   #228
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
Update to icon.library 46.4.263

Now, I could improve the def_icon processing. It uses the DefIcons tool from the NewIcons46 package.
Attached Thumbnails
Click image for larger version

Name:	IconDemoADF.png
Views:	50
Size:	75.7 KB
ID:	32877  

Last edited by PeterK; 13 October 2012 at 08:12.
PeterK is offline   Reply With Quote
Old 13 October 2012, 09:39   #229
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 34
Posts: 1,318
Send a message via Yahoo to mfilos Send a message via Skype™ to mfilos
Damn... this was some quick update there Peter my friend.
262 at night, 263 in the morning. Good thing I kick these via ACATune or I'd had to burn all day LOL

Awesome job as always man!!! \o/
__________________
Visit my Amiga blog here
- A4000D: 060@50/604@180, 384MB,ACard+80GB HD,SCSI Multicard Reader,DVD-RW,Grex4000 (RTG/Sound/NIC),Indivision 4000,RTG/AGA AutoSwitch,Deneb,ZorRAM
- A600: 030@37.5, 64MB, A604, 16GB CF, Indivision ECS, Subway, MAS-Player (internal), Custom Audio Mixer, HxC SD+Slim floppy (internal)
mfilos is offline   Reply With Quote
Old 13 October 2012, 12:09   #230
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
No my friend, mfilos,
a real Greek would grave important things like this into stone, that holds up for ever. How else could we know after more than 2000 years who the greatest men were in Greece at those days. Just writing blogs on the net is not enough. Think about it....
PeterK is offline   Reply With Quote
Old 13 October 2012, 12:12   #231
Retrofan
Ruler of the Universe
 
Retrofan's Avatar
 
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 2,679
Send a message via Skype™ to Retrofan
jeje... I don't use much my Scalos Workbench. I think I will wait a couple of days to see if you make an icon.miracle to store in libs...
__________________


AmiKit for Real Amigas Released, Click Here
A1200 1D1, 8Gb SSD Hd, ACA 1231/42.
A1200 2B, Lateral slot for Cf Hd's, Tray system Dvd. ACA1230/56, Fast Ata MKII, Indivision MkII with Hdmi.
A1200 1D1, Lateral slot for Cf Hd's, Tray system Dvd, Clockport expander, Delfina, Subway, IDefix, BPPC, BVision, Acard with lateral slot for Scsi Cf HD...
C=64 with ITX inside. Posting with it.
Retrofan is online now   Reply With Quote
Old 13 October 2012, 12:25   #232
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
Ok Retrofan,
if nothing goes wrong and nobody is crying anymore that there are any bugs, issues, problems or some features missing, has demand for anything that could be solved then I will try to build up a new Aminet release in the next days.
PeterK is offline   Reply With Quote
Old 13 October 2012, 12:40   #233
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 34
Posts: 1,318
Send a message via Yahoo to mfilos Send a message via Skype™ to mfilos
Awesome! You need to work on other ROM modules in order to remove copyright shiz like you did on icon.library and make them faster and more stable!!!

Omw to carve my Amiga Blog into stone... LOL
__________________
Visit my Amiga blog here
- A4000D: 060@50/604@180, 384MB,ACard+80GB HD,SCSI Multicard Reader,DVD-RW,Grex4000 (RTG/Sound/NIC),Indivision 4000,RTG/AGA AutoSwitch,Deneb,ZorRAM
- A600: 030@37.5, 64MB, A604, 16GB CF, Indivision ECS, Subway, MAS-Player (internal), Custom Audio Mixer, HxC SD+Slim floppy (internal)
mfilos is offline   Reply With Quote
Old 13 October 2012, 12:54   #234
Akira
Registered User
 
Join Date: May 2001
Location: #
Posts: 12,584
I need to give this a try and report back to you. The library is fantastic, got to say. And now that I use that tool I posted above to remove borders, I am happy, as I don't really use workbench or window background images or patterns.
Akira is offline   Reply With Quote
Old 13 October 2012, 13:05   #235
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
Unfortunately, I had a few little problems with this DontShowIBorder tool, since the first icons, the disks, came up to early for this tool to remove the frames. A delay for LoadWB caused the system to start in an unstable 4 color mode. The only solution seems to call ResetWB from the Workbench menu. But these issues could be just a timing problem, which may or may not appear, depending on the system configuration.
PeterK is offline   Reply With Quote
Old 13 October 2012, 13:54   #236
Akira
Registered User
 
Join Date: May 2001
Location: #
Posts: 12,584
Yeah, I had those problems with most tools, but not with the one I posted, and I ran it in an "unlimited speed" system on WinUAE and everything worked fine. In any case, it's not a problem for you to fix
Akira is offline   Reply With Quote
Old 13 October 2012, 15:38   #237
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
I found another solution: NoIconBorder from Aminet.

Code:
 
Run >NIL: C:Wait 4       +
          C:NoIconBorder >NIL:
LoadWB
EndCLI >NIL:
That works reliable.
PeterK is offline   Reply With Quote
Old 13 October 2012, 16:12   #238
Akira
Registered User
 
Join Date: May 2001
Location: #
Posts: 12,584
And it loads before Workbench, that's really cool. How did I miss that one?
Let me try it!
Akira is offline   Reply With Quote
Old 13 October 2012, 16:22   #239
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hannover / Germany
Age: 52
Posts: 653
No, it's just launched before LoadWB, but it is executed with 4 seconds delay to be sure that the workbench screen has already been opened.

The launching cannot be done after LoadWB, because the startup-sequence must be finished as soon as possible or you will run into the 4 color screen problem.
PeterK is offline   Reply With Quote
Old 13 October 2012, 16:44   #240
Akira
Registered User
 
Join Date: May 2001
Location: #
Posts: 12,584
Well that's why the one I linked to works I guess, because it is loaded on WBStartup.

EDIT: tried out the new version, Deficons works great, everything is looking fine!

Last edited by Akira; 13 October 2012 at 19:51.
Akira is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
WB library conflict/versions Akira 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
CD32 Frog Feast test available. Test out the final! cdoty News 42 01 April 2008 16:20
Requesting icon.library v44+... nikvest request.Other 2 16 September 2007 01:58


All times are GMT +2. The time now is 00:14.

-->

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Page generated in 0.35511 seconds with 12 queries