Old 23rd August 2002, 05:32   #1
Ketrid
Junior Member
 
Join Date: Aug 2002
Posts: 4
Send a message via ICQ to 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 is offline   Reply With Quote
Old 23rd August 2002, 11:03   #2
Jaheckelsafar
Major Dude
 
Join Date: Feb 2002
Location: home
Posts: 1,318
Find the space and take it out. Get the presets again.

Stoke me a clipper. I'll be back for Christmas.

- Arnold Rimmer
Red Dwarf
Jaheckelsafar is offline   Reply With Quote
Old 23rd August 2002, 11:34   #3
Ketrid
Junior Member
 
Join Date: Aug 2002
Posts: 4
Send a message via ICQ to 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.
Ketrid is offline   Reply With Quote
Old 23rd August 2002, 17:10   #4
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
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...

UnConeD is offline   Reply With Quote
Old 24th August 2002, 00:27   #5
Ketrid
Junior Member
 
Join Date: Aug 2002
Posts: 4
Send a message via ICQ to 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
Attached Files
File Type: zip a_preset.zip (2.2 KB, 280 views)
Ketrid is offline   Reply With Quote
Old 24th August 2002, 13:55   #6
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
"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).

UnConeD is offline   Reply With Quote
Old 25th August 2002, 06:10   #7
Ketrid
Junior Member
 
Join Date: Aug 2002
Posts: 4
Send a message via ICQ to 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
Ketrid is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Visualizations > AVS > AVS Troubleshooting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump