Please or Register to create posts and topics.

Please Help - Broken VMF file -Fixed-

So i was just sitting there making a map that i have been working on for more than a month and then suddenly hammer crashes. Psss no big deal. This happens every 0.12 seconds so i open it again and... it says that the files ends unexpectedly at its last line. I opened it with notepad+ and looked around but nothing seems off. Tried the autosave but got the exact same problem. PLEASE HELP if you can.

One more thing. I have quite a few custom models and textures in this map so expect a lot of errors here and there if you manage to open the file. That doesnt have to do with my problem though.

I checked; it also crashed my hammer so it is absolutely your vmf.
I also tried to search for a misplaced " but couldn't find it.

I'll look into it later again.

Check for a misplaced line break. That happens if there's a n in any line of text when Hammer crashes. It should say something about a "malformed VMF" and give you a line before it crashes, though.

Falsi sumus crusto!

I've done some search and destroy (delete parts, see if map loads, repeat) on the file, and I can tell you a few things:

1) Whatever is wrong is in the entity data, not world brush data.
2) It's not in the func_details.

I'll keep at it and get back to you.

Fixed! The issue was the game_text entities, in that their text was too long. Thanks to LeSwordfish at TF2maps who helped me figure this out.

Idolon wrote:
Fixed! The issue was the game_text entities, in that their text was too long. Thanks to LeSwordfish at TF2maps who helped me figure this out.

sniff..THANK YOU :notworthy:
Thank you so much. I didnt expect for someone to find the problem so fast.
I will finish and upload the map tommorow before any more mishaps occur.

EDIT: i found the problem:
- "message" "Welcome to the 1999th "Tiny Challenge" competition."

...that was really stupid of me. i should have known.