Configuring GtkRadiant

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

Tue Feb 28, 2006 9:47 pm

  • So here is how to configure GtkRadiant:

    download GtkRadiant 1.4 from http://www.qeradiant.com/ and install it where you like to have Radiant installed. 4 folders have been created:

    3 for different games and gtkradiant's one e.g.
    C:\Program Files\GtkRadiant-1.4
    C:\Program Files\Quake III Arena
    ...

    We will have to modify the Quake III Arena configuration to use it for Nexuiz mapping instead:

    Download the attached file ( I got it from http://trthome.dyndns.org:8000/Reaper/Nexuiz_ents.def ) and place it in
    ...\Quake III Arena\baseq3\scripts\

    This way Nexuiz entities will be loaded in GtkRadiant.

    One single step left:

    unpack all the contents of ...\data\data20050531.pk3 in your game installation into ...\Quake III Arena\baseq3\
    the pk3 file is as in all q3-based games a zip file.

    Now you should be ready to roll.


    Stolen From Nexuiz forums, thanks to no_dammagE
    User avatar
    Vermeulen
    Site Admin
     
    Posts: 138
    Joined: Tue Feb 28, 2006 4:43 pm
    Location: Canada

Tue Feb 28, 2006 9:53 pm

  • THIS IS OUTDATED. DONT USE IT UNLESS YOU HAVE A GOOD REASON TO

    Instead use the one here:
    http://www.forums.alientrap.local/viewtopi ... =5745#5745



    If you dont have quake 3 or dont wish to extract the nexuiz data to q3 or whatever you can use this tool:

    http://www.games43.se/nexuiz/tools/nexuiz-radiant.zip

    install radiant 1.4 first then unzip and run the .exe inside.
    point it to the locations of nexuiz and radiant and it will do the rest.

    Oh and this is for windows only. sry.
    Last edited by tZork on Tue Jun 20, 2006 3:02 am, edited 1 time in total.
    HOF:
    <Diablo> the nex is a "game modification"
    <Diablo> quake1 never had a weapon like that.
    <Vordreller> there was no need for anything over 4GB untill Vista came along
    <Samua>]Idea: Fix it? :D
    <Samua>Lies, that only applies to other people.
    User avatar
    tZork
    tZite Admin
     
    Posts: 1337
    Joined: Tue Feb 28, 2006 6:16 pm
    Location: Halfway to somwhere else

Thu Mar 02, 2006 1:26 pm

  • I can't install the fix on my study-computer, it does not have some dependencies. Gego posted some fix for this too in the old forum, can somebody give me a link for that?
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge

Thu Mar 02, 2006 7:29 pm

  • most likely comdl control missing. ill make a pack with that. or manybe a new exe that dont need it.
    HOF:
    <Diablo> the nex is a "game modification"
    <Diablo> quake1 never had a weapon like that.
    <Vordreller> there was no need for anything over 4GB untill Vista came along
    <Samua>]Idea: Fix it? :D
    <Samua>Lies, that only applies to other people.
    User avatar
    tZork
    tZite Admin
     
    Posts: 1337
    Joined: Tue Feb 28, 2006 6:16 pm
    Location: Halfway to somwhere else

