~Rebel_Monkey~ Posted July 27, 2002 Posted July 27, 2002 This is my problem: i was almost finished with my map, and was about to compile it. I almost always save my game before i compile the map, but the game crashed right when i clicked the save button. when i try to load it again,it wouldnt, saying "ParseEntity: EOF without closing braceNo worldspawn in map." :confused: what the heck does that mean? can this be fixed?? P.S. I would have searched the forums for this problem, but, as you know, the search thingy doesnt work.
Drakewl Posted July 27, 2002 Posted July 27, 2002 dunno how to solve this problem with jk radiant, just a clue open your mapfile with a text editor like wordpad and post the first 5 lines and last 5 lines of it here have you tried to open it in gtk radiant (which is better imho)? its available at http://www.qeradiant.com/
Emon Posted July 27, 2002 Posted July 27, 2002 Yet another horror story about JK2Radiant. JK2Radiant deleted my friend's entire map, he hasn't had a problem since using GTK.
~Rebel_Monkey~ Posted July 27, 2002 Author Posted July 27, 2002 this is the first 5 lines for the map: { "classname" "worldspawn" // brush 0 { patchDef2 and this is the last: ( 2112 -320 -120 ) ( 2480 -320 -120 ) ( 2480 -320 -128 ) cairn/cairn_door 0 0 0 0.250000 0.250000 0 0 0 ( 2816 -368 -120 ) ( 2816 208 -120 ) ( 2816 208 -128 ) cairn/cairn_door 0 0 0 0.250000 0.250000 0 0 0 ( 2480 256 -120 ) ( 2112 256 -120 ) ( 2112 256 -128 ) cairn/cairn_door 0 0 0 0.250000 0.250000 0 0 0 ( 2112 256 -120 ) ( 2480 256 -120 ) ( 2112 -320 -120 ) cairn/cairn_door 0 0 0 0.250000 0.250000 0 0 0 ( 2112 256 -120 ) ( 2112 -320 -120 ) ( 2112 -320 -128 ) cairn/cairn_door 0 0 0 0.250000 0.250000 0 0 0 hmm...
~Rebel_Monkey~ Posted July 27, 2002 Author Posted July 27, 2002 oh yes, and i would have opened the autosave file (autosave_sp.map or something) but i started a new one and wrote over it. this sucks. i'll use GTK from now on, i guess... I had a pretty cool map too... (feels better now)
Drakewl Posted July 27, 2002 Posted July 27, 2002 the first lines seem to be ok but i think the last lines are missing at least one element the last lines you posted seem to describe a brush that is textured with the cairn_door texture. usually a brush definition in the map file begins and closes as in the following example // brush 1589 { ( -288 1184 240 ) ( -320 1184 256 ) ( -320 1152 256 ) system/caulk 0 0 0 0.250000 0.250000 0 4 0 ( -288 1424 240 ) ( -288 736 240 ) ( -288 736 304 ) system/caulk 0 -64 0 0.250000 0.250000 0 4 0 ( -784 1184 176 ) ( 160 1184 176 ) ( -784 1184 240 ) system/caulk 0 -64 0 0.250000 0.250000 0 4 0 ( -320 640 240 ) ( -320 2176 240 ) ( -320 2176 304 ) system/caulk 0 -64 0 0.250000 0.250000 0 4 0 ( -320 1152 256 ) ( -288 1152 272 ) ( -288 1184 240 ) system/caulk 0 0 0 0.250000 0.250000 0 4 0 ( -1344 768 304 ) ( -1344 2112 304 ) ( 256 2112 304 ) system/caulk 0 0 0 0.250000 0.250000 0 4 0 ( 320 1152 176 ) ( -1344 1152 176 ) ( 320 1152 240 ) system/caulk 0 -64 0 0.250000 0.250000 0 4 0 } if you really copied the last lines of your map into your posting, there are definitely missing lines with the "}" -clamp. There should be two lines with "}", the first to close a certain brush definition, the second to close the worldspawn sector, that inhabits the brushes and object entities. make a backup of your map and add the two clamps like in the following example ( 2112 -320 -120 ) ( 2480 -320 -120 ) ( 2480 -320 -128 ) cairn/cairn_door 0 0 0 0.250000 0.250000 0 0 0 ( 2816 -368 -120 ) ( 2816 208 -120 ) ( 2816 208 -128 ) cairn/cairn_door 0 0 0 0.250000 0.250000 0 0 0 ( 2480 256 -120 ) ( 2112 256 -120 ) ( 2112 256 -128 ) cairn/cairn_door 0 0 0 0.250000 0.250000 0 0 0 ( 2112 256 -120 ) ( 2480 256 -120 ) ( 2112 -320 -120 ) cairn/cairn_door 0 0 0 0.250000 0.250000 0 0 0 ( 2112 256 -120 ) ( 2112 -320 -120 ) ( 2112 -320 -128 ) cairn/cairn_door 0 0 0 0.250000 0.250000 0 0 0 } } NOTE: These clamps are always added at the end of the brush definition sector, if you have entites like waypoints, reftags, etc (or other entities, that dont relate with brushes or don't define a viewable item) in your map, these will always exist after the brush definition and worldspawn definition sector. So it's a must to have the 2 clamps after the last object related brush or entity, which doesn't need to be at the end of the mapfile. But in your case, it seems you have a brush at the end of the map file, so you dont have to pay attention on my last advice, just add the two clamps.
~Rebel_Monkey~ Posted July 27, 2002 Author Posted July 27, 2002 now it keeps flashing "WARNING: Line 199 is incomplete [01] " (this time i opened it in GTK radiant)
~Rebel_Monkey~ Posted July 27, 2002 Author Posted July 27, 2002 oh wait.. i opened the old version. now it loads but a large part of the map is missing
Drakewl Posted July 27, 2002 Posted July 27, 2002 mmh to difficult to help you via forum on this problem, dont know what line 199 is if you want, send the mapfile (should be below 1,5 mb) to Avatar@uffizio.de and i will have a look into it
Drakewl Posted July 27, 2002 Posted July 27, 2002 ok now comes the bad part jkradiant has killed a part of your map, there is no chance of recovering the missing part jkradiant crashed during the process of writing the file on your harddrive, thats for sure this was the reason, the clamps where missing (and some other stuff beside this) sorry
~Rebel_Monkey~ Posted July 27, 2002 Author Posted July 27, 2002 oh well, thank you for your time and effort. I discovered a MUCH older version of my map, but at least its something. and im using GTK radiant now.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.