ZeroRadiant / GtkRadiant? 1.6

We are working on new Radiant releases based on the 1.4 sources for a new id project. We had promised to get the 1.4 source released under the GPL, which will happen with this project.

There is no end user release yet, but if you are a developer we need your help. Drop by on irc.telefragged.com #qeradiant, or on the developer mailing list and make yourself useful.

status

08.23.08

Checked revision 309 which has id's latest updates to the ZeroRadiant codebase (not much at all really, but it was a necessary step to be able to keep our internal version in sync). I also put together a few changes to the supporting windows binaries/libraries/headers which currently reside at http://zerowing.idsoftware.com/files/radiant/developer/1.6.1/

There has been quite a bit of work on the SVN in the meantime, so we may be close to getting Linux and Windows binaries available again.

04.24.08

We could push ready-to-use Linux builds right now, but we don't have Windows builds yet so I've been holding off.

04.01.08

We are getting close to making the first builds available. A few issues to settle with the installation/configuration procedure and we'll be good to go. We also need to put together an updated compile guide.

03.11.07

The essential modules compile on Linux (Debian sid x64 here) and on OSX (10.4.10 Intel). For OSX I used fink and a recent XDarwin release. Making ZeroRadiant a fink package may be a good idea. Also need to consider which X11 package we should recommend and how to best interface with it. As far as installation/deployment, we may be able to produce a static tree and use a script to setup.

30.09.07

The essential modules compile with MSVC 8 on Windows. We are using the editor internally already. We have started putting together elements of the new OSX/Linux build system (based on scons). That work needs to be finished before the editor can run again on those platforms.

source code

The current source code lives is in SVN: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk

compile guide

On Linux and Mac OSX you will need scons, the Gtk2 development libraries, GtkGLExt development libraries and various other things. On Windows you need MSVC8, you also need the precompiled/preconfigured binaries for Gtk2 and various other things, which you can get here (NOTE: currently working on updating the Win32 instructions and dependencies)

Various platforms may go in and out of compiling, if you expect stuff to fall in place right away, you're nuts. You will most likely want to be on the #qeradiant IRC channel asking questions while you get things running for the first time.

Building with scons

This applies to Linux and Mac OSX. Could apply to Windows as well if someone adds support for building with scons under windows.

You also need some gamepaks for the games you plan to use the editor with. Typically game paks are not stored in the source tree, because their content is not under GPL and subject to a different license. But fear not, the build scripts can fetch those for you. Do something like:

$ scons target=setup

That will download a default set of gamepaks under the install/installs/ directory. ZeroRadiant uses the entries in that directory to know which games it supports.

Now you can just compile:

$ scons target=radiant,q3map2 config=debug

After that you can run your newly compiled level editor:

$ cd install && ./radiant.bin

Building on Windows

Once you unzipped the GtkR-deps zip file mentioned earlier, you should be able to compile the solution right away. I haven't done any work on how to get things setup for running the compiled binary easily on Windows yet, so your on your own (real programmers don't use Windows anyway, so there)

The current runtime seems crashy, so I've tried to setup a new one based on a fresh set of Gtk+ win32 binaries. There are builds and instructions here: http://gtk.org/download-windows.html

Started with the bundle package, also grabbed libpng and libzlib packages. Kept the old GtkGLExt, although you can get the source and apparently updated binaries from: http://www.k-3d.org/gtkglext/Main_Page. Had to patch xmlversion.h to remove the LIBXML_ICONV define as well. Got stuff compiled, set it up in the runtime and see if it's better?

Native Mac Gtk?

Check this out: http://developer.imendio.com/projects/gtk-macosx

TODO

(this is mostly my current worklog / todo list, don't try to outguess what works and what doesn't from this)

  • getting windows builds done:

Must be installed on the Windows machine: cygwin (within the cygwin distribution, install svn, wget, unzip), scons (scons.bat must be found in the path)

  • setup assembly (manual steps as a reference):
$ scons target=setup
~/SVN/ZeroRadiant$ rsync -a --verbose --exclude=.svn install/ atuer/ZeroRadiant-base

(misc cleanups - can't test those paks so not including)
$ rm -rf ZeroRadiant-base/installs/Q2WPack/ ZeroRadiant-base/installs/UFOAIPack/

$ rsync -a --verbose --exclude=.svn ../bin/Linux/x86/ ZeroRadiant-x86-20080405/
$ rsync -a --verbose ZeroRadiant-base/ ZeroRadiant-x86-20080405/

$ rsync -a --verbose --exclude=.svn ../bin/Linux/x64/ ZeroRadiant-x64-20080405/
$ rsync -a --verbose ZeroRadiant-base/ ZeroRadiant-x64-20080405/

zip and test