Monday, October 12, 2015

Exploring the moon with Minetest

I had a really good time at the ACPA over the weekend, but I also had some spare time at the airport, on the plane and in the hotel, so I entertained myself by finishing off a lunar mod for Minetest (a free Minecraft-like game, which works a lot better than Minecraft on old hardware) that uses real-world data from NASA's LRO spacecraft to generate lunar terrain. To make this more Minetest-y, I flatten the moon out into two pancakes. And I added some sky background textures from SpaceEngine. (The Enterprise isn't a part of this mod, but is generated with the render.py script for RaspberryJamMod).

5 comments:

  1. Really Great !

    But if i run the mod on my Raspberry (minetest-4.1.13)
    I got a server Error if i try to use the goto command:

    5-12-08 07:34:55: ERROR[main]: ServerError: Lua: Runtime error from mod 'moon' in callback on_chat_message(): ...minetest-0.4.13/bin/../games/Moon/mods/moon/init.lua:569: bad argument #1 to 'close' (FILE* expected, got nil)
    2015-12-08 07:34:55: ERROR[main]: stack traceback:
    2015-12-08 07:34:55: ERROR[main]: [C]: in function 'close'
    2015-12-08 07:34:55: ERROR[main]: ...minetest-0.4.13/bin/../games/Moon/mods/moon/init.lua:569: in function 'find_feature'
    2015-12-08 07:34:55: ERROR[main]: ...minetest-0.4.13/bin/../games/Moon/mods/moon/init.lua:593: in function 'func'
    2015-12-08 07:34:55: ERROR[main]: ...minetest-0.4.13/bin/../builtin/game/chatcommands.lua:42: in function '?'
    2015-12-08 07:34:55: ERROR[main]: ...est/minetest-0.4.13/bin/../builtin/game/register.lua:355: in function <...est/minetest-0.4.13/bin/../builtin/game/register.lua:335>

    ReplyDelete
  2. I forgot to commit the fix for this about a month ago. Sorry. Try 0.17.

    ReplyDelete
  3. Works perfekt. Thank's you very much :)
    But .... if i want to jump to 'Apollo 12' or 'Apollo 14' by example i always arrive at Apollo 11.

    ReplyDelete
  4. Can you do me a favor, and download the latest features.txt and init.lua from github, pop them into your mods/moon directory, and see if it works now?

    ReplyDelete
  5. I released a new version that should fix this.

    ReplyDelete