NetRadiant = Radiant 1.5 with useful q3map2 patches...

For now: Everything about NetRadiant

Moderator: Moderators

NetRadiant = Radiant 1.5 with useful q3map2 patches...

Postby divVerent » Sat Sep 13, 2008 7:07 pm

I set up a svn repository with the fully patched GtkRadiant 1.5 here, as it became unmaintained by the original authors:

svn://svn.icculus.org/netradiant/trunk


For releases and further information visit:

http://www.icculus.org/netradiant/


Changes to the stock Radiant 1.5 include:
  • radiant: add a "Strafe Mode" option (to allow ctrl-shift-selecting faces in the 3D view without strafing like in 1.4)
  • radiant: ctrl-tab now focuses all XYZ views in the three-part view (as that is what the user is likely to want there)
  • radiant: make rotate/scale dialogs non-modal
  • radiant: handle missing anisotropy extension; fixes display bug on Windows XP software renderer
  • all: added a Makefile to build GtkRadiant; this replaces scons and python install.py
  • all: got rid of libmhash dependency, using mdfour.c from DarkPlaces instead
  • all: support cross compiling using mingw32
  • q3map2: added lightmap exposure feature: -exposure 4.2 (Urban Terror)
  • q3map2: floodlight: usage is "_floodlight" "red green blue distance intensity", default "240 240 255 1024 128"; works somewhat similar to dirtmapping (Urban Terror); uses a switch -lowquality
  • q3map2: fix -convert -format map decompiling (note: outputs map in "Alternate Texture Projection" format); no longer messes up texcoords
  • q3map2: added -game nexuiz to use good default paths for Nexuiz
  • q3map2: fix incorrect plane snapping often causing holes in terrain
  • q3map2: when importing models, allow "surfaceparms structural". This also turns off any plane snapping, as it is intended for caulk brushes inside a model
  • radiant: also support "killtarget" as target key for drawing the targeting lines
  • radiant: "expand selection to whole entities" now also selects the entity ITSELF; result: Ctrl-Alt-E Space makes a NEW entity now, instead of just duplicating the brush (old behaviour caused bugs in maps with copied func_ladders)
  • picomodel: support .obj format as exported by Blender, with a .mtl file defining the shader names for each material; to export using Blender, enable "Materials" and "Material Groups" in the .obj export dialog
  • q3map2: fix some deluxemap bugs (with ambient, for example)


(basically, all that is in nexuiz/misc/gtkradiant/singlepatches/, plus some new ones)
Last edited by divVerent on Mon Oct 20, 2008 5:48 am, edited 9 times in total.
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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Ronan » Sun Sep 14, 2008 12:13 pm

(Updated)
For Debian/Ubuntu/etc.

install the following package :
Code: Select all
apt-get install gcc g++ make subversion libgtk2.0-dev libgtkglext1-dev libxml2-dev zlib1g-dev libpng12-dev libglib2.0-dev


get the source (a fresh Nexuiz gamepack is included in netradiant/games/NexuizPack) :
Code: Select all
svn checkout svn://svn.icculus.org/netradiant/trunk netradiant


compile (take few minutes) :
Code: Select all
cd netradiant/
make


the binaries radiant.x86 and q3map2.x86 are located in netradiant/install/

to compile a new revision :
Code: Select all
cd netradiant/
svn up
make


If you get problems after updating, which should not happen, do:
Code: Select all
cd netradiant/
make clean all


For more information and other platforms :
http://www.icculus.org/netradiant/
Last edited by Ronan on Thu Dec 11, 2008 2:36 pm, edited 6 times in total.
Ronan
Alien trapper
 
Posts: 292
Joined: Tue Mar 20, 2007 10:25 pm
Location: France

Postby SavageX » Sun Sep 14, 2008 12:37 pm

Thanks alot divVerent. This is 100% more cool than the next cool thing produced by any competitor. GTKRadiant 1.5 in fact is currently much more usable than 1.6, so this is greatly appreciated.

Is this SVN repo hosted on a safe permanent host or shall we search for a hoster that (so we assume) would survive nuclear blasts?
SavageX
Site Admin
 
Posts: 442
Joined: Wed Mar 01, 2006 9:34 am

