How to load previously built worlds?

crazy_baboon
Member
 
Posts: 40
Joined: Sat Oct 17, 2015 10:47

How to load previously built worlds?

by crazy_baboon » Tue Jan 24, 2017 20:31

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?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: How to load previously built worlds?

by rubenwardy » Tue Jan 24, 2017 20:33

Try ~/.minetest/worlds
Note folders that begin with a dot are hidden

You're probably not using RUN_IN_PLACE
 

crazy_baboon
Member
 
Posts: 40
Joined: Sat Oct 17, 2015 10:47

Re: How to load previously built worlds?

by crazy_baboon » Tue Jan 24, 2017 21:44

RUN_IN_PLACE. What is that for?
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: How to load previously built worlds?

by kaeza » Wed Jan 25, 2017 00:24

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?
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

crazy_baboon
Member
 
Posts: 40
Joined: Sat Oct 17, 2015 10:47

Re: How to load previously built worlds?

by crazy_baboon » Wed Jan 25, 2017 09:55

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?
 

crazy_baboon
Member
 
Posts: 40
Joined: Sat Oct 17, 2015 10:47

Re: How to load previously built worlds?

by crazy_baboon » Sun Feb 19, 2017 14:22

Come on guys! Any help on this issue? No one has ever had the same problem?
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: How to load previously built worlds?

by kaeza » Sun Feb 19, 2017 17:46

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.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 107 guests

cron