Newest Datatypes on 68k?

OlafS3 · 1063

miker1264

  • Legendary Member
  • *****
    • Posts: 748
    • Karma: +34/-2
Reply #15 on: July 21, 2021, 01:10:33 AM
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: 748
    • Karma: +34/-2
Reply #16 on: July 21, 2021, 06:07:07 AM
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

  • Legendary Member
  • *****
    • Posts: 711
    • Karma: +32/-1
  • AROS One
    • AROS One
Reply #17 on: July 21, 2021, 10: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, 03:24:48 PM by AMIGASYSTEM »



salvo

  • Legendary Member
  • *****
    • Posts: 1156
    • Karma: +14/-4
  • Invalid Civil
Reply #18 on: July 21, 2021, 12:47:03 PM
hi Miker i have uploding your datatype archive on archives

Software Contributor RNOPublisher, RNOArchive

Sign Up On AmigaMap
https://amigamap.com/


miker1264

  • Legendary Member
  • *****
    • Posts: 748
    • Karma: +34/-2
Reply #19 on: July 21, 2021, 03:44:46 PM
hi Miker i have uploding your datatype archive on archives

Thank you. More to come later.  :)



miker1264

  • Legendary Member
  • *****
    • Posts: 748
    • Karma: +34/-2
Reply #20 on: July 21, 2021, 03:46:09 PM
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, 06:02:22 PM by miker1264 »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 711
    • Karma: +32/-1
  • AROS One
    • AROS One
Reply #21 on: July 21, 2021, 09: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, 10:42:43 PM by AMIGASYSTEM »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 711
    • Karma: +32/-1
  • AROS One
    • AROS One
Reply #22 on: July 21, 2021, 10: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: 748
    • Karma: +34/-2
Reply #23 on: July 23, 2021, 11: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

  • Legendary Member
  • *****
    • Posts: 711
    • Karma: +32/-1
  • AROS One
    • AROS One
Reply #24 on: July 23, 2021, 11: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: 748
    • Karma: +34/-2
Reply #25 on: August 10, 2021, 06:47:20 AM
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: 748
    • Karma: +34/-2
Reply #26 on: August 10, 2021, 06:50:01 AM
Here are the sources for the modified JPEG datatype if you'd like to compile it for x86.



miker1264

  • Legendary Member
  • *****
    • Posts: 748
    • Karma: +34/-2
Reply #27 on: August 10, 2021, 07: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: 748
    • Karma: +34/-2
Reply #28 on: August 10, 2021, 07: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: 748
    • Karma: +34/-2
Reply #29 on: August 10, 2021, 07: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.  ;)