18 June 2021, 22:02 | #3681 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
On AROS x86/68k natively it has only one Datatype Descriptor called "Archive", see screenshot, but this Datatype only recognized some Archives.
I had fun creating individual Descriptors so that each Archive had its own icon and tool. In the end on AROS x86 I succeeded, see attached small video. http://eab.abime.net/zone/Test-Datatypes.avi Now the problem is on AROS 68k where I use your library. If you want to do some tests download the Nightly Build HERE and run it without modifying anything and then try to visualize an Archive or an image. Last edited by AMIGASYSTEM; 30 June 2021 at 16:26. |
19 June 2021, 15:09 | #3682 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
|
Hi Carlo,
you're welcome as a new developer and your datatype descriptors seem to work very nice as shown in the video clip. I didn't check out the latest Aros 68k build yet. Maybe, I could try to find out how the Aros icon.library works together with the datatype system and which interface they use for that purpose, I've to take a deeper look into the Aros autodocs for the details. Btw. the icon.library 46.4.545 has been released on Aminet now: http://aminet.net/package/util/libs/IconLib_46.4 But there is nothing new in the Aros version concerning DefIcons and Datatypes. |
19 June 2021, 15:46 | #3683 | |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
Quote:
I just found the tools der decompile and recompile automating the work with a Dopus4 tab, which everyone can do, see video http://eab.abime.net/zone/CreateDatatypeDescriptors.avi Last edited by AMIGASYSTEM; 19 June 2021 at 16:17. |
|
19 June 2021, 16:16 | #3684 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
I may be wrong, but a similar icon.library could also be useful on OS 3.0/3.1 that don't use the default Deficon.
|
19 June 2021, 18:28 | #3685 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
|
Carlo, in your video example the archive "datatype" only seems to identify the type by the file name extension, not by the binary contents of the file. But icon.library needs a tool that examines the file data. Ok, usually the real datatypes are doing that, too.
There are some similar implementations for this file identification task already: the datatypes, DefIcons and the file types systems of DOpus4 and also DOpus5. People are inventing the wheel again and again. There is an older version of DefIcons for OS 3.1 in the NewIcons46 package, but without a preferences program for defining new types. |
19 June 2021, 19:02 | #3686 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
Yes Peter that video was just an example (first experiments) using the "Pattern", if you use the "Mask" the archive is recognized with or without extension, see attached video.
http://eab.abime.net/zone/DatatypesDescrttors.avi The only problem is that some applications do not recognize the archive without extension, of those tested only UnARC recognizes archives without extension, RNOArchive and ZuneARC recognize archives only if they have the extension. Even Multiview with the Descriptor is able to recognize and display images with or without extension. |
20 June 2021, 22:46 | #3687 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
|
Looking into the Aros 68k sources I've seen that they use ObtainDatatype() in their identify.c code of the icon.library. Maybe I can support that as an alternative to the GlobalIdentifyHook function in one of my next versions?
|
21 June 2021, 00:47 | #3688 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
You are a Great Peter !
|
21 June 2021, 11:36 | #3689 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
|
Added icon.library 47.-1.546_68000
Some OS 3.2 users with a fast 68000 CPU (i.e. Minimig) complained about a missing icon.library that could be used on the new OS. Although I really don't like this conflict with the version numbers, I finally made a v47 prototype for the 68000 with support for the new DefIcons file type identification feature (the v47.-1 can also appear as v47.65535, that's the same, but -1 takes less space in the string and indicates that it's not an OS 3.2 library). |
12 July 2021, 00:46 | #3690 |
Ruler of the Universe
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
|
Hello Peter, how do you do?
It's been a long time that I don't try a new library of yours and I've just tried the one of Aminet. I just can't believe that it snapshots the icons without converting them to less colors. That's wonderful, marvellous. Many thanks. Thanks again |
12 July 2021, 01:03 | #3691 |
Ruler of the Universe
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
|
Wow, wow, wow. I didn't comment, but my main problem with OS3.2 over my distro was that very often when I was moving an icon from a folder to another, the system just hanged. For example, with your latest version on Aminet even, the TC020, it was hanging.
Now with your beta, I've moved the icons all around, changed them a couple of times... perfect. Great job indeed And also, I should have said first. When I installed the files of OS3.2 (and changed the S-S, etc), the system was working more or less right, but once that I installed the roms (on WinUAE) it was crashing completely, even asking for a volume with an icon.library in Libs (and it was there). That was solved with your Aminet version, and now it doesn't hang when moving icons........... Perfect. Well, now I would like to know why the dock of WB2000 dissapears from screen after like 10-15 seconds while it's in fact running. OS3.2 isn't fully compatible with OS3.9 or maybe with some programs. Last edited by Retrofan; 12 July 2021 at 01:36. |
12 July 2021, 13:17 | #3692 | ||||
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
|
Hi Retrofan,
nice to hear something from you again. In the past years I saw that you were logged in from time to time, but not posting very often. I hope you're well too and there was no serious reason for the lesser activity here. Quote:
Quote:
Quote:
Quote:
|
||||
12 July 2021, 15:17 | #3693 | |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
Quote:
There are however alternatives, you can install Amistart or WBDock that work well, see my screenshot. Last edited by AMIGASYSTEM; 14 July 2021 at 07:04. |
|
12 July 2021, 19:13 | #3694 | ||
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
|
Quote:
The new intuition.library is already included in the 3.2 Rom, but the new features have to be activated or can be disabled in the IControl preferences with the option "out of screen window dragging" (Switch that off !): Quote:
|
||
12 July 2021, 19:46 | #3695 |
Ruler of the Universe
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
|
"can be disabled in the IControl preferences with the option "out of screen window dragging" (Switch that off !):"
Ehhh... No, I prefer to use another dock instead as I love the windows out of screen . But it's really nice to know that you can use it disabling that option with a click. Yes, I think the same about installing OS3.2 here. When you have a system running right but with so many programs and things, it's easy that it won't work. In fact I first installed OS3.2 and I couldn't get it to work, so I installed it little by little (Libs, C, etc) and then I changed the s-s to charge the exec.library. Now that it works I've made a full install over AKReal and then changed to use my now working S-S. But it wouldn't work till I've installed your latest icon.library. Also...¿does OS3.2 delete "Execute"?. I've reinstalled it on my system. BTW your icon.library with OS3.2 in my distro keeps hanging the system (both; the TC020 and the beta 47.1-546). I thought I could use the beta, and the thing is that it works too. The problem is when I try to use CopyIcon, but not always. When I move there the icon I want to change the icon it freezes the screen. And sometimes just moving the icon from a place to another, just moving it in the same drawer even. Last edited by Retrofan; 12 July 2021 at 19:58. |
12 July 2021, 20:08 | #3696 |
Registered User
Join Date: Mar 2021
Location: Avellino, Italy
Posts: 170
|
Os 3.2 doesn't have Execute in c: anymore, it's a rom resident command. Delete it from c: and will magically appear when you invoke it.
|
12 July 2021, 20:49 | #3697 | |||
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,383
|
Quote:
Quote:
Quote:
Btw, you also have to update to the latest version of VisualPrefs from Aminet for OS 3.2. Did you do that already? There is a fix available. http://aminet.net/package/util/wb/VP-QuickFix Please also read the OS 3.2 FAQ (Aminet). Last edited by PeterK; 13 July 2021 at 18:09. |
|||
12 July 2021, 21:50 | #3698 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
Retrofan to have a stable 3.2 system you have to start with a clean installation, if you mix OS 3.2 with 3.9 the system will be unstable, as mentioned on another post also the localization of OS 3.2 applications are not compatible with the 3.9 App.
|
12 July 2021, 22:06 | #3699 | ||
Ruler of the Universe
Join Date: Mar 2010
Location: Lanzarote/Spain
Posts: 6,195
|
Quote:
Quote:
EDIT: I've installed the latest VisualPrefs. I've tried copying and moving some icons. It was working fine but after some tries it finally crashed again like before. Workbench library 47.33 Last edited by Retrofan; 12 July 2021 at 22:29. |
||
12 July 2021, 22:50 | #3700 | |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
Quote:
I don't have this problem, are you using the native OS 3.2 startup-sequence? |
|
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 |
|
|