error crashes map on loading

Avatar
Ido47
23 Posts
Posted Mar 28, 2012
so i was adding env_projected texture to my map. when I compiled it, the vbsp.exe (or something similar) crashed.
Now, every time i'm trying to open the map in hammer, i get the following error message:

"file (file name and location) line 4835: unterminated string or string too long"

and then hammer crashes.

Any suggestions, please? :3

edit: additional info:
the error message appears on 33% of the load screen, "reading chunks".
validating the tools' files didn't work.

Advertisement
Registered users don’t see ads! Register now!
Avatar
Lpfreaky90
2,842 Posts
Posted Mar 28, 2012
Replied 5 minutes later
what is your map name and what is your env_projected_texture name?
Avatar
Ido47
23 Posts
Posted Mar 28, 2012
Replied 2 minutes later
sp_BnFex2.vmf
light_01 (this one I can't change, as hammer wouldn't even load the map)
Avatar
Lpfreaky90
2,842 Posts
Posted Mar 28, 2012
Replied 1 minutes later
hmz a too long name doens't seem to be the case :wink:
could you upload the vmf so I can take a look at it?
Avatar
Ido47
23 Posts
Posted Mar 28, 2012
Replied 5 minutes later

lpfreaky90 wrote:
hmz a too long name doens't seem to be the case :wink:
could you upload the vmf so I can take a look at it?

sure.

http://www.2shared.com/file/3iy_Gc2N/sp_BnFex2.html

I was just starting out today (and it's the first time i'm taking a go at reconstracting, so don't laugh), anyway my point is that as the map itself isn't very important to keep, there's a setup of a videoscreen in it that I don't have a copy of and don't want to lose.

Avatar
Lpfreaky90
2,842 Posts
Posted Mar 28, 2012
Replied 48 minutes later

your env_projected textures are indeed the source of your problem:
specifically this part:

   editor
   {
      "color" "220 30 220"
      "visgroupshown" "1"
      "visgroupautoshown" "1"
      "comments" "Pitch    -80
Brightness    255 247 217 250
Ambient    255 247 217 400
Sun spread angle    5
Angles    0 280 0 "
      "logicalpos" "[0 -10268]"
   }

I tried to fix it but it didn't work so I just deleted them:

http://dl.dropbox.com/u/37801279/sp_BnFex2_fixed.vmf
That should do it :smile:

Avatar
Ido47
23 Posts
Posted Mar 28, 2012
Replied 8 minutes later
wow, thanks man, honestly i was already giving up :biggrin:

have a great day!

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Mar 28, 2012
Replied 13 hours later
Failed Hammer save much...