Terasology

Terasology is a game that pays ample tribute to Minecraft in initial look and origin, but stakes out its own niche by adopting the NPC-helper and caretaker feel from such games as Dwarf Fortress and Dungeon Keeper, while striving for added depth and sophistication.

Terasology is an open source project started by Benjamin “begla” Glatzel to research procedural terrain generation and efficient rendering techniques in Java using the LWJGL. The engine uses a block-based voxel-like approach as seen in Minecraft. After proving itself as a solid tech demo begla was joined at first by Anton “small-jeeper” Kireev and Rasmus “Cervator” Praestholm and a full-fledged game concept was born.

The creators of Terasology are a diverse mix of software developers, game testers, graphic artists, and musicians. Get involved by checking out our Community Portal, our blog Moving Blocks!, and our Facebook Page.

Terasology is licensed under the Apache 2.0 License and available in source code form at GitHub.

Getting physical

A current version of the source code can be obtained by visiting the corresponding project at GitHub or by pulling the following repository directly using Git:

git clone git@github.com:MovingBlocks/Terasology.git

Try the latest build!

Feel free to try out the latest development build of Terasology and let us know what you think!

Download latest build

Additional Notes

Terasology’s base graphics uses the awesome Good Morning Craft! texture pack by Louis Durrant. Make sure to visit his homepage and support his work.

