Author Topic: TrIDDefs.TRD as a RIFF file  (Read 9912 times)

another identifier

  • Guest
TrIDDefs.TRD as a RIFF file
« 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.

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2744
    • Mark0's Home Page
Re: TrIDDefs.TRD as a RIFF file
« Reply #1 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!