GtkRadiant1_2-Win32



GtkRadiant 1.2

How to install GtkRadiant 1.2 for use with Tremulous in Windows 32.

 

 

Getting GtkRadiant

GtkRadiant 1.2 is available for download from the Files section of qeradiant.com.

The newest version available is 1.2.13 for which you will need to download both the 1.2.11 installer and the 1.2.13 patch. These files are available from the following links:

 

 

 

Installing the editor

 

Open GtkRadiantSetup-1.2.11-All.exe and follow the instructions. You may install GtkRadiant anywhere you choose but it is a good idea to install to a directory called GtkRadiant-1.2/ rather than the default of GtkRadiant/. This will help avoid confusion with other versions of GtkRadiant. Default paths may be left for all games. Select Custom from the Setup Type menu and uncheck every game you do not wish GtkRadiant to support (including Quake III Arena). Continue on until installation completes.

 

Then open GtkRadiantSetup-1.2.13-update.exe and direct it to install into the same directory as 1.2.11. Default paths may be used again for all games. Once again select Custom from the Setup Type screen. Uncheck unneeded games (once again including Quake III Arena). Continue until installation completes.

 

 

Setting up the editor

 

For the purposes of this guide we will assume that you have installed Tremulous to a directory named Tremulous/ (Example: c:/Program Files/Tremulous/) and that you have installed GtkRadiant 1.2 to a directory named GtkRadiant-1.2/ (Example: c:/Program Files/GtkRadiant-1.2/).

 

 

The ".game" file

 

The .game file allows GtkRadiant to include Tremulous in its game list. This file belongs in your GtkRadiant-1.2/games directory. Create this directory if it does not already exist. Inside this directory create a text document named trem.game. The contents of this file should be as follows:

 

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>

<game

name="Tremulous"

gametools="<path to Tremulous>/radiant-1.2/"

basegame="base"

engine="tremulous.exe"

shaderpath="scripts/"

/>

 

An example file can be downloaded here.

 

Remember that you need to customize this file! In specific the path to Tremulous sections.

 

If after all this Tremulous does not show up in the dropdown list check if the .game file hasn't been saved as trem.game.txt due to hidden extensions.

Showing hidden extensions is done by going to Start Menu> Settings> Control Panels> Folder Options.

Select the view tab and check "show hidden files and folders" while unchecking "hide file extensions for known file types". Click OK and check the trem.game file.

 

 

The project file

 

The project file contains a number of important paths as well as compiler command-lines. This file belongs in your Tremulous/base/scripts/ directory. Create this directory if it does not already exist. Inside this directory create a text document named quakev3.qe4. (NOTE: If you name your project file something other than quakev3.qe4 you will be asked to select your project file when you first run GtkRadiant. If this continues to happen on successive runs, try renaming you project file to quakev3.qe4).

 

The contents of this file should be as follows:

 

{

"version" "4"

"basepath" "<path to Tremulous>/base"

"rshcmd" ""

"remotebasepath" "<path to Tremulous>/base"

"entitypath" "<path to Tremulous>/radiant/"

"texturepath" "<path to Tremulous>/base/textures"

"autosave" "<path to Tremulous>/base/maps/autosave.map"

"mapspath" "<path to Tremulous>/base/maps"

"brush_primit" "0"

"user_project" "1"

 

<optional compiler command-lines here>

 

"dir" "base"

}

 

An example file can be downloaded here.

 

Remember that you need to customize this file! In specific the path to Tremulous sections.

 

The "gametools" directory

 

In order to save its settings, GtkRadiant 1.2 requires a gametools directory. This is the directory is specified in your trem.game file. Example: gametools="c:/Program Files/Tremulous/radiant-1.2/". You will have to create this directory manually as GtkRadiant will not do it on its own.

 

Common files

 

Because GtkRadiant does not natively support Tremulous, there are a number of necessary files missing. These files can be downloaded in a zip file here or here.

 

This zip file contains:

 

Extract this archive to Tremulous/base/.

 

If everything is in the right place you should find common-spog.pk3 in Tremulous/base/. The rest of the files, entities.def', common.shader and shaderlist.txt, should be in Tremulous/base/scripts/.

 

 

Running & configuring the editor

 

Upon running the editor for the first time you should be confronted by a window asking you to select a game. If you have performed the steps in The ".game" File correctly then you should be able to select Tremulous from the drop-list. Optionally check off Auto load selected game on startup to avoid seeing this window again on each successive run. Click OK to continue.

 

If you did not name your project file quakev3.qe4, the next window you see will be a small error dialog alerting you that GtkRadiant can not find the default project file. Click OK and in the following window point to the project file you created in "Tremulous/base/scripts/".

 

After this step you should see GtkRadiant briefly open and then crash. Some versions of Windows will create an Error Report dialog when this happens. This report can be safely left unsent.

 

Run GtkRadiant again. If you did not select Auto load selected game on startup you will once again be asked to select a game. Tremulous should still be selected. Click OK. This time GtkRadiant should run successfully and stay open.

 

From here you can modify program settings by either selecting Preferences from the Edit menu or by simply pressing P.

 

At this point you should be able to begin mapping using the textures included with the default Tremulous maps.