Thu Mar 02, 2006 8:18 pm

  • tZork wrote:If you dont have quake 3 or dont wish to extract the nexuiz data to q3 or whatever you can use this tool:

    http://www.games43.se/nexuiz/tools/nexuiz-radiant.zip

    install radiant 1.4 first then unzip and run the .exe inside.
    point it to the locations of nexuiz and radiant and it will do the rest.

    Oh and this is for windows only. sry.


    For the Linux and Mac users - could anyone please describe what to change in GtkRadiant to make it work with Nexuiz?

    What I did and what almost worked:
    • create a symlink baseq3 -> data in the Nexuiz directory
    • create a symlink ~/.quake3/baseq3 -> ~/.nexuiz/data
    • enter the Nexuiz directory as "Quake 3 Arena"

    Then I could open some maps and edit them, but there were still some brushes that got the "no shader" texture (especially invisible ones between "rooms" on nexdm01) - I don't know if these should look like that.

    Is anything else needed to make GtkRadiant work with Nexuiz?

    However, GtkRadiant always crashes on my computer inside the Radeon driver on startup without a useful backtrace in gdb. For testing, I used it with Mesa software rendering. Was quite slow, but worked.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Thu Mar 02, 2006 9:57 pm

  • Just built GtkRadiant on Fedora/x86_64 and I attached an image of how it looks.

    Image

    Any idea how to fix the still not found brushes?

    BTW, to get it to compile, I needed http://mensa.ath.cx/~polzer/temp/gtkradiant-fc4-x86_64.patch. These patches prevent linking statically against libc++ (since statically linking is practically impossible on Fedora and Redhat because of -fPIC vs. non--fPIC differences and because of missing .a libraries in the -devel packages) and work around some bugs in FC4's gcc that caused an internal compiler error.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Wed Mar 08, 2006 8:37 pm

  • Thanks to tZork's help, 1.5 seems to work now.

    See http://mensa.ath.cx/~polzer/temp/radian ... er.tar.bz2

    The installer script requires that you have compiled 1.5 from the sources.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sat Mar 18, 2006 6:52 pm

  • HOWTO: Get the nexuiz pack to work with rpm versions of GtkRadiant 1.5.0

    First of all get the tar.bz from the last post, then extract the nexpack tar from inside it.
    take the 2 directories inside the NexPack/tools (nexuiz.game and games) to your radiant dir (opt/gtkradiant by default) than copy the move the NexPack/data to your Nexuiz dir.

    Tried it with 03-02-2006 build only problem is that some of the q3 ents that nexuiz uses aren't in the menu but if you know there classname you can use them.
    User avatar
    |S3GA|
    Newbie
     
    Posts: 7
    Joined: Mon Mar 13, 2006 12:05 am
    Location: Nova Scotia, Canada

Sun May 07, 2006 4:37 pm

  • So will we see Nexuiz officially supported by GTK-Radiant in the next release?
    Mohij
    Member
     
    Posts: 11
    Joined: Mon Apr 24, 2006 7:45 pm

Mon May 08, 2006 9:00 am

Tue Jun 20, 2006 2:56 am

  • I have updated my nexuiz-radiant package to address a bug that broke compile support with the stock bsp menu that ships with gtkradiant 1.4 i took this opertunity to clean out some pointless crap too.

    If you have the "old" package installed:
    Goto you radiant dir, find a dir named "q3map2" and just delete it. IF you have "mapmedia.pk3" in x:\pathto\nexuiz\data\ delete that too. (its useless for nexuiz mapping, and creates a pile of unwanted folders in you textures menu) Now install the new package as described below.

    NOTE
    This pack overwrites shaderlist.txt and common.shade, so if you have thise customized this is the time to back them up.


    What do i need?
    GTKRadiant 1.4 for Windows
    Nexuiz 2.0
    (and a 32 bit Windows)
    The zip file at the bottom of this post

    Howto install:
    First of all, if you havent allredy, install GTKRadiant and Nexuiz. Download zip from below link, unzip, run "NexGtkR14Setup.exe". Point it to the location of gtkradiant 1.4 and nexuiz 2.0 (use the browse buttons). press install. Hopefully all will go smooth and you will get a message telling you it did. Now launch gtkradiant and select Nexuiz in the game list and start mapping =)

    Download is here:
    http://zdev.dvrdns.org/nexuiz/nexuiz-radiant.zip
    Last edited by tZork on Thu May 10, 2007 10:57 pm, edited 1 time in total.
    HOF:
    <Diablo> the nex is a "game modification"
    <Diablo> quake1 never had a weapon like that.
    <Vordreller> there was no need for anything over 4GB untill Vista came along
    <Samua>]Idea: Fix it? :D
    <Samua>Lies, that only applies to other people.
    User avatar
    tZork
    tZite Admin
     
    Posts: 1337
    Joined: Tue Feb 28, 2006 6:16 pm
    Location: Halfway to somwhere else

