Re: empty vmf :/
Posted by Hench on
Mon Apr 18th 2005 at 10:33pm
Posted
2005-04-18 10:33pm
38 posts
64 snarkmarks
Registered:
Nov 11th 2003
Lo there...
I had a pc crash and when i rebooted and opend the map file i was working on it turned out to be completly empty :/
google told me that i had to rename the .VMX file to VMF, i did that but then hammer give a error : line 18258 unexpected end of file
mmmkay... google also said that i had to open the .VMX with notepad but what it shows is something i dont understand :sad:
my question is , what can i do to get the map back? :sad:
i got the .BSP btw, but there`s no bsp --> vmf thing right?
Re: empty vmf :/
Posted by French Toast on
Mon Apr 18th 2005 at 11:31pm
Posted
2005-04-18 11:31pm
3043 posts
304 snarkmarks
Registered:
Jan 16th 2005
Occupation: Kicking Ass
Location: Canada
Sounds to me like you have lost your map, and don't have a way of getting it back. The only thing that you can do, is in the future make multiple copies of the map along the way, so if something like this happens, you can jsut load a previous version of the map and quickly fix whatever youchanged.
Sorry, unless someone else has a way to restore it.
Re: empty vmf :/
Posted by French Toast on
Tue Apr 19th 2005 at 2:16am
3043 posts
304 snarkmarks
Registered:
Jan 16th 2005
Occupation: Kicking Ass
Location: Canada
oh damn, sorry I misread the post. I thought he said he couldn't get the .bsp. Nm, go with CLs.
Re: empty vmf :/
Posted by SaintGreg on
Tue Apr 19th 2005 at 6:41am
212 posts
51 snarkmarks
Registered:
Dec 3rd 2004
Theres a HL2 map decompiler somewhere around here. Seems to do a
pretty good job. At the very least you'll have to do a little bit
of fixing, but better than losing it all.
Re: empty vmf :/
Posted by Orpheus on
Tue Apr 19th 2005 at 10:22am
Posted
2005-04-19 10:22am
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
as harsh as this is gonna sound.. if you did not create multiple backup's, you deserve it to be missing.
consider it a learning experience.. even if you salvage the situation i bet you will now create multiple backups.
chose for yourself exactly how many, but i create a new one after each new addition, this way you only lose one if anything but a total hard drive crash happens.
good luck :/
Re: empty vmf :/
Posted by Hench on
Tue Apr 19th 2005 at 10:34am
Posted
2005-04-19 10:34am
38 posts
64 snarkmarks
Registered:
Nov 11th 2003
I gave up on the notepad thingy every time a new line with an error arf..
gonna try the decompiler, tnx guys !! ( i didnt knew such a program was there)
btw orpheus offcourse i made some backups but the last one was from 3 days ago and the file that is broken now was the file i spend a whole day working on and offcourse i didnt backupped that one :sad:
just my bad luck ...
Re: empty vmf :/
Posted by Rof on
Wed Apr 20th 2005 at 5:25pm
Rof
member
210 posts
41 snarkmarks
Registered:
Dec 3rd 2004
New versions of the decompiler (after v0.80) can recover 95-99%
of the original map brushes, if you use it in "brushes and planes" mode.
Old versions did the same "wafer-thin brush for each face" trick that
HL1 decompilers did. But later, I realised that HL2 BSPs contain almost
all of the original brush data, and the newer versions use that instead.
That said, there are still inevitable problems due to rounding errors,
etc. Certainly I'd try fixing the .vmx file before resorting to
decompiling. OTOH, the .vmf file format can be tricky to repair if you
don't know it.
Re: empty vmf :/
Posted by CLs on
Wed Apr 20th 2005 at 8:00pm
66 posts
7 snarkmarks
Registered:
Mar 17th 2005
Occupation: Student
Location: Canada
Yeah VMF editing in notepad can be quite a consuming process, I gave up after an hour or so and went with the decompiling route, worked great for me, only spent 15 minutes fixing brushes and ents on a medium sized map and it compiled perfectely. Thanks to Rof for this great tool :smile:
CLs
Re: empty vmf :/
Posted by Leperous on
Wed Apr 20th 2005 at 8:48pm
Leperous
Creator of SnarkPit!
member
3382 posts
1635 snarkmarks
Registered:
Aug 21st 2001
Occupation: Lazy student
Location: UK
Added your decompiler to the files section here Rof :smile:
Re: empty vmf :/
Posted by omegaslayer on
Wed Apr 20th 2005 at 9:28pm
2481 posts
595 snarkmarks
Registered:
Jan 16th 2004
Occupation: Sr. DevOPS Engineer
Location: Seattle, WA
I guess im using a way old version, does it work on displacements yet?
Re: empty vmf :/
Posted by rs6 on
Wed Apr 20th 2005 at 9:47pm
rs6
member
640 posts
94 snarkmarks
Registered:
Dec 31st 2004
Occupation: koledge
Location: New Jersey, USA
I used notepad when i did somethign like this, only i knew what i screwed up so it was easy to find.
BTW it must be so hard to map with notepad.