TenPlus1 wrote:This will hopefully recover your map so long as you are using linux with python installed...
Unpack both files into your .minetest folder contained in your home directory and edit the "recovery.py" file and change lines 25 and 26 so they point to your map files...
Finally open a terminal window and change to your .minetest folder and run this command (make sure recover.py has executable flag set):
./recover.py
...now just wait, anything salvagable will be written into new mapfile, anything corrupt will be marked as an empty block... good luck...
Tks TenPlus1,Tks for you help.
i had try but got error msg:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
File "./recover.py", line 41
print "Block parse error:", pos[0], pos[1], pos[2]
^
SyntaxError: Missing parentheses in call to 'print'
my setting of line 25/26:
source = r'/home/linus/.minetest/worlds/stable/map.sqlite'
target = r'/home/linus/.minetest/worlds/stable/newmap.sqlite'
do i have anything wrong?