Postby divVerent » Sun Sep 14, 2008 5:04 pm

A hoster would be good, maybe we could put this on icculus... but maybe we should ask some more projects if they are interested in it (e.g. Urban Terror, from whom a lot of the changes came)

ChangeLog is at http://emptyset.endoftheinternet.org/sv ... /ChangeLog contains a full list of changes compared to GtkRadiant 1.5
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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby SavageX » Mon Sep 15, 2008 5:49 am

Okay, I'll organize something. Icculus for sure wouldn't be bad. From what I hear "TwentySeven" was/is UrbanTerror's "q3map2-guy" and I'll continue my efforts to contact him. He apparently wasn't on IRC for the last days (at least not in the official UT channel), but then again I can also try a forum PM.
SavageX
Site Admin
 
Posts: 442
Joined: Wed Mar 01, 2006 9:34 am

Postby divVerent » Mon Sep 15, 2008 8:05 am

Currently in process of doing the next big change: removing the libmhash dependency, and removing scons dependency (who really has these installed anyway?)

The Makefile you see in svn is incomplete, but should already build a somewhat working GtkRadiant (except for its plugins like bobtoolz). the final goal of the Makefile is to faciliate Win32 builds done on Linux machines.

To compile with it, just run "python makeversion.py" then "make".

makeversion.py and install.py will go later too.
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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby divVerent » Mon Sep 15, 2008 10:02 am

COMPLETED.

How to compile now:

svn checkout http://emptyset.endoftheinternet.org/sv ... t15/trunk/ GtkRadiant-1.5-div0
cd GtkRadiant-1.5-div0
make

No more scons needed.
No more python needed.
No more libmhash needed.
Nexuiz gamepack already included.

Next goal is cross compiling to Win32, and removing all the SCons and Visual studio stuff.
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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby sev » Mon Sep 15, 2008 12:21 pm

I have almost no experience in compiling programs on Linux, so of course, when I tried to compile it (the one above this post) I could not get it to work. :roll: I searched the internet for some advice, but had no luck, so maybe someone of you knows. When I use "make" I get the following:

Code: Select all
tools/quake3/common/threads.o: In function `RunThreadsOn':
/home/sev/GtkRadiant-1.5-div0/tools/quake3/common/threads.c:541: undefined reference to `pthread_mutexattr_init'
/home/sev/GtkRadiant-1.5-div0/tools/quake3/common/threads.c:546: undefined reference to `pthread_mutexattr_settype'
/home/sev/GtkRadiant-1.5-div0/tools/quake3/common/threads.c:554: undefined reference to `pthread_create'
/home/sev/GtkRadiant-1.5-div0/tools/quake3/common/threads.c:559: undefined reference to `pthread_join'
/home/sev/GtkRadiant-1.5-div0/tools/quake3/common/threads.c:562: undefined reference to `pthread_mutexattr_destroy'
collect2: ld returned 1 exit status
make: *** [install/q3map2.x86] Fehler 1


openSuse 11.0, all the packages that Ronan mentioned should be installed (apt-get install gcc scons python subversion libgtk2.0-dev libgtkglext1-dev libxml2-dev zlib1g-dev libpng12-dev libmhash-dev)

I'm not asking for a through solution, but you may know in which direction I should search further. Anyway, sorry for bothering you with this.
Last edited by sev on Tue Sep 16, 2008 4:27 pm, edited 2 times in total.
sev
Alien
 
Posts: 248
Joined: Sat Mar 29, 2008 3:03 pm
Location: Switzerland

Postby divVerent » Mon Sep 15, 2008 12:33 pm

svn update, then try again. I added this library dependency.
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.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Ronan » Mon Sep 15, 2008 1:02 pm

sev wrote:
openSuse 11.0, all the packages that Ronan mentioned should be installed (apt-get install gcc scons python subversion libgtk2.0-dev libgtkglext1-dev libxml2-dev zlib1g-dev libpng12-dev libmhash-dev)


Actually it's the dependencies for radiant1.5 vanilla and zeroradiant. With div's cleanup, some aren't needed. I updated my post with the new build process.
Ronan
Alien trapper
 
Posts: 292
Joined: Tue Mar 20, 2007 10:25 pm
Location: France

Next

Return to NetRadiant - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest