Newest Datatypes on 68k?

OlafS3 · 4092

OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
on: July 17, 2021, 03:11:51 AM
Hello Miker,

thanx for your contributions

I would like to know if you could supply newest compile of your datatypes for 68k including your changed multiview



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #1 on: July 17, 2021, 09:20:17 AM
Hello Miker,

thanx for your contributions

I would like to know if you could supply newest compile of your datatypes for 68k including your changed multiview

Hello OlafS3

Yes. I will compile the last four updated datatypes for 68k and post them here. They are JPEG, BMP, TGA, PCX. They haven't been fully tested for 68k so provide feedback if you could.

As for MultiView it will require a few revisions then I can post it.



OlafS3

  • Legendary Member
  • *****
    • Posts: 544
    • Karma: +50/-8
Reply #2 on: July 17, 2021, 09:35:43 AM
thanks a lot

I will test datatype and multiview and report back as soon you upload them



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #3 on: July 17, 2021, 09:43:00 AM
Thanks miker, I will test the new Datatypes on AROS One 68k, at the moment I'm still testing the Descriptors also for the recognition of files without extension.

AROS 68k like AROS x86 doesn't use Deficons, even if AROS 68k could use the Deficons OS3 version.

Naturalmente questo passaggio sarà fatto se PeterK farà una icon.library che supporti questa funzione !

http://eab.abime.net/showpost.php?p=1491648&postcount=3687
« Last Edit: July 17, 2021, 10:10:01 AM by AMIGASYSTEM »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #4 on: July 17, 2021, 02:11:53 PM
Of course if PeterK makes an icon library that supports deficons.  :)



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #5 on: July 17, 2021, 03:56:11 PM
I use the same library of PeterK on OS 3.9 BB4 AfA One and the recognition of files with or without extensions works perfectly, see screenshot. I used the same Descriptors created on AROS One x86 and 68k, on OS3 the problem mentioned by PeterK does not exist.


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #6 on: July 17, 2021, 06:04:23 PM
I use the same library of PeterK on OS 3.9 BB4 AfA One and the recognition of files with or without extensions works perfectly, see screenshot. I used the same Descriptors created on AROS One x86 and 68k, on OS3 the problem mentioned by PeterK does not exist.

AMIGASYSTEM

It doesn't seem to be as much a problem as it is a case of AROS Icon Library using a different method than OS3. So it isn't compatible with PeterK's Icon Library. But he mentioned a future version. We'll see how that goes.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #7 on: July 17, 2021, 07:00:55 PM
Yes, because the AROS 68k Icon.library is not usable with AROS One 68k because it does not support Dual-PNG icons.


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #8 on: July 18, 2021, 09:52:36 AM
The datatypes are finished. I just have to compile them for 68k.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #9 on: July 18, 2021, 10:30:06 AM
Thanks, also the x86 version ? as soon as they are available I'll proceed to the distribution of the new version 1.6 of AROS One x86, full of many new graphics (Themes, Icosn) system improvements and all software updates in recent months.


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #10 on: July 20, 2021, 11:49:18 AM
I have assembled all the updated datatype sources. I'll compile them this evening and post them here.

The first set will be for 68k. Then a few days later I'll post the x86 versions. There's a little bit of setup time to compile them.



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #11 on: July 20, 2021, 12:27:16 PM
thank you Miker



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #12 on: July 20, 2021, 03:05:19 PM
. So it isn't compatible with PeterK's Icon Library. But he mentioned a future version. We'll see how that goes.

The future has arrived, PeterK fulfilled my request and created for me the new Icon.library for AROS 68k, did some tests and Descrittori + Datatypes work perfectly on AROS 68k.

Now AROS 68k as well as AROS x86 will recognize all files supported by the Datatypes "by single format" even if they do not have the extension

http://eab.abime.net/showpost.php?p=1496768&postcount=3728



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #13 on: July 20, 2021, 03:55:38 PM
AMIGASYSTEM

Great news! One day you will have to write some simple instructions for using datatype descriptors for filetypes.

They have to be really simple for me to understand. For some reason I more easily understand complex concepts, but it's the little things that confuse me.  :)

Specifically how do you assign a custom icon based on filetype?

I understand about the datatype descriptor with the pattern and mask. But how do you detect filetype and assign an icon for it?
« Last Edit: July 20, 2021, 04:01:06 PM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #14 on: July 20, 2021, 04:46:19 PM
Some files, if you look at them with a Hexadecimal Edit, you will notice that at the beginning of the file there is a sort of "acronym" and this is what the Descriptor and Deficons look for to recognize the file.

I am not a developer but I like to experiment to understand things better, for some files it was easy to find these "acronyms", but there are files that do not have this recognition, and I relied on the Web or by viewing the default values set on Deficons Prefs.

What is very important is that there are no "duplicate" Descriptors, for example AROS by default uses the "Archive" Descriptor, one for all archive formats known to the datatype, this Descriptor will assign the same "def_archive" icon to all archives and therefore should be eliminated if you want a different icon for each file format.

In the scrennshot as an example you can see how a JPG file is recognized by a Hexadecimal Editor, by Dopus4 and by DefIconPrefs.

Once the DefIcons file is recognized it will assign the def_JPG to this file, on AROS the Descriptor will do it instead.

Then maybe I'll send you some of my descriptors so that you can study them, for sure you'll do better than me given your great experience as a developer.