Archive: AVS saving issue in notepad


23rd August 2002 06:32 UTC

AVS saving issue in notepad
I have been working on some visualizations. I opened them in notepad and added a single space in the same place in the comment text. :igor: I saved them in (win2k) notepad, overwriting the original file. Now the visualizations come up as blank in the editor. :eek:

Is there anyway I can fix them so that they will function again?

Thanks for the help
-Eric W


23rd August 2002 12:03 UTC

Find the space and take it out. Get the presets again.


23rd August 2002 12:34 UTC

I don't think the space is the problem
I don't think the space I added is what created the problem. I think that when I saved it in notepad it changed which end of line characters are used and maybe some of the asci characters, but I am not sure. That's the only thing I know of that would create this problem. I can't redownload them because they are the ones I've been working on.


23rd August 2002 18:10 UTC

AVS files are *not* text files, they're binary. Notepad probably truncated the file at the first null character which means your preset is gone...


24th August 2002 01:27 UTC

Probably not trucated, possibly
I added the two versions of a preset I'm working on. I have others that I am working on, but I don't have a working version to compare it to. If you open the two presets in DOS edit you'll see that the code at the end of the files is very similar. I haven't done a character by character comparison, but I know there is some difference between them or else they would both work. Does anyone know of a program that will find the binary differences in two files?

Thanks for the help
-Eric W


24th August 2002 14:55 UTC

"fc /b" does a binary comparison, it's a standard dos command.

For more info, use "fc /?".

Maybe you should get a hex editor (Hex Workshop is good).


25th August 2002 07:10 UTC

fc found too many file differences
Thanks for the help UnConed. I used the fc command and used acsii and binary comparisons and both said the files were too different to compare. From what I saw, it looks like notepad added a bunch of return characters in bad places in the code. Hmmm... I think I'm screwed. Darn I liked what I had created too. If anyone has any other ways to recover avs files, please let me know.

-Eric W