Newest Datatypes on 68k?

OlafS3 · 4078

miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #15 on: July 20, 2021, 06:10:33 PM
Yes please. Send me a couple file descriptors.

The "acronym" at the beginning of the file is traditionally called the file signature. It can be a number such as 'P6' or two letters such as 'BM' or three such as 'PNG'. In the case of jpeg it should be 'JFIF'. But the file signature can be a series of hex values.

The concept behind the file signature is to make each filetype somewhat unique and easier to identify. I typically look up each file signature whenever I work on a new datatype descriptor.



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #16 on: July 20, 2021, 11:07:07 PM
Here are the first two updated datatypes. They are JPEG and BMP.

Tomorrow I will have to verify the TGA and PCX datatypes to make sure I'm compiling the right
sources. I have several different versions. After that I'll compile both for 68k.

After that I will compile all four datatypes for x86 all at one time from sources.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #17 on: July 21, 2021, 03:21:42 AM
Hi miker I attach you the Graphic Descriptors:

BMP
GIF
ILBM
JPG
PCX
PNG
TGA
TIF

These Descriptors work well on AROS x86, I didn't test TIF because I don't have the tif.datatypes for AROS x86, anyway the TIF file is recognized with or without extension.

Of course you will need to create and copy in te System DEF ICONS for each individual format.

On AROS 68k all graphic files are recognized with or without extension, TIF "Works well", TGA blocks my executables on the Wanderer, probably is the value x00 that is included in the descriptor creates some problem, I did more tests this morning but I did not solve.

On AROS 68k if with TGA I use Descriptor with only the extension, everything works regularly :)
« Last Edit: July 21, 2021, 08:24:48 AM by AMIGASYSTEM »



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #18 on: July 21, 2021, 05:47:03 AM
hi Miker i have uploding your datatype archive on archives



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #19 on: July 21, 2021, 08:44:46 AM
hi Miker i have uploding your datatype archive on archives

Thank you. More to come later.  :)



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #20 on: July 21, 2021, 08:46:09 AM
AMIGASYSTEM

I already have those descriptors. I was thinking more about the custom archive descriptors.  :)

You seem to have uploaded only the binary files. This is a datatype descriptor text file that I use to compile descriptors.
« Last Edit: July 21, 2021, 11:02:22 AM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #21 on: July 21, 2021, 02:25:14 PM
I enclose Archives Descriptors:

7z
BZ2
GZ
LHA
LZH
LZX
RAR
TAR
ZIP

All Archive Descriptors work well on AROS x86, but not all Applications are fully functional.

ZuneARC recognizes all archives but handles them "only if they have an extension".

UnARC supports both extension and extensionless archives, but does not support RAR archives (XAD problem)

RNOArchive does not support archives without extension and does not support RAR archives (XAD problem)



AROS 68k:

UnARC supports both extension and extensionless archives but XAD does not have a tool to unpack TAR and GZ Archives.

RNOArchive has the same problems as UnARC but does not support archive files without extensions.

I have not tested other OS3 Applications on AROS 68k because they are less efficient.
« Last Edit: July 21, 2021, 03:42:43 PM by AMIGASYSTEM »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #22 on: July 21, 2021, 03:42:09 PM

You seem to have uploaded only the binary files. This is a datatype descriptor text file that I use to compile descriptors.

Sorry miker I didn't understand, I attach the new archive that contains the decompiled Descriptors (txt), moreover I added also the 7z and LZH Descriptors.


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #23 on: July 23, 2021, 04:02:36 PM
Sorry. Slight delay in compiling the datatypes due to health issues. Maybe this evening. And I will provide source code in case someone else wants to compile them.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3755
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #24 on: July 23, 2021, 04:58:56 PM
miker health is more important than anything else, I wish you well, rest and only when you feel better resume work.


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #25 on: August 09, 2021, 11:47:20 PM
Here you will find the sources for the revised BMP datatype if anyone would like to compile it for x86.

You may use the Picture Datatype Creation Tool if you'd like.



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #26 on: August 09, 2021, 11:50:01 PM
Here are the sources for the modified JPEG datatype if you'd like to compile it for x86.



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #27 on: August 10, 2021, 12:09:44 AM
Here is the 68k version of the updated Targa datatype with a Save Function.

I've also included the sources for anyone who would like to compile for x86.



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #28 on: August 10, 2021, 12:16:16 AM
I almost forgot to include the Datatype Descriptors for Targa and PCX datatyptes.

These are the text file sources.



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #29 on: August 10, 2021, 12:35:19 AM
Lastly, here is the 68k version of the updated PCX datatype including the datatype descriptor.

I have also included the sources if you'd like to compile the datatype yourself.

I will try to test Targa and PCX datatypes on 68k in the next several days. Let me know if they work for you or not.  ;)