Skip to content
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.

How to build on Windows (experimental)

mfn edited this page Nov 22, 2010 · 3 revisions

These instruction are still under review

You can use anything besides Desktop\src\GtkRadiant, just replace subsequent directory names throughout this guide

  1. Clone https://github.com/mfn/GtkRadiant to e.g. Desktop\src\GtkRadiant
  2. Go into Desktop\src\GtkRadiant and execute git checkout mfnexperiment
    This actually switches to the mfnexperiment branch.
  3. Download http://zerowing.idsoftware.com/files/radiant/developer/1.6.1/GtkR-deps-1.6-3.zip (they're linked from http://www.qeradiant.com/cgi-bin/trac.cgi/wiki/ZeroRadiant ) and unzip them into Desktop\src. The directories must read Desktop\src\gtk2, Desktop\src\jpeg-6b, etc.
  4. Download further dependencies from https://github.com/downloads/mfn/GtkRadiant/GtkR-deps-1.6-4.zip and unzip them into Desktop\src too, so the directories read Desktop\src\expat_2.0.1-1_win32, etc.
  5. Open Desktop\src\GtkRadiant\radiant_VC9.sln in VS C++ 2008
  6. In VS C++ 2008 start Build / Build Solution (or hit F7)
    Some warnings will be displaying during the compile stage, but as long as it ends with ... 0 failed ... it's ok.
  7. Now the compiled binaries (q3map2.exe and radiant.exe) are in Desktop\src\GtkRadiant\install. They won't run yet because they depend on a lot of DLLs which have to be copied into the directory first. There's a batch script Desktop\src\GtkRadiant\copy_dlls.bat which does that. There's one possible catch here: it also requires the file msvcr90.dll whose source path is installation dependent. If the provided path (look into copy_dlls.bat) fails, you've to manually locate and copy it into Desktop\src\GtkRadiant\install. The file is part of VS C++ 2008 so it's there somewhere.

At this point, the radiant.exe can be started. But this guide doesn't include any game environment setting which is required to actually use it!

Clone this wiki locally