Old world in newly compiled version

tonnerkiller
New member
 
Posts: 5
Joined: Thu Jun 16, 2016 06:40
GitHub: tonnerkiller
IRC: tonnerkiller
In-game: tonnerkiller

Old world in newly compiled version

by tonnerkiller » Thu Jun 16, 2016 08:56

Hallo,
I'm new to minetest, played around a bit with the ubuntu package (0.4.9 if I remember right) and decided to get myself a newer, self-compiled version.

Thanks to the guys in the IRC, who helped me understand how to use git to get the stable branch, I removed the minetest package from the Ubuntu repository and compiled and installed like so:

git clone https://github.com/minetest/minetest.git
sudo apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev
cd minetest
git checkout 0.4.14
git clone https://github.com/minetest/minetest_game.git games/minetest_game
cmake . -DRUN_IN_PLACE=FALSE -DBUILD_CLIENT=TRUE -DBUILD_SERVER=TRUE -DCMAKE_BUILD_TYPE=Release -DENABLE_CURL=TRUE -DENABLE_CURSES=TRUE -DENABLE_FREETYPE=TRUE -DENABLE_GETTEXT=TRUE -DENABLE_GLES=TRUE -DENABLE_LEVELDB=TRUE -DENABLE_REDIS=TRUE -DENABLE_SPATIAL=TRUE -DENABLE_SOUND=TRUE -DENABLE_LUAJIT=TRUE -DENABLE_SYSTEM_GMP=TRUE -DUSE_GPROF=TRUE
make -j 4
sudo make install


Of course I wanted to keep on mining in my old world "foo", which I invested a couple of hours into already. But when I try to load it, it fails. The output on the shell is as follows:

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
benjamin@extensa:~$ minetest
Loaded texture: /usr/local/share/minetest/games/minetest_game/menu/header.png
Loaded texture: /usr/local/share/minetest/games/minetest_game/menu/icon.png
Loaded texture: /usr/local/share/minetest/games/minimal/menu/icon.png
2016-06-16 10:39:32: WARNING[Main]: NodeDefManager: Ignoring CONTENT_IGNORE redefinition
2016-06-16 10:39:32: ERROR[Main]: EmergeManager: mapgen indev not registered; falling back to v6
2016-06-16 10:39:32: ERROR[Main]: Some exception: "One or more noise parameters were invalid or require too much memory"
Loaded texture: /usr/local/share/minetest/games/minetest_game/menu/header.png
Loaded texture: /usr/local/share/minetest/games/minetest_game/menu/icon.png
Loaded texture: /usr/local/share/minetest/games/minimal/menu/icon.png
Quit message received.
benjamin@extensa:~$


To me it looks like the problem is mapgen indev not being there anymore (if I understood right what I found in the forum and wiki, it's been removed from the project for whatever reason).

Is there any chance I will be able to get back to mining in the world I once started with (obviously created with indev)?

Could it play a role that the Ubuntu repository had also some mods installed (whose names I don't recall) and that are missing now for the world to load?
 

tonnerkiller
New member
 
Posts: 5
Joined: Thu Jun 16, 2016 06:40
GitHub: tonnerkiller
IRC: tonnerkiller
In-game: tonnerkiller

Re: Old world in newly compiled version

by tonnerkiller » Thu Jun 16, 2016 19:42

I think I remembered the names of the mods in question: more blocks, moreores and pipeworks. I got their new versions via github, but still cannot run the old world. Error message is the same...

Any help would be highly appreciated.
 

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

Re: Old world in newly compiled version

by rubenwardy » Thu Jun 16, 2016 19:45

The "Indev" mapgen was removed on 12/July/2014:

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
commit 2d90aca4ab876e3254f219b1d37f49257556d456
Author: proller <proller@github.com>
Date:   Sat Jul 12 18:21:54 2014 +0400

    Remove indev mapgen


You'll either have to do:

1. Use a different mapgen. This will cause big straight cliffs between old areas and new areas. (I think you need to change world.mt, not sure)
2. Revert commit 2d90ac to readd indev mapgen, this will require some programming skills.
2. Continue to use an old version.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Old world in newly compiled version

by paramat » Fri Jun 17, 2016 03:07

Indev is closest to mgv6, so change the mapgen defined in map_meta.txt to mgv6, you might need to delete any noises used in indev which are not used in mgv6.
 

tonnerkiller
New member
 
Posts: 5
Joined: Thu Jun 16, 2016 06:40
GitHub: tonnerkiller
IRC: tonnerkiller
In-game: tonnerkiller

Re: Old world in newly compiled version

by tonnerkiller » Fri Jun 17, 2016 14:56

Thank you very much for your replies. I think I would be fine with using a different mapgen, if I knew how to. Anyhow I do not think my programming skills are good enough to readd indev (they don't go much further than "Hello World").

As I am not strolling around too much, I could well deal with cliffs in places I hardly visit...

Can you please tell me what noises are and how I can delete them? After all, the error message says there were too many noises, so I guess silencing them would be a good first step, if only I knew how.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Old world in newly compiled version

by paramat » Fri Jun 17, 2016 19:59

Luckily indev is almost identical to mgv6 near world centre, so it may not be too messy a change.

Edit worlds/worldname/map_meta.txt
Delete all noise parameters and any parameters or mapgen flags specific to indev, leaving just:

chunksize = 5
mg_flags = notrees, caves, dungeons, noflat, light, decorations
mg_name = v6
seed = (your world seed)
water_level = 1
[end_of_params]

Then restart that world, all new terrain will be mgv6
 

tonnerkiller
New member
 
Posts: 5
Joined: Thu Jun 16, 2016 06:40
GitHub: tonnerkiller
IRC: tonnerkiller
In-game: tonnerkiller

Re: Old world in newly compiled version

by tonnerkiller » Fri Jun 17, 2016 21:12

Thank you very much, it worked, no differences seen so far...
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 3 guests

cron