Emmabuntus, Ubuntu, Derivate, Linux, Open Source BackTrack, Linux, distributions, Ubuntu, derivate, securuty, forensic VirtualBox, Linux, Ubuntu, Raring Ringtail synaptic, Ubuntu, Linux, software packages jwplayer, multimedia, Linux, Ubuntu, flash Meshlab, graphic, software, Ubuntu, open source, Linux Synapse, Linux, Ubuntu, raring, Quantal Gimp, Ubuntu, Linux FreeMind, Linux, open source Linux, infographic, history

Open Arena Gamer’s Manual: Configure GTK Radiant under Linux.

Ubuntu

This guide works also on Ubuntu,Kubuntu and Xubuntu. Because they are based on Debian. Also other Debian based distros works.

Subversion

To download projects from Subversion/svn, you will need to have your distribution's subversion package(s) installed. This varies from distro to distro. The following command should do the job in Debian (logged in as root):

aptitude install subversion

GtkRadiant

N/A-----------

environment:

- gcc >= version 3.1 (preferably)

- scons >= 0.96 (radiant is built with scons rather than make)

- python >= 2.3.0, (scons requires python, some build steps use python)

- svn >= 1.1 (some build steps use svn)

dependencies:

- gtk+ >= 2.4.0 (requires glib, atk, pango, iconv, etc)

- gtkglext >= 1.0.0 (requires opengl)

- libxml2 >= 2.0.0

- zlib >= 1.2.0 (for archivezip module)

- libpng >= 1.2.0 (for imagepng module)

- libmhash = 0.9.0 (for q3map2)

The following command should install the dependencies, if I missed one, please let me know, or add it. You'll need root privileges.

aptitude install build-essential scons python libglib2.0-0 libglib2.0-dev libgtk2.0-0 libgtk2.0-common libgtk2.0-bin libgtk2.0-dev libgtkglext1 libgtkglext1-dev libxml2 libxml2-dev libpango1.0-0 libpango1.0-common libpango1.0-dev libatk1.0-0 libatk1.0-dev zlib1g zlib1g-dev libpng12-0 libpng12-dev libmhash2 libmhash-dev

To check GtkRadiant out of ID's svn repository, issue the following commands from whichever directory you'd like to install it (preferably your user's home directory), it will create it's own GtkRadiant directory. It's probably better to use a normal user rather than root for this.

svn checkout https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/branches/1.5/ ./GtkRadiant
svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./GtkRadiant/games/Q3Pack
svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Rad_Manual/trunk/ ./GtkRadiant/install/Q3Rad_Manual

build:

If you have a single-core machine, execute the following command in the directory containing SConscript:

scons SETUP=0

If you have an SMP or multiprocessing machine, you can use the -j parameter to split the compile in to multiple jobs. The recommended setting is to use the number of processors or cores, plus one. For example, on my dual-core machines I use:

scons -j3 SETUP=0

install:

Return to the directory you were in before building and execute the following command:

python ./GtkRadiant/install.py

note - this script should be run after each time you update from svn

Advertisement

Open Arena

The following command will install the OpenArena packages (logged in as root):

aptitude install openarena openarena-data openarena-server

The dedicated server package is optional, but I included it anyway because it's pretty small.

Configuration

The Debian packages for OpenArena complicate things slightly because they keep the game libraries and binaries in different locations. Fortunately, we can use a strategically placed symlink to fool GtkRadiant in to thinking they are all together. Enter this as root.

ln -s /usr/share/games/openarena/baseoa /usr/games/baseoa

When GtkRadiant prompts us later, we will point it to /usr/games as the game directory.

Next, we need to get the mapping definitions for OpenArena in to our GTKRadiant installation(as normal user):

svn checkout http://openarena.ws/svn/tools/radiant1_5/ ./GtkRadiant/install

Try starting GtkRadiant as a normal user:

./GtkRadiant/install/radiant.x86

If you are prompted to enter the location of OpenArena, enter: /usr/games/

If upon attempting to start GtkRadiant, you get errors regarding shaders not being found, try the following (as root):

mkdir /usr/games/baseoa/scripts
cp ./GtkRadiant/install/oa.game/baseoa/default_shaderlist.txt /usr/games/baseoa/scripts/shaderlist.txt

If you get "map not found" errors when attempting to load your map, enter "set sv_pure 0" in the Open Arena console.

source

Do you consider this article interesting? Share it on your network of Twitter contacts, on your Facebook wall or simply press "+1" to suggest this result in searches in Google, Linkedin, Instagram or Pinterest. Spreading content that you find relevant helps this blog to grow. Thank you!
Share on Google Plus

About Hugo

Ubuntu is a Linux distribution that offers an operating system predominantly focused on desktop computers but also provides support for servers. Based on Debian GNU / Linux, Ubuntu focuses on ease of use, freedom in usage restriction, regular releases (every 6 months) and ease of installation.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment