Community Forums Archive

Go Back

Subject:RIFF Header
Posted by: Nevernine
Date:7/27/2000 12:40:00 AM

Even though I have never had this problem before, within
the last two weeks everytime I try to save a song it tells
me the file is corrupted and it may be missing a necessary
RIFF header. First, what is a RIFF header and second, how
can I solve this problem? Any help is appreciated.

Subject:Re: RIFF Header
Reply by: DataCowboy
Date:7/27/2000 11:29:00 AM

Hi Keifer,

This probably means the file was corrupted during its save.

While I've never had this error occur while I was using the program,
if I make an empty file and give it an .ACD extension, I get this
message trying to open the file with Acid.

In Windows Explorer, check the file length and see how big the file
is. If it is 0 bytes, then undoubtedly the file failed to write.
Otherwise, the corruption could probably be anywhere in the file.

If the file size is greater than 0, I would be happy to take a look at
it and see if I can fix the file "by hand" with a hex editor - I'm
kind of curious as to what kind of formatting error is causing this
(you're not the first to mention the problem). You can e-mail me the
file at hex@thefreeside.com and I'll take a look.

And as to your question what a RIFF File is...
A RIFF header is the first set of bytes that exist in a Resource
Interchange File Format structure - Acid uses this kind of file
structure. The first bytes of the file should read "RIFFxxxxACID"
(with xxxx being a hexadecimal number indicating the RIFF chunk's
length). In wave files, which are also RIFF structures, this header
reads "RIFFxxxxWAVE".

Hex
www.thefreeside.com


Keifer wrote:
>>Even though I have never had this problem before, within
>>the last two weeks everytime I try to save a song it tells
>>me the file is corrupted and it may be missing a necessary
>>RIFF header. First, what is a RIFF header and second, how
>>can I solve this problem? Any help is appreciated.

Go Back