NetRadiant = Radiant 1.5 with useful q3map2 patches...
Moderator: Moderators
Site admin and keyboard killer
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE
Site admin and keyboard killer
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE
I suppose something like this will do magic for linux aswell
ChangeLog wrote:2009-04-08 Rudolf Polzer divVerent(at)alientrap.org
* radiant: force disable composition on Vista (should fix "white 3D window" issues)
Edit: Uhm, seems like it works now. I don't know whether this is due to r365 or since I fiddeled with the settings, but it works
Site admin and keyboard killer
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE
I'm happily using netradiant to start mapping for Q3A and all is going pretty well except for the "common" textures (caulk, full_clip, ...).
All textures of this section but invisible have "shader image missing"
I triple-check all pathes and paks and all seems ok to me.
Please let me know if someone has a clue about this.
Thanks in advance
ps: i use the Q3A gamepack found at http://ingar.satgnu.net/gtkradiant/file ... e3Pack.zip
edit: add a screenshot
FIXED
In case it could help other, here is what I've done:
- grab the "common_files.zip" archive from http://www.clanopener.com/catalyc/common_files.zip and extracted it in a temporary place
- copy the "common-spog.pk3" archive in the .../quake3/baseq3/ dir

I'm on 10.5.7 intel and I had to make a copy of NetRadiant.app/Contents/MacOS/install/q3map2.ub to NetRadiant.app/Contents/MacOS/install/q3map2.ppc to be able to compile maps. (I have had a couple of crashes from q3map2 but restarting NetRadiant seems to fix it).
I guess nobody is maintaining bspc? I'm probably going to have a bash at getting it to compile but I don't really imagine I'll succeed..
Site admin and keyboard killer
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE
The q3map2 I compile is named .ppc, but actually is Intel only (because radiant expects it like that, don't ask).
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.
Site admin and keyboard killer
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE
Site admin and keyboard killer
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE
http://www.warsow.net/dev/jal/editortextures.pk3
GPL license text is inside the pk3.
Any thoughts?
- Code:
radiant/qgl.cpp: In function ‘void QGL_sharedContextCreated(OpenGLBinding&)’:
radiant/qgl.cpp:1017: error: invalid conversion from ‘void (*)(GLenum, GLint, GLenum, GLsizei, GLint, GLenum, GLenum, const GLvoid*)’ to ‘void (*)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid*)’
radiant/qgl.cpp:1018: error: invalid conversion from ‘void (*)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*)’ to ‘void (*)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*)’
make: *** [radiant/qgl.o] Error 1
The full console output is here.
NetRadiant Executable type path
configurable from Makefile.conf, just add EXE=ext to use a custom extension.
It also fixes the problem with the build menu looking for tools with the wrong extension.
netradiant-389-executabletype.patch
It's a bit confusing to have 64bit binaries with a .x86 extension
or OS X intel/universal binaries with a .ppc extension.
After compiling the latest revision I noticed brush manipulation
(plain scaling and moving brushes) is broken. It's probably GTK related (2.16.5)
but atm I have no idea where to start searching.
Site admin and keyboard killer
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE
NetRadiant
an evil gcc package. I also fixed a warning in the zip library
netradiant-392-pkzip_warning.patch
update:
it seems it was actually gcc 4.4.1 and -O3. It works fine
if I remove -O3 from the CFLAGS. -O2 doesn't work either.
Site admin and keyboard killer
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE
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.
Re: NetRadiant
ingar wrote:it seems it was actually gcc 4.4.1 and -O3. It works fine
if I remove -O3 from the CFLAGS. -O2 doesn't work either.
I found out it is sufficient to add -fno-strict-aliasing to CFLAGS.
NetRadiant is quite sluggish without -O3, especially on larger maps
(+10K brushes).
Update:
Fixed some more warnings:
netradiant-393-qdata_heretic2-warnings.patch
It seems the _patchMeta entity key is not working for func_group entities, but it's reserved only for brushmodel entities. For getting it working I had to use a func_static. It does the job, but it's not as pleasant as func_group because it's one more entity added to the transmission. Would it be possible to get it applied to func_groups?
Thanks in advance.
Site admin and keyboard killer
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE
I just found out that picomodel is enforcing the bitmap name as shader name on ASE model load. This doesn't make much sense to me, because 3dsmax uses absolute file paths for the bitmap names. The code which puts the bitmap as shader name is a hack and easy to locate and remove, but I'm wondering why did ydnar do this originally. Do you know what could be the reason?
And if you see no reason for it, what would be your opinion about removing the hack?
For me the advantage is I can easily provide the code and changes.. and maybe get some feedback how dumb my changes are.. hehe. Which they are probably - yet I can finally start it, open and save maps.
I have first committed revision 402 from NetRadiant, and started to modify on that - so all changes are easily visible.
I hope this ain't a to bad Idea, but I somehow wanted to share my changes.
And last radiant for OSX is at rev. 295.. or something.
Actually I started mapping on Linux, and it was very easy to compile NetRadiant, but under OSX its a pita.
I still have to test stability and all.. but its great to be able to use my favorite editor again..
http://code.google.com/p/osxnetradiant/
I had various problems using the existing versions, either they did not start. Or they did, but then crashed on open/saving. Some fixes I found helped to make it start.. but not more. I suppose I have there some serious error with the libraries.. But I have honestly no experience at all with OSX.
Re: NetRadiant = Radiant 1.5 with useful q3map2 patches...
http://www.icculus.org/netradiant/files/
At first I thought it works perfect.. yet there is still the Problem with Invalid Chars on Save/load files..
If the line which triggers the error msg is commented out, it works fine - I suppose it crashes on some of these invalid chars.
Spliting Patches did often crash or only partially work, I thought first its a library problem.. but yahey I fixed.. and add split only cols or rows in menu.
http://code.google.com/p/osxnetradiant/ ... etail?r=52
(There is also a change for Macports, and filechooser .. please ignore, but the changes to BobToolz is really usefull I believe.)
Return to NetRadiant - General Discussion
Who is online
Users browsing this forum: No registered users and 1 guest

