Mephisto_VI wrote: On to the next question, can we specify multiple file types in one .xml file as long as we have the pertinent information? Do we need any kind of separators in between each definition?
It's easy.
<FileType id="2" group="archive" description="ARJ Archive" extension="arj">
<Signature offset="3" count="1">Abc\x5c\x00\x04</Signature>
<Signature offset="9" count="2">\x23\x01\xf4</Signature>
</FileType>
<FileType id="3" group="My group" description="My FileType" extension="bpr">
<Signature offset="1" count="1">Abcdefgs</Signature>
<Signature offset="9" count="1">The End signature</Signature>
</FileType>
And so on.
[quote="Mephisto_VI"] On to the next question, can we specify multiple file types in one .xml file as long as we have the pertinent information? Do we need any kind of separators in between each definition?[/quote]
It's easy.
<FileType id="2" group="archive" description="ARJ Archive" extension="arj">
<Signature offset="3" count="1">Abc\x5c\x00\x04</Signature>
<Signature offset="9" count="2">\x23\x01\xf4</Signature>
</FileType>
<FileType id="3" group="My group" description="My FileType" extension="bpr">
<Signature offset="1" count="1">Abcdefgs</Signature>
<Signature offset="9" count="1">The End signature</Signature>
</FileType>
And so on.