70 Comments

  1. I downloaded the files but when I test the project in netbeans there is a bug found:

    Exception in thread “main” java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at org.lwjgl.Sys$1.run(Sys.java:73)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
    at org.lwjgl.Sys.loadLibrary(Sys.java:82)
    at org.lwjgl.Sys.(Sys.java:99)
    at com.github.begla.blockmania.utilities.Helper.(Helper.java:39)
    at com.github.begla.blockmania.Main.main(Main.java:81)
    Java Result: 1

    What’s this and how can I solve this problem?

    • Hello,

      you’ll have to modifiy the project settings if you are running the project under Windows or Linux.

      1. Go to the project properties.
      2. Activate the tab “Run”.
      3. In the “VM Options” substitute the string “-Djava.library.path=lib/lwjgl-2.7.1/native/macosx” for “-Djava.library.path=lib/lwjgl-2.7.1/native/windows” or “-Djava.library.path=lib/lwjgl-2.7.1/native/linux”.

      This should fix your problem.

      • Yes it works.
        Thanks so much. :-)

  2. Blockmania is so awesome!

    And you are so awesome! :D

    • Glad you like it. :) Make sure to take a look at the latest nightly build…

  3. I downloaded the latest version of Blockmania from GitHub. But if I test it I get this error:

    “Exception in thread “main” java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at org.lwjgl.Sys$1.run(Sys.java:73)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
    at org.lwjgl.Sys.loadLibrary(Sys.java:82)
    at org.lwjgl.Sys.(Sys.java:99)
    at com.github.begla.blockmania.utilities.Helper.(Helper.java:40)
    at com.github.begla.blockmania.Main.main(Main.java:77)
    Java Result: 1″

    How can I solve it?

    • The path in VM Options is already set to windows.

      PS: Could I use your Terrain Generation Method for my project (http://lonely-island.net)? :)

      • Of course – but keep the Apache License 2.0 in mind: http://www.apache.org/licenses/. And I would be happy if you link to this project here… :)

      • Btw. could you describe “Lonely Island” a bit?

        • When my friend showed me minecraft the first time I was so fascinated of it. I wanted to make my “own minecraft”. Together with my father I planned the game concept. It became obvious very quickly, that it must be different to minecraft. So we thought about features, that minecraft hasn’t. And now I’m developing this game. :D

    • Please try again with the current build. The static libraries are now dynamically detected based on the operating system.

      Are you using Netbeans or IntelliJ (I migrated the project)?

      • I’m using Netbeans.

      • It works. Now I can test the project, but after a few Seconds it exits and I get an error:

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000073f3892, pid=9668, tid=5224
        #
        # JRE version: 6.0_25-b06
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.0-b11 mixed mode windows-amd64 compressed oops)
        # Problematic frame:
        # C [ig4icd64.dll+0xc3892]
        #
        # An error report file with more information is saved as:
        # C:\Users\Qualle\Desktop\Arbeit\Java\Minecraft\begla-Blockmania-f8e53fe\hs_err_pid9668.log
        #
        # If you would like to submit a bug report, please visit:
        # http://java.sun.com/webapps/bugreport/crash.jsp
        # The crash happened outside the Java Virtual Machine in native code.
        # See problematic frame for where to report the bug.
        #
        Java Result: 1

        How can I solve this?

        PS: Blockmania is awesome. :D

        • This is an error in native code (not on my side). Try updating your video card drivers.

          • I updated the video card drivers but I get the error anyway.

            How could I solve this else?

          • Yes!

            I updated the video card driver again, updated the JDK and JRE Version and restarted my PC and now it works. :D

          • Nice. :)

  4. I like it! The game runs fluently. The landscape has a friendly appearance with some nice mountains. Maybe two things that bothered me. First, the speed of walking around is way too slow (even when pressing shift). Second, the water looks very static (unrealistic).

    Good luck with further progress!

    • Said and done. I’ve changed the player’s attributes a bit… And I’ve put your other aspects on my to-do list. Thanks!

      • how do i download or play blockmania

        • Just download the following file, extract it and use the bat-script to launch the game. It’s as simple as that: http://tinyurl.com/6fd7w8e :)

          • I tried that and it didnt work…what do i do?

          • I need some more details. Otherwise I can not help you! :)

          • when i click on the executable jar file, the screen flashes on for a sec then closes. I am also using Google Chrome, if that helps.

  5. Hey! I am a java game developer and I have made a few games. But my dream has always been tl work with vectors and terrain generation. I was wondering if you would consider letting me be one of your co-developers? I would like to add many things and turn this into a game as well. With mobs and such. Let me know your take on this. If you dont want me to help I understand.
    Thanks!

    • That’s why Blockmania is an open source project! :) I’m always thankful for help. Would you mind contacting me via GitHub?

  6. this crashed my computer like nothing else ever has. Ubuntu 10.04

    AFTER a restart (had to ctrl-alt f1 to a terminal window to reboot), I got crazy flashing colors instead of a working computer. A hard rerstart fixed it, but I was scared. Guess I’ll just watch the videos.

    • This does not sound like anything that can be solely caused by our game code (it could be a bug in the native code of the LWGL, but that is not very likely). Please run some generic OpenGL tests to verify the combination of your version of the Java VM, your graphics device, your graphics driver and your Linux distribution.

  7. I have seen your videos in your youtube channel! they looked very nice!

    I tried to run the game… but it says it failed at checking the version

    what should i do? i rly would like to test it :/

    • Please try to run the binary version instead of the Java applet (downloadable here: http://tinyurl.com/6fd7w8e) . If this does not work either, just send me a copy of the console output and some information about your specs. I’ll have a look at it. Thanks! :)

      • Thank you, this made me able to run it

        The terrain generation looks awesome! But i think the rivers should be at sea level ;P

        • I’ll think about that. Thanks for your feedback! ;)

  8. Hey, saw your Youtube videos, Blockmania looks beautiful.

    Although, When i run your preview, both the applet, and the binary, The world seems blank, Non of the blocks are rendering correctly. I’m able to see the block outlines and collision detection is still there, But i just cant see the blocks themselves.

    Tried both on my computer and one other, Mine being of above average spec, and the other low. Could it be the latest Java update, as the Java updater notified me earlier today of an update.

    Keeping an eye on this project, its awesome. Also, If you need any art/illustrations i can help :) I have a small portfolio: http://mikembley.deviantart.com/gallery/

    • Hey Michael,

      Thanks for all your positive feedback! :) I just investigated the issue and I might have already fixed it (are you using a CPU with a single core?). Make sure to have a look at the newest build. It should be available any minute.

      I like the style of your characters! They look really unique. We’ll need an artist in the future if we got some prototype and the overall game concept ready. I’ll get back to you when we’ve got there (if you like!).

      Kind regards,
      Benjamin

      • Hey Benjamin, I am running Win7 64bit with an AMD dual core processor, So sadly that doesnt apply to me.

        But i do have a Java Console log for you: http://pastebin.com/ZtPVSvGZ

        Scroll down to line 104, Theres an exception thrown, Dont understand it myself, Thought i may as well point that out :)

        Happy bug hunting, Thanks!

        • Hello again, Forgive me. After a few tries, the world seems to be appearing properly now. Albeit updating rather slowly.

          Its rather noticeable, between 1-2secs to destroy and place a block.

          Out of curiosity, Is the small rotating cube in the bottom right corner an indicator of loading or another process, Or is it the current block display?

          • Glad to hear that. I’m working on some optimizations (and I’ve already put some out in the public). Please keep testing – feedback is always appreciated! Thank you! :)

  9. Hello,

    I have also faced these problems when I was playing.

    • Which problems exactly? Would you mind posting some of your specs and the detailled console output? Thank you!

  10. The applet doesn’t work on Ubuntu Linux 11.10. (tested with firefox and chrome).

    • Should be working again. Thanks for your feedback! :)

  11. Hello I was wondering if could help develop this I’m educated in very little java but I’m willing to learn alot more.

    • Of course (if you are talking about Blockmania :) )! You can find some information on setting up the development environment in our public wiki. If you feel ready, you can think about writing a short introduction about yourself in our forum here.

  12. This is a pretty cool game! I’m interested in computer programming and I want to make a game in java. the main things that stand in my way are collision (I can make basic collision based on boxes that can’t turn) and world generation. please help me with world generation. if it requires fancy math, I wouldn’t know how to do it cause I’m still in 7th grade. PS: you should add NPC’s and multiplayer :-)

  13. Hi,

    just downloaded it and have problems with the sound. It doens’t work right and is more like overlapping and white noise-like. I’m using Win 7 x64 and JRE7.

    • Hey! This must be a problem related to OpenAL. Maybe installing the latest version from here fixes the problem?

      • Nope, I’ve tried but it doesn’t change :/ Do you need a small video to see what I mean?

        • Nope, I know exactly what you mean. Had this issue myself using Windows 7 64-bit. It’s an issue of the library I’m using to access OpenAL to produce the sounds. If I remember correctly, using a current version of the “OpenAL32.dll”-file (the naming proves that this library was never intended to run on 64-bit systems) provided by the library itself should resolve the issue: https://www.newdawnsoftware.com/jenkins/view/OpenAL/job/OpenAL-win64/

          The original file can be found in “…/Windows/System32/OpenAL32.dll”. Make sure to make a copy of the existing file if this one causes problems.

          Let me know if this helps! ;)

          • It’s a bit better…because there are no sounds at all :D If it doesn’t work I’m just testing it under Mac OS X and try to fix this issue somehow ^^

          • That’s not what I wanted to hear! :) The dll-file must be renamed to “OpenAL64.dll”. But long answer short: I’ve integrated the library files into the project in the latest build, so this should not be a problem anymore. The game should use the dll-files located in the application directory. If this still does not work, try coping both of them into “…/Windows/System32″. But it should. Hopefully. :)

            http://tinyurl.com/6fd7w8e

            Mac OS X should work fine. That’s my main development environment.

  14. Yep, works perfect :) Thanks for your quick help. Ich will make a video soon and send you a PN (even you don’t understand anything ^^)

    • Kein Thema. Und… Oh doch, ich glaube schon! Wollte den Blog und alles was mit dem Spiel zu tun hat nur auf Englisch halten. :D

      • Oh :D Klingt logisch wenn mans genau betrachtet ^^

  15. Hello!!

    I just downloaded Blockmania and i think it is a very good game i don’t know how much work it has had on it but keep going.

    I was also wondering if you would need any help in graphics as i have some skills in it i just need to re-download my program if you want help – and i also could help through the internet side of the project as well.

    + i am also learning C ++ if you want any help with that and i will learn more about it.

    Thanks Jake

    • Glad you like the game! Anyone who likes to contribute can certainly do so – that’s why this game is open source and hosted on GitHub. Just give us a sign by adding a small introductory statement about yourself in our forum and you are good to go!

  16. I tried to run the game, but it just returns white for the textures of the world. The trees and foliage show green, but the blocks are white. When I do a “physics explode” on it, the textures appear. I can’t work out what’s going on. I’ve tried compiling it myself, same problem.

    Help please?

    • Could you give me some information on your specs (operating system, graphics card, Java Runtime Environment, …)? Sounds like a problem caused by the combination of your graphics hardware and overall system configuration. Might also be something I could fix by tweaking the current shaders and making some options available on the outside later on.

      • I’m running Mac OSX 10.6.8.
        Processor Intel Core i3 3.2GHz.
        4GB memory

        Not sure what else to give you. iMacs don’t give much information..

        • The runtime is the latest that apple provide, which I believe is 6

        • It is good to know that you are still using Snow Leopard, so the problem might be solely related to the old OpenGL stack that comes with OS X 10.6. I will look into it. Thank you! :)

        • I’ve pushed a fix that should have fixed this issue. Could you please take a look at the latest build and get back to me? There was another report on the issue today and it seems to be working just fine now: https://github.com/begla/Blockmania/issues/52

          • Hi Begla,
            I downloaded the workaround, and it loads up black now. I have to comment out the error to do with throwing a not implemented exception, so that could be the reason.

            http://pastebin.com/isDJWNeu

            Take a look at the errors

          • I believe this could be because of the night time though. I can’t work out how to get the sun to go to midday.

  17. Upon investigating more, this doesn’t seem to be the case. It returns black regardless.

    • Please delete the “SAVED_WORLDS” folder. I have worked on the terrain generator since your chunk files have been generated. This should at least make the errors go away.

      • That it did. I’ve worked out the textures are working. However the lighting doesn’t appear to update.. It remains black.

  18. I opened Terasology.zip and it said the archive was not valid or couldn’t open. Maybe try zipping it again?

Trackbacks/Pingbacks

  1. Terasology is Dwarf Fortress Meets Minecraft | TechZwn - [...] If for the rest of my life I could only play two games, they would be Dwarf Fortress and ...
  2. Terasology, le clone Open Source de Minecraft | {niKo[piK]} - [...] Source #socialbuttonnav li{list-style:none;overflow:hidden;margin:0 auto;background:none;overflow:hidden;width:100px; height:80px; line-height:10px; margin-right:1px; float:left; text-align:center;} [...]

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>