Long story short, I recovered my vmf file using an un-delete program
(See General Banter for full story). The problem is that the file is
corrupted and gives an 'Out of memory' error when opening it in Hammer.
Is there anyway I can save this file? I do not have a back-up.
I read some where that you can Edit the vmf file in notepad and bypass
all the corrupted info, but i don't have the first clue. Can anyone
help?
1
Re: Corrupt vmf files
Posted by Captain P on Tue Nov 1st at 11:12am 2005

Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands
Occupation: Game-programmer
Posted by Captain P on Tue Nov 1st at 11:12am 2005
Well, this could get hard to do... you're sure you don't have the .vmx
file of that map anymore either? Those are backup files from the .vmf's
Otherwise, going through the whole file trying to find stuff that looks wrong is probably the only solution, but it's probably a lot of work... You can open it in wordpad or notepad or any simple text editor, but even simple maps already are long, very long text files...
Otherwise, going through the whole file trying to find stuff that looks wrong is probably the only solution, but it's probably a lot of work... You can open it in wordpad or notepad or any simple text editor, but even simple maps already are long, very long text files...
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Re: Corrupt vmf files
Posted by ben_j_davis on Tue Nov 1st at 12:10pm 2005
Posted by ben_j_davis on Tue Nov 1st at 12:10pm 2005
Luckily someone was able to do just that and edit the vmf file in notepad.
Glu Mobile
QA Tech
QA Tech
Re: Corrupt vmf files
Posted by Paladin[NL] on Tue Nov 1st at 2:38pm 2005

Paladin[NL]
member
157 posts
56 snarkmarks
Registered: May 4th 2004
Location: Netherlands
Occupation: Student/mapper
Posted by Paladin[NL] on Tue Nov 1st at 2:38pm 2005
Well, at any rate, people who know how a vmt looks like(or should look
like) in notepad could probably very easily recover/repair corrupted
vmt's.
Paladin[NL]
member
157 posts
56 snarkmarks
Registered: May 4th 2004
Location: Netherlands

Occupation: Student/mapper
Re: Corrupt vmf files
Posted by Captain P on Tue Nov 1st at 4:38pm 2005

Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands
Occupation: Game-programmer
Posted by Captain P on Tue Nov 1st at 4:38pm 2005
To some extend, yes, Paladin. It's just that .vmf files are long, very
long... which makes it a bit harder. You could write a script that
validates a .vmf and points out errors though, which I think that
person did who fixed ben_j_davis' .vmf.
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Re: Corrupt vmf files
Posted by rs6 on Tue Nov 1st at 8:49pm 2005

rs6
member
640 posts
94 snarkmarks
Registered: Dec 31st 2004
Location: New Jersey, USA
Occupation: koledge
Posted by rs6 on Tue Nov 1st at 8:49pm 2005
If you can remeber what you changed last that made it corrupt, then you can search teh vmf in notepad for that entity or brush, or whatever.
rs6
member
640 posts
94 snarkmarks
Registered: Dec 31st 2004
Location: New Jersey, USA

Occupation: koledge
Re: Corrupt vmf files
Posted by ben_j_davis on Wed Nov 2nd at 9:20am 2005
Posted by ben_j_davis on Wed Nov 2nd at 9:20am 2005
The file was corrupt because the file had accidently overwritten and then retrieved using an undelete program.
" SRC="images/smiles/icon_smile.gif">
Glu Mobile
QA Tech
QA Tech
Re: Corrupt vmf files
Posted by ben_j_davis on Fri Nov 4th at 11:02am 2005
Posted by ben_j_davis on Fri Nov 4th at 11:02am 2005
Well last nite I finally got the chance to have a look of what was left of my map.
It was a lot worse than I had imagined. Most of the brushe's were gone. The carefully made huge window was in peices, all the water, sky box and some of the models.
All is not lost though as I can quite easily repair it, bit of a set back though. Nevermind, gotta learn from your mistakes.
It was a lot worse than I had imagined. Most of the brushe's were gone. The carefully made huge window was in peices, all the water, sky box and some of the models.
All is not lost though as I can quite easily repair it, bit of a set back though. Nevermind, gotta learn from your mistakes.
Glu Mobile
QA Tech
QA Tech
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0372 seconds.

Snarkpit v6.1.0 created this page in 0.0372 seconds.

