[DEPRECATED]Configuring GtkRadiant 1.4 under Linux

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

[DEPRECATED]Configuring GtkRadiant 1.4 under Linux

Postby C.Brutail » Wed Jun 20, 2007 7:21 am

If one doesn't have a love affair with GtkRadiant 1.4 it's strongly recommended to use NetRadiant instead. NetRadiant received many bugfixes in the map compiler and has a nice Nexuiz game pack which works without hacking. Thus this guide is DEPRECATED.

Visit http://www.icculus.org/netradiant/ for further information.




Download:

http://akion.planetnexuiz.de/radiant1.4 ... ff.tar.bz2

--------------------------------------------------
GtkRadiant 1.4 for linux Nexuiz installation guide
--------------------------------------------------

Ok, so finally, here it is. Expect strong WorksForMeTM behaviour :P
Nah, it's not that difficult, and should proly work, but requires
some steps to do so.
I've included everything in the tarball, should work fine.

Ok, ok, nuff of the BS, how to do it???


First, GtkRadiant and q3map2 has some library dependencies. You need:

Fetched from directly The GtkRadiant readme:

- You need to have the full native Linux versions of the games we support.
(so first of all, get the latest version from
http://alientrap.org/nexuiz/index.php?module=downloads
and extract it to somewhere)
- Linux 2.4 kernel recommanded (old 2.2 and unstable kernels untested)
(comment: It works for sure with the 2.6 series too. Simply ignore this)
- glibc 2.1 or above (2.2 recommended)
- XFree86 4 with hardware accelerated OpenGL support (others untested)
(comment: Xorg is ok too. :F )


You need the following dynamic libraries:

* GTK+ 1.2 http://www.gtk.org
* zlib http://www.cdrom.com/pub/infozip/zlib/
* libxml2 http://xmlsoft.org/
* libpng http://www.libpng.org/pub/png/libpng.html

And you'll also need:

* libmhash2

for q3map2.
Install all these libraries (newer versions should work fine too)

Now, extract the GtkRadiant-1.4.tar.bz2 into
/opt
Yes, you've read it right, /opt.
Don't extract it to elsewhere, it won't work any other way.
To extract it there, you might need root privilegs.

Extract the q3map_2.5.16_linux_x86.tar.tar into
/opt/GtkRadiant-1.4/
This should overwrite the old q3map2, and replace it with a little bit newer version.
See readme inside the tarball for more info

Extract
/games
/nexuiz.game
global.pref
global.xlink

into /opt/GtkRadiant-1.4/
Now, you'll need some editing. We need to set up some paths. Open

/opt/GtkRadiant-1.4/games/nexuiz.game

in your favorite editor, and replace the obvious paths.
(for dummies: enginepath ="/to/your/nexuiz/directory/" and engine="nexuiz.sh you like to use")

Next, open:

/opt/GtkRadiant-1.4/nexuiz.game/local.pref

and edit the line:
<epair name="LastProject">/to/your/nexuiz/install/data/default_project.proj</epair>

to the obvious value.

Pheww, we're almost halfway now ;)

Now, copy
/data

into your nexuiz install's data dir. You might also want to extract the *.shader the shaderlist.txt
files from Nexuiz's data package (/data/data********.pk3/scripts/)

We're almost done. The final step is required for q3map2, I've only found this workaround to solve
it's problem about not founding any map resources.
in your ~, create a the directories:
~/.q3a/baseq3/

and symlink all the content from nexuiz/data/ into it.

Now you should be ready to launch GtkRadiant 1.4 ready for Nexuiz:

$ /opt/GtkRadiant-1.4/./radiant

And "kiss your social-life bye-bye!" :D

Any questions you might have, head over to the editing section of the Nexuiz forums:
http://forums.alientrap.local/viewforum.php?f=2

Have fun mapping and playing Nexuiz!

[LDB]C.Brutail aka Cube0wL
Special thanks to KadaverJack for providing me GtkRadiant-1.4.tar.bz2


UPDATE:
I've had some issues with this method: if you had quake3 installed too, it got confused by the shaders symlinked into ~/.q3a , and soon the game crashed. But don't worry, this can be fixed too.
To fix it, you have to move away all your quake3 data form

~/.q3a

to another directory in your home, let's say to:

~/.quake3

Now all you have to do is to start quake3 with the following cvar in your command line:

+set fs_homepath ~/.quake3

This way quake3 will no longer seek for data in ~/.q3a, but in ~/.quake3
Last edited by C.Brutail on Tue Nov 25, 2008 12:03 pm, edited 4 times in total.
"One should strive to achieve; not sit in bitter regret."
WE ARE NEXUIZ.
Image
Image
C.Brutail
Laidback mapper
 
Posts: 2357
Joined: Tue Feb 28, 2006 7:26 pm
Location: Ironforge

