Mark0's Forum

Software => TrID File Identifier => Topic started by: another identifier on December 30, 2010, 07:33:47 PM

Title: TrIDDefs.TRD as a RIFF file
Post by: another identifier on December 30, 2010, 07:33:47 PM
Hello,
another file identifier found "TrIDDefs.TRD" as a buggy RIFF file.
The bug is the missing "pad byte" before some "STRN" identifier. The result is missaligned data.
For a true RIFF file, all identifier has to be even aligned.
See en.wikipedia.org/wiki/Resource_Interchange_File_Format

regards.
Title: Re: TrIDDefs.TRD as a RIFF file
Post by: Mark0 on December 31, 2010, 02:54:41 PM
Hi!

You are right. In facts I think I had always referred to the .TRD file as a "RIFF like" container. When I had to decide how to organize it, I tought of the RIFF (as a long time Amiga user, of course! :) ) as an example / reference, since it fitted almost perfectly. But I have to admit I have not bothered to fully conform to it at the time. Looking back, it would have probably the most logical thing to do.
I will probably see to address the issue in the future, if I'll find a nice way to do it without causing compatibility issues.

Thanks for your feedback,
Bye!