Author Topic: 2 des-corel-v1?.trid.xml for newer zipped Corel DESIGN graphics *.des  (Read 206 times)

jenderek

  • Full Member
  • ***
  • Posts: 152
Hello trid users,

some days ago i run TrID on newest zip based Corel DESIGN graphics
*.des. All are described correctly as generic Zip document container by
zip-doc-cont.trid.xml. But they are misidentified as zipped CorelDRAW
drawing (*.cdr) by cdr-zip.trid.xml. ( see appended
des_14/output/trid-v-old.txt and des_17/output/trid-v-old.txt).

The newest file(1) command describes such DES examples as Corel DESIGNER
graphics with version 14-16 ( see appended des_14/output/file-new.txt)
or with version 17-21 ( see appended des_14/output/file-new.txt).

All such inspected Corel samples are zip containers, where first archive
member is an uncompressed file with 8 byte name mimetype. The
compression method 0 is expressed by XML construct like:
   <Bytes>0000</Bytes>
   <Pos>8</Pos>
This can be verified by looking in listing output of 7zip ( see appended
des_14/output/7z-l.txt and des_17/output/7z-l.txt).

This file contains the corresponding mime type. This starts for
inspected Corel samples with "application/x-vnd.corel.".
So i run tridscan on samples and delete null and garbage patterns and
get definition file des-corel-v14.trid.xml and
des-corel-v17.trid.xml. For version 14 til 16 the mime type ends with
designer.document+zip whereas for version 17 and higher the mime type
ends with zcf.designer.document+zip. This gives a 45(2Dh) byte long
mime type string for older zip variants and 49 (31h) string for newer ZIP
variants. This is expressed in des-corel-v14.trid.xml by XML construct
like:
 <Bytes>2D0000002D000000080000006D696D65747970656170706C69636174696F6E2F
 <ASCII> - . . . - . . . . . . . m i m e t y p e a p p l i c a t i o n /
 <Pos>18</Pos>

Some information about such graphic is found on file formats archive
website. This is expressed by line:
 <RefURL>http://fileformats.archiveteam.org/wiki/Corel_Designer</RefURL>

From version 17 the RIFF part is stored as a file with name
"root.dat". This is expressed inside des-corel-v17.trid.xml in global
string section by line like:
   <String>ROOT.DAT</String>

With the new 2 definition files the undetected Corel Corel DESIGN
graphics are now recognized ( see appended des_14/output/trid-new.txt
and des_17/output/trid-new.txt). TrID definitions, some examples and
output are stored in archive des_zip.zip. I hope that my 2 XML files can
be used in future version of triddefs.

With best wishes
Jörg Jenderek

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2076
    • Mark0's Home Page
Many thanks Jörg!