Postby Shoe » Wed Jun 20, 2007 5:05 pm

What distro do you run? I could never get 1.4 to work on Ubuntu.
Shoe
Keyboard killer
 
Posts: 517
Joined: Wed Mar 08, 2006 2:18 am

Postby C.Brutail » Wed Jun 20, 2007 7:19 pm

debian sid, but should work under ubuntu two.
Currently there are two problems, one you can live with it and one critical.
I'll tell you more about the stuff later, but now I have to learn a lot for a very very hard exam.
"One should strive to achieve; not sit in bitter regret."
WE ARE NEXUIZ.
Image
Image
C.Brutail
Laidback mapper
 
Posts: 2357
Joined: Tue Feb 28, 2006 7:26 pm
Location: Ironforge

Postby C.Brutail » Thu Jun 21, 2007 12:29 pm

Ok, I've solved the mulitple buttons problem, turned out I was missing a file :)

But compiling a map is still not working. It finds the map, writes into the bsp, but can't find any of the shaders.

Code: Select all
=== running BSP command ===
"/opt/GtkRadiant-1.4/q3map2" -v  -connect 127.0.0.1:39000  -game quake3 -fs_basepath "/home/akion/Cuccok/Nexuiz_edit/" -meta "/home/akion/Cuccok/Nexuiz_edit/data/maps/killall_organic.map"
Connected.
threads: 4
Q3Map         - v1.0r (c) 1999 Id Software Inc.
Q3Map (ydnar) - v2.5.16
GtkRadiant    - v1.5.0 Oct 10 2004 20:39:46
Voter turnout
--- InitPaths ---
VFS Init: /home/akion/.q3a/baseq3/
VFS Init: /home/akion/Cuccok/Nexuiz_edit//baseq3/

--- BSP ---
Creating meta surfaces from brush faces
        0 shaderInfo
--- LoadMapFile ---
Loading /home/akion/Cuccok/Nexuiz_edit/data/maps/killall_organic.map
entering /home/akion/Cuccok/Nexuiz_edit/data/maps/killall_organic.map
WARNING: Couldn't find image for shader textures/common/caulk
WARNING: Couldn't find image for shader textures/e7/e7brickfloor01
WARNING: Couldn't find image for shader textures/e7/e7walldesign01b
WARNING: Couldn't find image for shader textures/e7/e7sbrickfloor
WARNING: Couldn't find image for shader textures/cbctf5/cbctf5_tilefloor1
WARNING: Couldn't find image for shader textures/cbctf5/crystal_blue
WARNING: Couldn't find image for shader textures/e7/e7bricks01
WARNING: Couldn't find image for shader textures/e7/e7bmtrim
WARNING: Couldn't find image for shader textures/e7/e7brnmetal
WARNING: Couldn't find image for shader textures/e7/e7plate01
WARNING: Couldn't find image for shader textures/e7/e7panelwood2
WARNING: Couldn't find image for shader textures/e7/e7panelwood
WARNING: Couldn't find image for shader textures/liquids/ruiner_water1
WARNING: Couldn't find image for shader textures/e7/e7trim01
WARNING: Couldn't find image for shader textures/e7/e7steptop
WARNING: Couldn't find image for shader textures/sav-graysky1/sav-graysky1_skybox
WARNING: Couldn't find image for shader textures/e7/e7sbrickfloor_ow
WARNING: Couldn't find image for shader textures/e7/e7sbrickfloor_jump
WARNING: Couldn't find image for shader textures/cbctf5/crystal
WARNING: Couldn't find image for shader textures/e7/e7steptop2
WARNING: Couldn't find image for shader textures/common/trigger
WARNING: Couldn't find image for shader textures/e7/e7beam02
WARNING: Couldn't find image for shader textures/common/clip
      452 total world brushes
        0 detail brushes
      101 patches
      259 boxbevels
       66 edgebevels
       28 entities
     1534 planes
        0 areaportals
Size: -2688, -2048,  -256 to   896,  2048,  1408
--- ProcessDecals ---
        0 decal projectors
--- CreateMapFogs ---
        0 fogs
############### model 0 ###############
block size = { 1024 1024 1024 }
BSP bounds: { -2688.000000 -2048.000000 -256.000000 } { 896.000000 2048.000000 1408.000000 }
Lightgrid bounds: { 99999.000000 99999.000000 99999.000000 } { -99999.000000 -99999.000000 -99999.000000 }
--- PatchMapDrawSurfs ---
      101 patches
       47 patch LOD groups
--- FaceBSP ---
     2801 faces
     2034 leafs
--- MakeTreePortals ---
        4 tiny portals
        0 bad portals
--- FilterStructuralBrushesIntoTree ---
      452 structural brushes
      893 cluster references
--- FloodEntities ---
     1122 flooded leafs
--- FillOutside ---
      820 solid leafs
       92 leafs filled
     1122 inside leafs