Wed Jul 12, 2006 10:29 am

  • First I have to say, that i'm a newbie at GTKRadiant and that i'm a german. Sorry for my strange language. ;)

    I downloaded GTKRadiant 1.5 and Nexius. Then i saw this post and downloaded the Zip by tZork. I know it is for GTKRadiant 1.4, but here is my newbie-solution to work with 1.5.


    I don't know if it is usefull, .. test it out

    Run the program of tZork and try to install it. ;) But the .exe is named GtkRadiant.exe and not GtkRadiant-1.4.0.exe, so renamed it to GtkRadiant-1.4.0.exe and the installer of tZork works. (Rename the exe back to GtkRadiant.exe after it)

    When you now start GtkRadiant.exe, there will be many errors... well I waited for them...

    open the nexuiz.game in the games folder of GtkRadiant and edit it like that:

    <?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
    <!-- generated by Radiant setup, modify at your own risks -->
    <game
    name="Nexuiz"
    enginepath ="C:\Spiele\Nexuiz\"
    enginepath_win32="C:\Spiele\Nexuiz\"
    engine_win32="nexuiz.exe"
    gametools="C:\Spiele\nexuiz\Radiant-1.4/"
    basegame="data"
    engine="nexuiz.exe"
    gamename="nex"
    basegamename="Quake III Arena"
    knowngame="missionpack"
    shaderpath="scripts"
    archivetypes="pk3"
    texturetypes="tga jpg"
    modeltypes="md3 ase lwo obj 3ds picoterrain"
    maptypes="mapq3"
    shaders="quake3"
    entityclass="quake3"
    entityclasstype="def"
    entities="quake3"
    brushtypes="quake3"
    patchtypes="quake3"
    />



    open the local.pref file in your Nexuiz\Radiant-1.4 and the same file in GtkRadiant 1.5.0\nexuiz.game. Edit the following entries.

    <epair name="LastProject">

    Copy the default_build_menu.xml files form the q3t.game folder to the nexius.game folder and edit

    [RadiantPath]: path to Radiant ..
    [EnginePath]: path to the engine ..

    So that was ist. After the modifcation of the stuff above GtkRadiant started on my computer without errors


    P.S.: perhaps you can edit the local.pref files and the nexuiz.game before you install tZorks program, you only have to edit them in the unzipped folder.
    If there something wrong please tell me.
    obi-wahn
    Newbie
     
    Posts: 1
    Joined: Wed Jul 12, 2006 9:44 am

Sat Jul 15, 2006 8:21 pm

  • Hello all

    I try to install GTKRadiant 1.5.0. But this process don't work.
    Perhaps i have not understand that.

    Can you explain again, with more details :
    ex:
    [RadiantPath]: path to Radiant ..
    [EnginePath]: path to the engine ..

    But what is path to Radiant and path to Engine ?
    Forge
    Newbie
     
    Posts: 1
    Joined: Sat Jul 15, 2006 8:09 pm
    Location: Lille, France

Sat Jul 15, 2006 10:05 pm

  • obi-wahn wrote:First I have to say, that i'm a newbie at GTKRadiant and that i'm a german. Sorry for my strange language. ;)

    I downloaded GTKRadiant 1.5 and Nexius. Then i saw this post and downloaded the Zip by tZork. I know it is for GTKRadiant 1.4, but here is my newbie-solution to work with 1.5.


    I don't know if it is usefull, .. test it out

    Run the program of tZork and try to install it. ;) But the .exe is named GtkRadiant.exe and not GtkRadiant-1.4.0.exe, so renamed it to GtkRadiant-1.4.0.exe and the installer of tZork works. (Rename the exe back to GtkRadiant.exe after it)

    When you now start GtkRadiant.exe, there will be many errors... well I waited for them...

    open the nexuiz.game in the games folder of GtkRadiant and edit it like that:

    <?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
    <!-- generated by Radiant setup, modify at your own risks -->
    <game
    name="Nexuiz"
    enginepath ="C:\Spiele\Nexuiz"
    enginepath_win32="C:\Spiele\Nexuiz"
    engine_win32="nexuiz.exe"
    gametools="C:\Spiele\nexuiz\Radiant-1.4/"
    basegame="data"
    engine="nexuiz.exe"
    gamename="nex"
    basegamename="Quake III Arena"
    knowngame="missionpack"
    shaderpath="scripts"
    archivetypes="pk3"
    texturetypes="tga jpg"
    modeltypes="md3 ase lwo obj 3ds picoterrain"
    maptypes="mapq3"
    shaders="quake3"
    entityclass="quake3"
    entityclasstype="def"
    entities="quake3"
    brushtypes="quake3"
    patchtypes="quake3"
    />



    open the local.pref file in your Nexuiz\Radiant-1.4 and the same file in GtkRadiant 1.5.0\nexuiz.game. Edit the following entries.

    <epair name="LastProject">

    Copy the default_build_menu.xml files form the q3t.game folder to the nexius.game folder and edit

    [RadiantPath]: path to Radiant ..
    [EnginePath]: path to the engine ..

    So that was ist. After the modifcation of the stuff above GtkRadiant started on my computer without errors


    P.S.: perhaps you can edit the local.pref files and the nexuiz.game before you install tZorks program, you only have to edit them in the unzipped folder.
    If there something wrong please tell me.


    Interesting. With this info i should be able to make a radiant 1.5 "patch" too. i will try to do so when i get home. Since you did all grunt work of findning out want needs to be changed to make it work for 1.5 it will proly be ez to apply thise changes to my installer.
    HOF:
    <Diablo> the nex is a "game modification"
    <Diablo> quake1 never had a weapon like that.
    <Vordreller> there was no need for anything over 4GB untill Vista came along
    <Samua>]Idea: Fix it? :D
    <Samua>Lies, that only applies to other people.
    User avatar
    tZork
    tZite Admin
     
    Posts: 1337
    Joined: Tue Feb 28, 2006 6:16 pm
    Location: Halfway to somwhere else

