[File] [PATCH] Magdir/riff Easy CD Creator disk image *.CIF described only generic

Christos Zoulas christos at zoulas.com
Sat Aug 5 13:52:28 UTC 2023


Committed, thanks!

christos

> On Aug 1, 2023, at 7:51 PM, Jörg Jenderek <joerg.jen.der.ek at gmx.net> wrote:
> 
> Hello,
> some weeks ago i handled some RIFF based video files. When i run
> file command version 5.45 on more RIFF based samples with CIF file name
> suffix and related files i get an output like:
> 
> MY_CD.cif:                    RIFF (little-endian) data
> MY_CD.iso:                    ISO 9660 CD-ROM filesystem data
> 			      'ADAPTEC_'
> MY_CD5.cif:                   RIFF (little-endian) data
> MY_CD5.iso:                   ISO 9660 CD-ROM filesystem data
> 			      '220522_1939'
> fmt-334-signature-id-445.cif: ASCII text, with no line terminators
> fmt-495-signature-id-768.cif: ASCII text, with no line terminators
> 
> With --extension option only ??? is displayed for CIF samples.
> Furthermore with option -i for inspected CIF samples only generic
> application/octet-stream is shown.
> 
> The inspected samples are created by myself with Adaptec CD Creator
> version 2.1.082 1995-1996. Here the samples are called "Adaptec CD Image
> File". Beside the CIF samples also files with other suffix are created.
> These are not considered in this session.
> 
> For comparison reason i also run the file format identification
> utility DROID ( See https://sourceforge.net/projects/droid/). This
> identifies my CIF examples as "ISO 9660 Disk Image File" by fmt/468.
> But the file name suffix is considered as bad ( See EXTENSION_MISMATCH
> is true in appended droid-cif.csv.gz). The type of the samples is also
> described as "Container". Here also other CIF sample are recognized.
> The fmt-334-signature-id-445.cif sample is described as
> "Crystallographic Information Framework" by fmt/334. The sample
> fmt-495-signature-id-768.cif is described as "ATCO-CIF" by fmt/495.
> 
> For comparison reason i run the file format identification utility
> TrID ( See https://mark0.net/soft-trid-e.html). This identifies also
> all my CIF examples with low priority as "Generic RIFF container" by
> riff.trid.xml. The examples are described with high rate as "Easy CD
> Creator disk image" by img-cif.trid.xml with correct suffix CIF. The
> examples are also described with mid range rate as "ISO 9660 CD image"
> by iso-9660-image.trid.xml (See appended trid-v-cif.txt.gz).
> This tool list the used file name extension and with -v option the
> related URL pointing to used software company. Luckily with shown
> information i found page about "Easy CD Creator" on file formats archive
> team web site. That informations are expressed by comment lines inside
> Magdir/riff like:
> # URL:		http://fileformats.archiveteam.org/wiki/Easy_CD_Creator
> #		https://en.wikipedia.org/wiki/Roxio
> # Reference:	http://mark0.net/download/triddefs_xml.7z
> #		defs/i/img-cif.trid.xml
> On that page you find software Adaptec CD-Creator to produce such CIF
> images.
> 
> All detected CIF samples are at least general described by Magdir/riff
> with line
>   0	string		RIFF		RIFF (little-endian) data
> 
> For other RIFF samples the sub classification is done by considering 4
> byte string at offset 8. According to references this is 4 byte imag
> string. So this is now done by additional lines inside Magdir/riff like:
> >8      string          imag            \b, Easy CD Creator disk image
> !:mime	application/x-corel-cif
> !:ext	cif
> Instead of generic mime type application/octet-stream or
> application/x-riff i show an user defined one.
> 
> According to http://extension.nirsoft.net/cif also other CD burning
> tools are able to handle such CIF samples. I was able to open my samples
> by PowerISO version 8.5. Here the CIF samples are also called
> "Easy CD/DVD Creator image".
> 
> Apparently the CIF samples are container for ISO CD-ROM images. With the
> help of hex-editor and dd tool i was able to extract the embedded ISO
> images from different offsets. These samples are described by lines
> inside Magdir/filesystems like:
> 32769	string    CD001
> >0	use	cdrom
> 
> So show information about embedded ISO images by looking for ISO 9660
> CD-ROM tag CD001 and calling subroutine with suited offset. This is done
> by additional lines like:
> >>32769	search/4565/s	CD001	\b; with
> >>>&-32769	use	cdrom
> 
> After applying the above mentioned modifications by patch
> file-5.45-riff-cif.diff and using also Magdir/filesystems then all my
> inspected CIF examples are now described with more details. This now
> looks like:
> 
> MY_CD.cif:                    RIFF (little-endian) data
> 			      , Easy CD Creator disk image
> 			      ; with
> 			      ISO 9660 CD-ROM filesystem data
> 			      'ADAPTEC_'
> MY_CD.iso:                    ISO 9660 CD-ROM filesystem data
> 			      'ADAPTEC_'
> MY_CD5.cif:                   RIFF (little-endian) data
> 			      , Easy CD Creator disk image
> 			      ; with
> 			      ISO 9660 CD-ROM filesystem data
> 			      '220522_1939'
> MY_CD5.iso:                   ISO 9660 CD-ROM filesystem data
> 			      '220522_1939'
> fmt-334-signature-id-445.cif: ASCII text, with no line terminators
> fmt-495-signature-id-768.cif: ASCII text, with no line terminators
> 
> I hope my diff file can be applied in future version of file
> utility.
> 
> Unfortunately the CIF file name suffix is also used for other file formats.
> 
> With best wishes,
> Jörg Jenderek
> --
> Jörg Jenderek
> <trid-v-cif.txt.gz><file-5_45-riff-cif_diff.DEFANGED-13><file-5_45-riff-cif_diff_sig.DEFANGED-14><droid-cif.csv.gz>--
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file
> <sanitizer.log>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20230805/6a816538/attachment.asc>


More information about the File mailing list