the Rainbow Networks
+++eXy FFA
Map: rq3dm4
Players: 6 / 18
The golden pot › DEV › Maps, Models and Mods › How to: Install GTK-Radiant
How to: Install GTK-Radiant
There are worlds waiting to be explored and objects to be made. Enjoy.
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexMaps, Models and Mods
View previous topic :: View next topic  
Author Message
W1ZrD
Founder
Founder


Joined: Aug 15, 2007
Posts: 1108
Location: Finland

PostPosted: Sun Nov 25, 2007 4:16 pm    Post subject: How to: Install GTK-Radiant Reply with quote

Many people are asking about GTK Radiant and the procedure of installing it, making it compatible with Open Arena.
So I decided to write a tutorial which hopefully clarifies it a little.

I will teach you how to install it on a Ubuntu/Kubuntu system (feisty), so as for Windows/Mac users, use Google as I have no experience of how it works on those systems.

Make it easy for yourself, start with the latest version and compile it directly from the a version control system, or SVN to be precise.
I hear you asking: What is SVN?
Quote::
SVN: It allows users to keep track of changes made to any type of electronic data, typically source code, web pages or design documents.
We'll get back to that in just a moment, but lets just get started now then, shall we?

Before we try to compile and install GTK Radiant(or any other program for that matter), we need to ensure that we have all the packages needed for compiling. The best way to do this is to check them one-by-one.
So, which ones do we need for GTK Radiant then?
Additionally I would recommend the following package just to ensure a proper building environment:
Additionally you might want to run:
Code::
sudo aptitude install build-essential
if you get errors about gcc, thanks pulchr for mentioning this.

Ok, now we have the packages we need, all we need now is some files to work with (and some coffee).

As I mentioned earlier, we will grab all our files directly from the SVN, this is now child's play since we have subversion installed.

Simply type:
Code::
svn checkout https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/ ./GtkRadiant
in the directory where you want the files to be downloaded to, for the purpose of this tutorial I will use /home/user/GTKRadiant.
Once that is done, then repeat the process by typing:
Code::
svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./GtkRadiant/games/Q3Pack
Now we have the latest version of GTK Radiant on our harddrive. Congratulations and well done!

Now what then? Well, now we need to get started with actually compiling the files and making them ready for use, this is where the interesting part starts :grin:

Enter the directory containing the SConscript file. If you follow this tutorial, that directory would be /home/user/GTKRadiant. Once you are there, type
Code::
scons SETUP=0
and it will start the building process. This may take a long time depending on your hardware.

NOTE: The process will most likely report a number of errors, of various kind, but ignore these unless they are fatal ones.

If the build stops giving errors, this is more times than not due to missing packages/dependencies, so make sure that you read the error messages as this usually reveals which package you are missing. You can then search for them here.




Once we have gotten to this point our GTK Radiant is properly built and ready for installation :sexy:

To install GTK Radiant enter the base directory again and enter:
Code::
python ./install.py
and seconds later you will have it installed. Remember that you need to run this every time you update from the SVN.

Now we are done, or are we? Lets try it and see how it works.
Enter the /home/user/GTKRadiant/install directory then type:
Code::
./radiant.x86
and this will now launch our freshly installed GTK Radiant.

You will notice that the program is working as it should (if everything went well during installation) but you only have the option to choose 'Quake 3 Arena / Team Arena' and this is not what we want right now.

So, close down GTK Radiant again while we configure it for Open Arena, which we will do right away.

In your /home/user/GTKRadiant/install directory you should have a folder called q3.game.

Now copy that folder by typing
Code::
cp -r q3.game oa.game
then enter the newly created oa.game folder and enter
Code::
mv baseq3 baseoa
. Once that is copied and renamed we will head over to our /home/user/GTKRadiant/install/games folder and type
Code::
cp q3.game oa.game

