Jump to content

Home

JKIIRadiant Killed My Map!


~Rebel_Monkey~

Recommended Posts

Posted

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: :confused: :( what the heck does that mean? can this be fixed??:eek:

P.S. I would have searched the forums for this problem, but, as you know, the search thingy doesnt work.

Posted

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/

Posted

Yet another horror story about JK2Radiant. JK2Radiant deleted my friend's entire map, he hasn't had a problem since using GTK.

Posted

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...

Posted

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.:mad:

i'll use GTK from now on, i guess... I had a pretty cool map too... :grnlaz::blaze6::blast10::tank1::launcher::chainsaw::flamethro:lazerhead (feels better now)

Posted

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.

Posted

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 :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...