I think my map is corrupted. (Solved)
File C:\Program Files (x86)\Steam\SteamApps\common\Portal 2\sdk_content\maps\DIY Rube Goldberg\diyrg.vmf, line 92771: unexpected end of file
Is there a way I can repair this, or a way I can decompile my most recent .bsp? I was hoping to finish this tonight. It was for a week long challenge that ends tomorrow evening, and I would like time for feedback from my friends.
mine is set on this path.. (but i don't remember if i changed, or if Portal 2 even has an default one =P)
c:\program files\steam\steamapps[USERNAME]\sourcesdk\bin\source2009\bin\HammerAutosave\
if not work, you can just decompile your newest .bsp version with BSPSource
Goldenknighttim wrote:
I After a week of doing little else than working on this map, I try to run it, for what I think may be the final test. Then it doesn't compile. I exit, and get back in, and it gives this message:File C:\Program Files (x86)\Steam\SteamApps\common\Portal 2\sdk_content\maps\DIY Rube Goldberg\diyrg.vmf, line 92771: unexpected end of file
Is there a way I can repair this, or a way I can decompile my most recent .bsp? I was hoping to finish this tonight. It was for a week long challenge that ends tomorrow evening, and I would like time for feedback from my friends.
I believe you can get that error from a problematic quotation mark in a KeyValue. Did you try to pass a string to a script function or use quotes in a game_text?
If you remember doing this, you can look for that entity in the VMF file in Notepad++ and remove the offending punctuation. Then reload your map in Hammer, save again, and compile.
That's the wonderful thing about .vmfs. They're basically .txt files, so if anything goes wrong, all you have to do is open them in the most basic text editor and re-write a few things.