Page 1 of 1

How to load previously built worlds?

PostPosted: Tue Jan 24, 2017 20:31
by crazy_baboon
Hi,

I have a few folders containing old worlds I have created last year on a different operating system (ubuntu 14.04, now I am using Ubuntu 16.04). When I copy these old world folders into the minetest-stable-0.4 worlds folder and run the ./bin/minetest I cannot see my old worlds in the "Select world" menu. I can only see new worlds I have created last week with this new version of minetest. How can I get minetest to recognize my old worlds?

Re: How to load previously built worlds?

PostPosted: Tue Jan 24, 2017 20:33
by rubenwardy
Try ~/.minetest/worlds
Note folders that begin with a dot are hidden

You're probably not using RUN_IN_PLACE

Re: How to load previously built worlds?

PostPosted: Tue Jan 24, 2017 21:44
by crazy_baboon
RUN_IN_PLACE. What is that for?

Re: How to load previously built worlds?

PostPosted: Wed Jan 25, 2017 00:24
by kaeza
RUN_IN_PLACE is a compile-time option to use paths relative to the executable.

How did you install Minetest? Using your package manager? Compiled by yourself?

Re: How to load previously built worlds?

PostPosted: Wed Jan 25, 2017 09:55
by crazy_baboon
I compiled it from source code, so everything is in the minetest-stable-0.4 folder. Now I see my cmake command (cmake . -DRUN_IN_PLACE=TRUE) and it does look like RUN_IN_PLACE is set to true. What could be wrong?

Re: How to load previously built worlds?

PostPosted: Sun Feb 19, 2017 14:22
by crazy_baboon
Come on guys! Any help on this issue? No one has ever had the same problem?

Re: How to load previously built worlds?

PostPosted: Sun Feb 19, 2017 17:46
by kaeza
If RUN_IN_PLACE=TRUE, worlds go in `/path/to/minetest-source/worlds`(*). If RUN_IN_PLACE=FALSE, worlds go in `~/.minetest/worlds`.

(*) Technically, `/path/to/minetest/bin/../worlds`.

Edit: Are you sure you're putting the worlds in the correct dir, and they have the correct structure?

Also, try opening `<worlddir>/world.mt` and see what's the value of `gameid`. You may need to also install minetest_game and select it in the icon row at the bottom of the menu.