Skip to content

timfox/idTech3Radiant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

id Tech 3 Radiant

id Tech 3 Radiant is an open-source, cross-platform level editor for id Tech based games. It comes with some map compilers and data authoring tools.

Useful links

Supported games

GtkRadiant provides level editing support for Quake, Quake2, Quake2 Re-Release, Quake III Arena, QuakeLive, Quetoo, Return to Castle Wolfenstein, Star Trek Voyager: Elite Force, Star Wars Jedi Knight: Jedi Academy, Unvanquished, Urban Terror, Wolfenstein: Enemy Territory.

How to build

CMake (cross-platform)

Requirements: GTK2 + GtkGLExt, OpenGL, libxml2, zlib, libpng, libjpeg, glib (pkg-config helps on Linux/macOS; on Windows provide GTK_INCLUDE_DIRS/GTK_LIBRARIES manually if pkg-config is unavailable).

# from repo root
cmake -S . -B build/radiant -DBUILD_RADIANT=ON
cmake --build build/radiant --target radiant q3map2 q3data -j"$(nproc)"

Outputs land in build/radiant/install/ (plugins in install/modules/).

SCons (legacy)

You can find more complete instructions to build on Windows here and to build on Mac OS here.

The Linux version is developed and distributed via Flatpak. See GtkRadiant on Flathub.

# ArchLinux
pacman -S git scons libxml2 gtk2 freeglut gtkglext subversion libjpeg-turbo
# get the source
git clone "https://github.com/timfox/idTech3Radiant.git"

# enter the source tree
cd radiant

# build everything
scons

You can build a specific part like this:

# only build the GtkRadiant level editor
scons target="radiant"

# only build the q3map2 map compiler and the q3data tool
scons target="q3map2,q3data"

Level editor binary (radiant) and tools (like q3map2) will be found in install/ directory. The build process automatically fetches gamepacks.

Building on Linux with the Flatpak SDK

# get the flatpak manifest
git clone "https://github.com/flathub/io.github.TTimo.GtkRadiant.git"

# use flatpak-builder
cd io.github.TTimo.GtkRadiant
flatpak-builder --force-clean --user --install gtkradiant io.github.TTimo.GtkRadiant.json

You can also checkout the GtkRadiant tree locally and modify the manifest to point to it.

Here is what you can do for debugging:

flatpak run --command=sh --devel io.github.TTimo.GtkRadiant
gdb /app/gtkradiant/radiant.bin

About

id Tech 3 level editor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 57.5%
  • C++ 40.6%
  • Makefile 1.4%
  • Python 0.4%
  • CMake 0.1%
  • Java 0.0%