Sat Jul 15, 2006 11:05 pm

  • tZork wrote:Interesting. With this info i should be able to make a radiant 1.5 "patch" too. i will try to do so when i get home. Since you did all grunt work of findning out want needs to be changed to make it work for 1.5 it will proly be ez to apply thise changes to my installer.


    No, please not, it would be an unnecessary effort. Nexuiz support is already included in 1.5, as Nexuiz.game: https://zerowing.idsoftware.com/svn/radiant.gamepacks/NexuizPack/trunk/

    All you have to do is follow the instructions of the included documentation to install it:

    To get a copy of the source using the commandline Subversion client:
    Change the current directory to the desired location for the source.
    svn checkout https://zerowing.idsoftware.com/svn/rad ... ant/trunk/ ./GtkRadiant
    svn checkout https://zerowing.idsoftware.com/svn/rad ... ack/trunk/ ./GtkRadiant/games/Q3Pack


    and then also do the obvious:

    svn checkout https://zerowing.idsoftware.com/svn/rad ... ack/trunk/ ./GtkRadiant/games/NexuizPack
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sat Jul 15, 2006 11:55 pm

  • Forge wrote:[RadiantPath]: path to Radiant ..
    [EnginePath]: path to the engine ..
    But what is path to Radiant and path to Engine ?

    Path to radiant is were you have Radiant installed.. On windows it might be something like C:\Program Files\Radiant 1.5\
    The engine Path is the path to nexuiz.exe, guess something like C:\Program files\Nexuiz\
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Mon Aug 28, 2006 12:21 pm

  • If someone is using gtkradiant 1.5.0* successfully, please post the SVN release version. I tried the editor SVN releases 95 and 100 (recent), but none of them seems to be usable -- the q3map2 process' memory usage grows until it explodes when I place a _skybox entitiy with light into my world.

    Ok, finally, it seems to work. Some problems I have encountered with svn release 100:

    1.) Use the debug build. Don't fiddle around with optimization parameters. It broke my compilation result. I even do not allow the Gentoo Linux installer to strip the resulting binaries.

    2.) You need to be careful where to put the shaderlist.txt file. Use strace to check radiant's tries to access it: "strace radiant 2>&1 | grep shaderlist". The nasty thing about it is that radiant seems to abort its search for the shaderlist file if it does not find it in [enginepath]/data/scripts/shaderlist.txt. It does not even look in the corrsponding user area under ~/.nexuiz if the shaderlist wasn't found in the first place.

    3.) install.py seems to be messed up quite a bit. It only installs the binaries properly, a lot of additional files like docs must be installed separately. All of that is contained in my latest ebuild file at https://stier.dynu.com/~myportage/dev-games/gtkradiant/.
    Cinquero
    Advanced member
     
    Posts: 91
    Joined: Wed Jul 19, 2006 11:13 pm

Wed Sep 13, 2006 9:45 pm

  • i'm missing a copyright and license statement in https://zerowing.idsoftware.com/svn/rad ... exuizPack/

    the debian games team has prepared a gtkradiant package and we'd like it very much to offer users a gtkradiant-nexuiz package. though, without a copyright holder and - hopefully - a free license (gpl preferred) we cannot package the nexuiz gamepack. users from the #qeradiant channel adviced me, the authors of the NexPack file might hide in the alientrap team - please show up, authors ;)

    [b]EDIT: problem's solved![/b]
    Fuddl
    Member
     
    Posts: 36
    Joined: Sat May 06, 2006 8:59 pm
    Location: Germany, Mfr

Thu Sep 14, 2006 9:36 am

Fri Dec 29, 2006 11:36 am

