Skip to content
Forum Archive

AVS saving issue in notepad

7 posts

Ketrid#

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. 🧟 I saved them in (win2k) notepad, overwriting the original file. Now the visualizations come up as blank in the editor. 😱

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

Thanks for the help
-Eric W
Ketrid#
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.
UnConeD#
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...
Ketrid#
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
UnConeD#
"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).
Ketrid#
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