--- CullSides ---
      826 hidden faces culled
        0 coincident faces culled
--- ClipSidesIntoTree ---
--- FaceBSP ---
     1792 faces
     1612 leafs
--- MakeTreePortals ---
       15 tiny portals
        0 bad portals
--- FilterStructuralBrushesIntoTree ---
      452 structural brushes
     1144 cluster references
--- NumberClusters ---
      984 visclusters
     3645 visportals
     3101 solidfaces
--- WritePortalFile ---
writing /home/akion/Cuccok/Nexuiz_edit/data/maps/killall_organic.prt
--- FloodAreas ---
        1 areas
--- AddTriangleModels ---
ERROR: PicoLoadModel: Failed loading model models/mapobjects/cb_torch/cb_torch.ase
ERROR: PicoLoadModel: Failed loading model models/mapobjects/cb_ctf5flags/cb_ctf5flag_blue.ase
--- AddEntitySurfaceModels ---
--- FilterDetailBrushesIntoTree ---
        0 detail brushes
        0 cluster references
----- FogDrawSurfs -----
        0 fog polygon fragments
        0 fog patch fragments
        0 fogged drawsurfs
--- SubdivideFaceSurfaces ---
--- FixTJunctions ---
     2094 axial edge lines
      639 non-axial edge lines
        0 degenerate edges
      925 verts added for T-junctions
     8228 total verts
     1495 naturally ordered
      266 rotated orders
       22 can't order
        0 broken (degenerate) surfaces removed
--- ClassifyEntitySurfaces ---
--- TidyEntitySurfaces ---
        0 empty or malformed surfaces deleted
--- MakeEntityDecals ---
(0)
        0 decal surfaces
--- MakeEntityMetaTriangles ---
0...1...2...3...4...5...6...7...8...9... (0)
     1783 total meta surfaces
     1758 stripped surfaces
       25 fanned surfaces
        0 patch meta surfaces
     8253 meta verts
     4712 meta triangles
--- TidyEntitySurfaces ---
     1783 empty or malformed surfaces deleted
--- SmoothMetaTriangles ---
No smoothing angles specified, aborting
--- MergeMetaTriangles ---
0...1...2...3...4...5...6...7...8...9...10... (0)
     1210 surfaces merged
    17687 vertexes merged
--- FilterDrawsurfsIntoTree ---
     8381 references
     1311 (1311) emitted drawsurfs
     1758 stripped face surfaces
       25 fanned face surfaces
        0 surface models generated
        0 skybox surfaces generated
        0 SURFACE_BAD surfaces
        0 SURFACE_FACE surfaces
      101 SURFACE_PATCH surfaces
        0 SURFACE_TRIANGLES surfaces
        0 SURFACE_FLARE surfaces
        0 SURFACE_FOLIAGE surfaces
        0 SURFACE_FORCED_META surfaces
     1210 SURFACE_META surfaces
        0 SURFACE_FOGHULL surfaces
        0 SURFACE_DECAL surfaces
        0 SURFACE_SHADER surfaces
     9456 redundant indexes supressed, saving 36 Kbytes
--- FixBrushSides ---
--- EndModel ---
        0 light entities stripped
     1550 BSP planes
--- WriteSurfaceExtraFile ---
Writing /home/akion/Cuccok/Nexuiz_edit/data/maps/killall_organic.srf
Writing /home/akion/Cuccok/Nexuiz_edit/data/maps/killall_organic.bsp
Wrote 0.7 MB (783972 bytes)
        7 seconds elapsed
Disconnecting
Connection closed.


The probles is surely here:

--- InitPaths ---
VFS Init: /home/akion/.q3a/baseq3/
VFS Init: /home/akion/Cuccok/Nexuiz_edit//baseq3/

But I dunno how to change that.
And now I have to rush for the train.
"One should strive to achieve; not sit in bitter regret."
WE ARE NEXUIZ.
Image
Image
C.Brutail
Laidback mapper
 
Posts: 2357
Joined: Tue Feb 28, 2006 7:26 pm
Location: Ironforge

Postby C.Brutail » Wed Sep 05, 2007 8:19 am

In case anybody missed, a workaround for the quake3 problem is found :)
For furter details, see update in first post.
"One should strive to achieve; not sit in bitter regret."
WE ARE NEXUIZ.
Image
Image
C.Brutail
Laidback mapper
 
Posts: 2357
Joined: Tue Feb 28, 2006 7:26 pm
Location: Ironforge

???

Postby Idanwin » Fri Aug 22, 2008 10:25 pm

and edit the line:
<epair name="LastProject">/to/your/nexuiz/install/data/default_project.proj</epair>

to the obvious value.


I didn't find any .proj file...
Idanwin
Newbie
 
Posts: 3
Joined: Fri Aug 22, 2008 7:58 pm


Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron