Hi guys ! I've been making my RP map for about 2 weeks, now when i almost finished, i just got this error while loading saved file.
[code]Error: Unexpected end of file - Hammer Crash ![/code]
Well, at first time it was another error, like "Solid out of memory, blah blah blah line 71010" and then Hammer crashes.
So, i've edited VMF file in notepad and just deleted last lines so brush won't be on the map, but now i am getting this error that i've posted above.
Also theres part of VMF file
[code] }
editor
{
"color" "201 118 0"
"groupid" "10391"
"visgroupshown" "1"
"visgroupautoshown" "1"
}
}
solid
{
"id" "10393"
side
{
"id" "8931"
"plane" "(-1094 772.22 -4) (-1094 949.22 -4) (-1062 949.22 -4)"
"material" "CS_ASSAULT/CONCRETEFLOOR026A"
"uaxis" "[1 0 0 472] 0.25"
"vaxis" "[0 -1 0 82.886] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "8930"
"plane" "(-1094 949.22 -7) (-1094 772.22 -7) (-1062 772.22 -7)"
"material" "CS_ASSAULT/CONCRETEFLOOR026A"
"uaxis" "[-1 0 0 -472] 0.25"
"vaxis" "[0 -1 0 82.886] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "8929"
"plane" "(-1094 772.22 -7) (-1094 949.22 -7) (-1094 949.22 -4)"
"material" "CS_ASSAULT/CONCRETEFLOOR026A"
"uaxis" "[0 -1 0 82.886] 0.25"
"vaxis" "[0 0 -1 242] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "8928"
"plane" "(-1062 949.22 -7) (-1062 772.22 -7) (-1062 772.22 -4)"
"material" "CS_ASSAULT/CONCRETEFLOOR026A"
"uaxis" "[0 1 0 -82.886] 0.25"
"vaxis" "[0 0 -1 242] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "8927"
"plane" "(-1094 949.22 -7) (-1062 949.22 -7) (-1062 949.22 -4)"
"material" "CS_ASSAULT/CONCRETEFLOOR026A"
"uaxis" "[-1 0 0 -472] 0.25"
"vaxis" "[0 0 -1 242] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "8926"
"plane" "(-1062 772.22 -7) (-1094 772.22 -7) (-1094 772.22 -4)"
"material" "CS_ASSAULT/CONCRETEFLOOR026A"
"uaxis" "[1 0 0 472] 0.25"
"vaxis" "[0 0 -1 242] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}[/code]
Exacly, always last line was crashing, also now last line is with one is mentioned in error
Just tell me how should i change it, some way to delete it, cause i cant load my map whats very important >.>
[QUOTE=Terrenteller;20359199]Replace that exact portion with this.
[code] }
editor
{
"color" "201 118 0"
"groupid" "10391"
"visgroupshown" "1"
"visgroupautoshown" "1"
}
}
}
cameras
{
"activecamera" "0"
camera
{
"position" "[0 0 0]"
"look" "[0 256 0]"
}
}
cordon
{
"mins" "(-1024 -1024 -1024)"
"maxs" "(1024 1024 1024)"
"active" "0"
}
[/code][/QUOTE]
Nice to know that i've lost 90% of map O_O
Open the folder containing the .vmf and check for a .vmx with the same name. The file is a backup (a .vmf with a different extension) and can be opened with Hammer.
If that fails, get [url=http://developer.valvesoftware.com/wiki/VMEX]VMEX[/url] and decompile one of your compiled .bsp's. It may not be as pretty, but at least you can rebuild from there, and/or copy and paste stuff to your .vmx backup that you're pulling from.
EDIT: This usually happens when you (and by you I mean I) instinctively hit ctrl + s when hammer's viewports are hanging.
How do I implement the vmx into hammer?
[highlight](User was banned for this post ("6 year bump; make a new thread" - Starpluck))[/highlight]
.vmx is a normal text file so just changing .vmx to .vmf should be ok also check the hammer autosave folder for a saved version of your map wit auto on the end which you just remove :)
Sorry, you need to Log In to post a reply to this thread.