Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I was playing on my main world when my laptop ran out of power. I found a charger and woke it up, but Minecraft had crashed. Now, it doesn't appear in the world selection screen!

I have verified that it still exists in the Minecraft folder, and the directory contents look to be in order.

Does Minecraft save an internal flag somewhere when it crashes hard? If so, how do I reset it?

share|improve this question
    
Simply moving it out and back in might reset something. –  John the Green Oct 11 '11 at 21:31
    
@John I just tried that. It had no visible effect. –  Maxpm Oct 11 '11 at 21:59
    
What are the contents of the save directory? Is it missing e.g. level.dat? If it is you may need to manually restore its contents, which may be tricky. –  fredley Oct 11 '11 at 22:37
1  
@fredley level.dat is present and not empty. I'll have to get a closer look later, when I have access to my regular computer. –  Maxpm Oct 13 '11 at 17:20
add comment

1 Answer

up vote 4 down vote accepted

It sounds like something has got corrupted with your save file - to the extent that Minecraft no longer recognizes it. Your best solution is to restore from backup.

I'm taking it you don't have a backup, so the next best thing is to try and open it with another program, e.g. MCEdit, with which you can make some trivial edits and re-save, which may help restore your save file to an acceptable state. Note that MCEdit is not tied to your Minecraft save folder, you can manually load a map from any level.dat.

If this doesn't work (MCEdit won't open the file), you will have to sort things out manually. You'll need to look at the contents of your save file, and see where things could be going wrong. A good reference is the Java class that creates the save files. Good luck!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.