[File] [PATCH] Magdir/riff CorelSHOW presentation *.shw + background .*shb
Christos Zoulas
christos at zoulas.com
Tue Aug 8 19:37:19 UTC 2023
Committed, thanks!
christos
> On Jul 20, 2023, at 7:29 PM, Jörg Jenderek <joerg.jen.der.ek at gmx.net> wrote:
>
> Hello,
> some days ago i handled some RIFF based samples from Corel. When i
> run file command version 5.44 on such samples i get a output like:
>
> 40WINNER.SHW: RIFF (little-endian) data
> frog.shw: RIFF (little-endian) data
> multi.shw: RIFF (little-endian) data
> qtour.shw: RIFF (little-endian) data
> test-shb.shb: RIFF (little-endian) data
> test-shr.shr: RIFF (little-endian) data
>
> All samples are at least general described by Magdir/riff with line
> 0 string RIFF RIFF (little-endian) data
> but with --extension option only ??? is displayed. Furthermore with
> option -i for samples only generic application/octet-stream is
> shown.
>
> For comparison reason i also run the file format identification
> utility DROID ( See https://sourceforge.net/projects/droid/).
> The SHW samples are described as "Corel Presentation" by PUID
> fmt/877 based on extension (See appended droid-shw.csv.gz).
>
> For comparison reason i run the file format identification utility
> TrID ( See https://mark0.net/soft-trid-e.html). This identifies also
> all examples with low priority as "Generic RIFF container" by
> riff.trid.xml. The SHW samples are described as "CorelSHOW
> presentation" with additional (v4) by shw-corel.trid.xml or with
> additional (v5) by shw-corel-5.trid.xml. The SHB sample is described
> as "CorelSHOW Background (v5)" by shb-corel.trid.xml.
> The SHR sample is described as "CorelSHOW player data (v5)" by
> shr-corel.trid.xml (See appended trid-v-shw.txt.gz).
> This tool list the used file name extension and with -v option the
> related URL pointing to used file format information. That
> informations are expressed by comment lines inside Magdir/riff like:
>
> # URL: http://fileformats.archiveteam.org/wiki/SHW_(Corel)
> # Reference: http://mark0.net/download/triddefs_xml.7z
> # defs/s/shw-corel.trid.xml
> # defs/s/shw-corel-5.trid.xml
> # defs/s/shb-corel.trid.xml
> # defs/s/shr-corel.trid.xml
>
> On the mentioned site you also find some samples to download.
> According to that documentation by second tag marker these corel
> files are identified. So i add lines like:
>> 8 string shw4 \b, CorelSHOW presentation, version 4
> !:mime application/x-corel-shw
> !:ext shw
>> 8 string shw5 \b, CorelSHOW presentation, version 5
> !:mime application/x-corel-shw
> !:ext shw
>> 8 string shl5 \b, CorelSHOW Background, version 5
> !:mime application/x-corel-shb
> !:ext shb
>> 8 string shr5 \b, CorelSHOW player data, version 5
> !:mime application/x-corel-shr
> !:ext shr
> Instead of generic application/octet-stream i also show user defined
> mime type.
>
> After applying the above mentioned modifications by patch
> file-5.44-riff-shw.diff then all my inspected examples
> are now described with more details. This now looks like:
>
> 40WINNER.SHW: RIFF (little-endian) data
> , CorelSHOW presentation
> , version 4
> frog.shw: RIFF (little-endian) data
> , CorelSHOW presentation
> , version 4
> multi.shw: RIFF (little-endian) data
> , CorelSHOW presentation
> , version 4
> qtour.shw: RIFF (little-endian) data
> , CorelSHOW presentation
> , version 5
> test-shb.shb: RIFF (little-endian) data
> , CorelSHOW Background
> , version 5
> test-shr.shr: RIFF (little-endian) data
> , CorelSHOW player data
> , version 5
>
> I hope my diff file can be applied in future version of file
> utility.
>
> With best wishes,
> Jörg Jenderek
> --
> Jörg Jenderek
> <droid-shw.csv.gz><trid-v-shw.txt.gz><file-5_44-riff-shw_diff.DEFANGED-14><file-5_44-riff-shw_diff_sig.DEFANGED-15>--
> 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/20230808/8d7e293c/attachment.asc>
More information about the File
mailing list