map gone


(-xXx-Shifty) #1

alright, i open radiant to edit my map,i click open and i go to load my map and when i do, it loads as an “unnamed.map” map w/ nothin in it. i worked on the map this morning and now it is gone. the name of the map is still in the map directory, but there is now no map inside of it. has anyone else had this problem?

oh yeah, and i went to test it in et and i COULD load it there, so i can get into the map using et, but radiant will not load it.


(Loffy) #2

Hi!

  1. Check to see if there are any filters on. Click View on menu, and drag down to Filter.
  2. Or else: Have you tried to use the .bak file (a backup file created automatically by radiant)? just rename to .map and open. (Make copy first, just in case.)
    //L.

(jet Pilot) #3

open the console in radiant, (press O) and look near the bottom for the message “No worldspawn in map.”
If you have this, you may have to add it manually in the .map (dont ask me how)
Alternately you can load autosave.map


(FireFly) #4

If you have this, you may have to add it manually in the .map (dont ask me how)

open up your map with wordpad and at these lines at the very top:

// entity 0
{
"classname" "worldspawn"

save it as a whatever.map file


(jet Pilot) #5

thanks firefly, i had to go with option 2 earlier, losing some work


(-xXx-Shifty) #6

alright, i did go into the map w/ notepad and added that stuff, and now i can see on the top or radiant that my map has loded, but there is still nothing in it… what now???


(Loffy) #7

Did you try my second advice (copying, renaming and using the .bak file)?
I had a power failure today, while mapping. Computer went black. When i tried to open the file, it was empty, and it had the name “unnamed.map”.
I just used the .bak file instead.

I also keep a couple of backup copies of my map - while I am mapping. I just rename it (add date) and save in a folder called “backup”. Just in case.
:slight_smile:

// Loffy


(-xXx-Shifty) #8

yes i did that .bak to .map thing first, and that just did the same thing as before.


(Loffy) #9

OK, that sounds like both the original .map file and the .bak file is broken.
Another tric is to

  1. copy .map file (just in case)
  2. rename it to yourmapname.txt
  3. open it in a texteditor
  4. Check, to see if there are anything wrong. And fix it.
  5. Renaming it back to yourmapname.map

Step 4) is the hardest. How can you “see” what is wrong? I don’t know in detail, but one way is to open a .map file that you know is 100% correct/functional. Then compare the top-part and the end-part of the two files. Is the top-part of yourmapname.txt the same/similar to the correct/functional map? Sometimes, the “classname” "worldspawn"is missing - as FireFly said above.
But you knew all that before, I know. Other than that, I have no idea what to do. Sorry.
//L.


(Chruker) #10

If you still have the .bsp file of your map, you could always decompile it into a .map file using q3map2.

Loffy >> I got 8 corect answers out of 10 in your quiz :wink:


(-xXx-Shifty) #11

alright, thanks for the help guys, but i think nothing will prevale…

oh well, guess ill start a new one