All that remains is to edit the contents of the oa.game file in /home/user/GTKRadiant/install/games, this needs to be configured according to your own system, this is how I would write it for this tutorial:
Code::
<?xml version="1.0"?>
<game
  type="q3"
  index="1"
  name="Open Arena"
  enginepath_win32="C:/Program Files/Quake III Arena/"
  enginepath_linux="/home/user/games/openarena/"
  enginepath_macos="/Applications/Quake3/"
  engine_win32="quake3.exe"
  engine_linux="ioquake3.i386"
  engine_macos="Quake3.app"
  prefix=".openarena"
  basegame="baseoa"
  basegamename="Open Arena"
  knowngame="missionpack"
  knowngamename="Open Arena"
  unknowngamename="Custom Open Arena modification"
  shaderpath="scripts"
  archivetypes="pk3"
  texturetypes="tga jpg"
  modeltypes="md3 ase lwo obj 3ds picoterrain"
  maptypes="mapq3"
  shaders="quake3"
  entityclass="quake3"
  entityclasstype="def xml"
  entities="quake3"
  brushtypes="quake3"
  patchtypes="quake3"
/>

Now save this file and go back to /home/user/GTKRadiant/install directory, type:
Code::
./radiant.x86
and you're in business baby! Happy mapping!



[ for all intentions and purposes, use this guide on your own risk ]

_________________
- Carl Sandburg -

Nothing happens unless first we dream.


Last edited by W1ZrD on Wed Dec 12, 2007 9:33 am; edited 1 time in total
Back to top
View user's profile Send e-mail Visit poster's website
W1ZrD
Founder
Founder


Joined: Aug 15, 2007
Posts: 1108
Location: Finland

PostPosted: Tue Dec 11, 2007 11:24 am    Post subject: Re: How to: Install GTK-Radiant Reply with quote

This Linux tutorial can now be found on the wiki.

And this Windows tutorial is also on the wiki

_________________
- Carl Sandburg -

Nothing happens unless first we dream.
Back to top
View user's profile Send e-mail Visit poster's website
pulchr
Elite Haxor!
Elite Haxor!


Joined: Oct 23, 2007
Posts: 167
Location: sweden

PostPosted: Tue Dec 11, 2007 12:57 pm    Post subject: Re: How to: Install GTK-Radiant Reply with quote

awesome! will try this on my ubuntu box at home. need to do some mapping while my gf plays wow on the win xp compu :)

thanks wiz!

_________________
barry white saved my life
Back to top
View user's profile Send e-mail
pulchr
Elite Haxor!
Elite Haxor!


Joined: Oct 23, 2007
Posts: 167
Location: sweden

PostPosted: Wed Dec 12, 2007 12:02 am    Post subject: Re: How to: Install GTK-Radiant Reply with quote

i got it working! nice guide wizard! i had to add "sudo aptitude install build-essential" at one stage when i got errors about gcc 3.x

_________________
barry white saved my life
Back to top
View user's profile Send e-mail
W1ZrD
Founder
Founder


Joined: Aug 15, 2007
Posts: 1108
Location: Finland

PostPosted: Wed Dec 12, 2007 9:32 am    Post subject: Re: How to: Install GTK-Radiant Reply with quote

pulchr wrote:
i got it working! nice guide wizard! i had to add "sudo aptitude install build-essential" at one stage when i got errors about gcc 3.x
Yes, that can sometimes be required to building packages, good that you mentioned that, it's now appended to the tutorial. Thanks.

_________________
- Carl Sandburg -

Nothing happens unless first we dream.
Back to top
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum Index -> Maps, Models and Mods All times are GMT + 1 Hour
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Welcome Anonymous


Membership:
Latest: kontol
New Today: 0
New Yesterday: 0
Overall: 355

People Online:
Members: 0
Visitors: 32
Total: 32
Who Is Where:
 Visitors:
01: The golden pot
02: The golden pot
03: Maps
04: Maps
05: Maps
06: The golden pot
07: The golden pot
08: Maps
09: The golden pot
10: The golden pot
11: The golden pot
12: The golden pot
13: The golden pot
14: The golden pot
15: My Account
16: The golden pot
17: The golden pot
18: Home
19: Rainbow Media
20: The golden pot
21: The golden pot
22: Maps
23: The golden pot
24: The golden pot
25: The golden pot
26: The golden pot
27: Shoutblock
28: The golden pot
29: The golden pot
30: The golden pot
31: The golden pot
32: The golden pot

Staff Online:

No staff members are online!

The Rainbow Networks website is hosted by JockeTF and Soder on furver.se.

The Rainbow Networks
Interactive software released under GNU GPL, Code Credits, Privacy Policy
Azul theme and related images designed by Jamin