Author Topic: updated cue.trid.xml,cue-rem.trid.xml for ISO CDImage cue/description  (Read 720 times)

jenderek

  • Sr. Member
  • ****
  • Posts: 375
Hello trid users,

Some days ago i must handle some CD-ROM disc images. To open some unknown
formats i installed CD-ROM burning software PowerISO 8.5 (see
http://www.poweriso.com/). Afterwards i run Pirisoft ccleaner. Under item for
file extension under registry cleaner i can scan for errors. There it
complains about suffix CUE. So i looked for such files.

So i run trid utility on such CUE examples. Most (25/28) are described as "ISO
CDImage cue/description - Data" by cue.trid.xml. But a few (like 22000gifs.cue
Strip_Poker_Pro.cue) are not described (See appended output/trid-v-old.txt).

For comparison reason i also run file command (newest version 5.45) on such
samples. Here the samples are described generic as "ASCII text" (See appended
file-5.45.txt in output) and with generic mime type text/plain (See appended
output/file-i-5.45.txt) and no file name extension (see appended
output/file-ext-5.45.txt).

For comparison reason i also run the file format identification utility DROID
(See https://sourceforge.net/projects/droid/). This does recognize some more
examples. The samples are here described as "Cue Sheet" with file name suffix
CUE and without mime type by PUID fmt/1069.

When looking on website with this PUID you see that it looks for the same
keywords (like FILE TRACK INDEX ) like TRID do. The difference is that it the
FILE keyword must not appear at the beginning.

With the help of others tool i find a page about CUE and BIN on file formats
archive team web site. So this site is now used as reference. That is
expressed by line like:
 <RefURL>http://fileformats.archiveteam.org/wiki/CUE_and_BIN</RefURL>

On this site you also found download links with CUE examples. There i also
found few not recognized samples.

On my Linux systems the examples are described as "CD image cuesheet" by
shared MIME-info database by the file name suffix. There the samples instead
of generic mime type text/plain get an own type. That is now expressed by line
like:
   <Mime>application/x-cue</Mime>

On the mentioned sites you find links Specifications. With the help of theses
documents i try to understand why examples are not recognized.  The example
22000gifs.cue is not recognized because it starts with another directive
CD_ROM_XA. Furthermore instead of FILE directive DATAFILE is used.
The Essential Elements sample is not recognized by TrID because it starts with
CDTEXTFILE and the FILE command comes later.
Strip_Poker_Pro.cue sample is not recognized by TrID because it starts with
CATALOG and the FILE command comes later.
Because only a few such samples are not recognized and i do not how valid the
samples are, so i do not create for these exceptions additional definitions.

With the new trid definition now my CUE examples are described as before with
some additional information (see appended output/trid-v-new.txt). TrID
definitions, some samples and output are stored in archive cue_.zip. I hope
that my definition can be used in future version of triddefs .

With best wishes
Jörg Jenderek

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2743
    • Mark0's Home Page
Re: updated cue.trid.xml,cue-rem.trid.xml for ISO CDImage cue/description
« Reply #1 on: August 06, 2023, 04:42:55 PM »
Thanks for the update!