Fri Dec 29, 2006 12:47 pm

  • Svn is a system, that developers use to constantly contribute to a project, with rollbacking ability (that means if somebody breaks something with a commit, they can move back to a previous version, to be able to fix).

    You need an svn client, like Tortoise SVN to be able to download the content (this tool is for Windows, for linux, you'll need another client).[/url]
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge

Tue Jan 02, 2007 12:45 pm

  • thanks! :D
    P4R4.be
    Newbie
     
    Posts: 2
    Joined: Fri Dec 29, 2006 11:28 am

Wed Feb 28, 2007 12:03 am

  • I haven't had much luck in getting Radiant to work on Ubuntu 6.10. 1.5 installs, but the interface is weird (for example, in the preview window, I can't use the direction keys to fly around; I'm stuck stationary). 1.4 doesn't seem to want to run at all. I can't really find any tutorials around to get 1.4 to work, they all say to use 1.5, but I know that's not as Nex-friendly. Any suggestions?
    Shoe
    Keyboard killer
     
    Posts: 517
    Joined: Wed Mar 08, 2006 2:18 am

Wed Feb 28, 2007 12:15 am

Wed Feb 28, 2007 12:33 am

  • Maybe saying that it's not Nex friendly is based on a claim from a long time ago. Regardless, being unable to move freely in the preview window is a pretty big problem still. Any ideas on what the problem might be?
    Shoe
    Keyboard killer
     
    Posts: 517
    Joined: Wed Mar 08, 2006 2:18 am

Wed Feb 28, 2007 12:47 am

Wed Feb 28, 2007 1:00 am

  • Oh 1.5 is nex friendly, its just the small matter of it sucking worse then a industrial vacum on steroids ;P Well the latest svn version was better then the last 1.5 i tried (a year ago or so). still the ui is preddy messed up, and its so different in many things one has to wonder why the hell they dident make it sensible instead of making a new different-from-the-old-but-still-equally-strange(tm) interface.

    I havent had any luck getting radiant 1.4 to run on ubu 6.10 either. It installs fine and executes etc, but some of the install process must be br0ked since a shellscript, "radiant, of unknown function (that would be used to launch radiant) just contain this phunkhey info :
    #!/bin/sh
    echo If you read this then there was a bug during setup. Report the bug and try running radiant.x86 directly from it's installation directory.
    HOF:
    <Diablo> the nex is a "game modification"
    <Diablo> quake1 never had a weapon like that.
    <Vordreller> there was no need for anything over 4GB untill Vista came along
    <Samua>]Idea: Fix it? :D
    <Samua>Lies, that only applies to other people.
    User avatar
    tZork
    tZite Admin
     
    Posts: 1337
    Joined: Tue Feb 28, 2006 6:16 pm
    Location: Halfway to somwhere else

Wed Feb 28, 2007 1:03 am

  • I feel so dumb now x.x Apparently I just needed to turn num lock off. Must be a linux-specific thing, I never had that problem in Windows. Oh well, it works. Thanks.

    edit: The problem I run into with 1.4 is that it thinks that the editor binary is outdated for some reason and it won't start. The error message links to a FAQ thread on the radiant site that just returns some code that I'm assuming is an error in their FAQ system.
    Shoe
    Keyboard killer
     
    Posts: 517
    Joined: Wed Mar 08, 2006 2:18 am

Wed Feb 28, 2007 3:15 am

  • Shoe wrote:I feel so dumb now x.x Apparently I just needed to turn num lock off. Must be a linux-specific thing, I never had that problem in Windows. Oh well, it works. Thanks.


    oh man, who called it? :lol:

    anyway, yeah I think that has to do with Xserver. Not quite sure why it does that either, but I noticed that one day...
    User avatar
    Psychcf
    Forum addon
     
    Posts: 1554
    Joined: Sun Dec 03, 2006 11:38 pm
    Location: NY, USA

Sat Apr 07, 2007 9:17 am

  • Hey, any ideas how to get GTKRadiant to run (natively) under Ubuntu Feisty Fawn 64-bit edition? I tried the .rpm, but as usually it throws a lot of error messages about dependencies that I actually already have installed. I also tried converting it into .deb but no success there either.
    Thanks.
    User avatar
    FruitieX
    Keyboard killer
     
    Posts: 588
    Joined: Mon Nov 13, 2006 4:47 pm
    Location: Finland

Next


Return to Nexuiz - Editing




Information
  • Who is online
  • Users browsing this forum: No registered users and 0 guests