MegaGlest Forum

Archives (read only) => Vanilla Glest => Linux and other ports => Topic started by: narcisgarcia on 14 March 2009, 20:55:03

Title: Glest tools with free software
Post by: narcisgarcia on 14 March 2009, 20:55:03
Can somebody link a tutorial or reference for installing/compiling Glest tools in a GNU/Linux?
http://glest.org/en/downloads.php

The actual link only points to "glest tools win32"

Thanks.
Title: Re: Glest tools with free software
Post by: Yggdrasil on 15 March 2009, 01:09:10
The Mapeditor should compile with the rest of glest. It is in the source package and maybe also in titi's binary package, not sure.
g3d viewer is not integrated in the build system. I tried to add it some time ago, but it didn't compile because of some wxWidget problems, probably version incompatibilities. Haven't tried to fix that. The source is available in svn, not sure about the source package.

I don't know any other 'official' tools. At least there is nothing else in svn (i wonder about that configurator thing).
Title: Tutorial or reference to compile
Post by: narcisgarcia on 15 March 2009, 10:06:35
I've read this message about "Linux port for glest tools":
https://forum.megaglest.org/index.php?topic=1209.0

But for non-technical users (but free software users), could be useful a step-by-step guide.
Title: Re: Glest tools with free software
Post by: Yggdrasil on 16 March 2009, 12:19:23
The thread is really old. The patches aren't valid anymore.

As I said, only the map editor is available for linux and it builds with the rest of glest.
Where did you get the glest game from? Some distributions patch the map editor out (don't know why), but maybe you have luck and it is included in the glest package. Just have a look before you go on. It's called glest_editor.

To compile glest and the map editor you have to download the source package of glest.
official: http://sourceforge.net/project/showfiles.php?group_id=127297&package_id=141386
titi's: http://www.titusgames.de/glest-source-3.2.1.tar.bz2

The only difference is that titi included some files generated with autotools (autogen.sh). So just for simplicity take the latter.
After unpacking take a look in README.linux. This should explain most things.
The list of dependencies is incomplete. You also need lua 5.1 and wxWidget 2.8. Just pull it all down through your package manager and make sure you also get the -dev or -devel versions of the libraries, e.g. liblua5.1-0-dev, libogg-dev.
Then just run:

./configure
jam

as stated in the readme. The map editor is called glest_editor.
Title: Re: Glest tools with free software
Post by: narcisgarcia on 16 March 2009, 17:14:45
Ok, I'm using Ubuntu GNU/Linux.
Title: Re: Glest tools with free software
Post by: Yggdrasil on 23 March 2009, 11:41:10
Sorry for the big delay.

No luck: http://packages.ubuntu.com/jaunty/i386/glest/filelist (http://packages.ubuntu.com/jaunty/i386/glest/filelist)

Install libwxbase2.8-0 and libwxgtk2.8-0 packages and try this binary:
glest_editor_3.2.1.tbz2 (http://www1.inf.tu-dresden.de/~s1445051/glest_editor_3.2.1.tbz2)
Title: Re: Glest tools with free software
Post by: titi on 17 June 2009, 11:35:36
Use the glest installer(Loki) from http://www.liflg.org/  ( http://www.liflg.org/?catid=7&gameid=87 )
A precompiled version of the editor is included.