Adam Nielsen [2009-12-31 21:07]: > >>No magic specs per say: > >> > >>It's done this way because AdPlug can only supply a list of supported > >>file extensions (and there's at least 20 of them.) > > > >I don't think anyone has thought about having an extension only plugin > >using files with null bytes in the beginning... Does someone on this list > >have ideas how to get nulstripper after the extension checking? I've always > >considered the nulstripper to be quite a hack anyway... > > Interesting. Unfortunately that's the only way to work with this > particular file format, because it doesn't have any magic bytes > (it's just raw register values to send to an Adlib synth chip.) You > have to know it's in this format first (by the file extension), and > then the first two bytes are 0x00 0x00 for one variant, and anything > else for the other variant. > > I hope a workaround is possible! Would it work registering the same > magic sequence as the nulstripper plugin but returning an error on > anything that's not a supported file extension?
Probably. If the very same magic sequence doesn't work, try adding more random stuff to get a higher complexity rating. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
pgpWLayhySsiK.pgp
Description: PGP signature
-- _______________________________________________ Xmms2-devel mailing list Xmms2-devel@lists.xmms.se http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel