Linux World Builder

@james, @lucadeltodecso:

I was toying with the idea of using the WorldBuilder in a Linux environment in order to have it generate worlds without the artifacts present in the Windows and Mac OSX versions of the Generator. Is there a Linux version of the tool available? If so, what flavor and version of Linux do you guys use?

Thanks in advance.

The team is on Ubuntu 14.x (I think).

We might be able to send it over, either officially via Steam, or unofficially (which would probably be easiest and less confusing for other users.)

@lucadeltodecso is it all statically linked? Can we simply send a zip over?

Give this a try: editor-2015-09-30

1 Like

That binary fails to run because libglfw3 is not available on bog-standard Ubuntu 14.04 LTS.

Runs fine on Ubuntu 15.04 or later.

2 Likes

Perfect, was just debating an Ubuntu 14 or 15 installation. Thanks!

You’ll still probably need to install the dependent libraries (like glfw3) from the archives (“sudo apt-get install libglfw3” on the command line). A quick look shows that may be the only one, but none of my test systems are pristine enough to be sure.

2 Likes

I think there is also a ppa for glfw3 on 14.04. But using the newest version makes a lot of things easier!

1 Like

Sorry - yes - I intended to mention that you may need to install some packages. GLFW is one. There might be another - but they’re all from the standard package set.

It would be helpful to know if there was anything else.

$ readelf -aW ~/editor | grep -i needed
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libpng12.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libGLEW.so.1.10]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libGL.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libglfw.so.3]
 0x0000000000000001 (NEEDED)             Shared library: [libgtk-3.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgobject-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libglib-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]

Everything except libglfw3 is either seeded in the ISO or is pulled in as a dependency of Ubuntu Unity (ie. ships on the downloaded Ubuntu image). If you’re not using Ubuntu you’re on your own but at least this should help.

It would be pretty easy to wrap that binary in a deb package and put it in a PPA.

2 Likes

OMG, the WorldBuilder works so great on Linux!!! Its faster, plantations generate smoothly (no grids, etc.) LOVE IT!

Thanks @james! (and @bregma for the tips)

2 Likes

@james:

Stoopid question… after crafting a world on my Linux machine, how do I play test it? The Linux flavor of OO is not available and the web version won’t see my local server. I realize this may not possible at the moment, just asking.

Thanks.

EDIT: I just noticed that the local server created by the Linux version of Mave uses an IP on my local net (not 127.0.0.1), so the question is: when teleporting to another world, does OO search the entire local net for the “Universe” selection box or does it assume “127.0.0.1”?

In the next patch update there will be a command you can use from chat window to change the ip it uses to connect to world builder :slight_smile:

2 Likes

This feature is now released (World Builder on one machine, Game on another) - please let us know how you get on with it.

1 Like

Thanks a bunch @james, @lucadeltodecso and the rest of the team. This will make my workflow much easier. I’ll let you know how it’s working!