NetRadiant = Radiant 1.5 with useful q3map2 patches...

For now: Everything about NetRadiant

Moderator: Moderators

Postby airscout » Wed Mar 04, 2009 10:00 pm

divVerent wrote:
airscout wrote:Successfully tried the binary and did a new compile against the MacPorts tools and libraries, not Fink. The build runs fine, but only if the executable is manually launched from the from the command line– I assume a path to something in the (nonexistent) SW folder is now hard coded? Not a big deal.


Yes. It is in the "install-dylibs.sh" script you'll have to change to use another source folder to get the libraries into the .app. What folder does MacPorts use? I might be able to support both in the same script.


The MacPorts path equivalent of sw/ is opt/local/
Image
airscout
Member
 
Posts: 11
Joined: Thu Jan 15, 2009 3:40 am

Postby divVerent » Wed Mar 04, 2009 10:14 pm

Does it work if you change every occurrence of /sw to /opt/local in install-dylibs.sh, and then run make again?
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 Odin » Thu Mar 05, 2009 7:19 pm

divVerent wrote:So in XreaL, it is always mapname/lightmaps/lm_????.tga, and mapname is empty other than the lightmaps subdirectory?
No, it's mapname/lm_????.hdr(hdr lightmap) + mapname/lm_????.png(deluxemap).
}MG{Odin
Odin
Advanced member
 
Posts: 52
Joined: Wed Mar 01, 2006 5:31 pm

Postby airscout » Fri Mar 06, 2009 5:59 am

divVerent wrote:Does it work if you change every occurrence of /sw to /opt/local in install-dylibs.sh, and then run make again?

Tried the path changes– worked mostly. Led to the discovery that MacPorts doesn't install gdk-pixbuf with gtk2. So, at least for the time being, that one path seems to need to be: /opt/local/lib/gdk-pixbuf/loaders/libpixbufloader-bmp.so

However, I have a query in on a MP mailing list since at one point that wasn't the case and the loaders were in that same location in the path tree as with Fink. Otherwise the executable gets put together and launches properly but something is now out of whack with the application text. The complaint:

Code: Select all
3/5/09 9:53:36 PM [0x0-0x106106].NetRadiant (radiant.ppc:47821): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderATSUI', script='latin'
3/5/09 9:53:36 PM [0x0-0x106106].NetRadiant (radiant.ppc:47821): Pango-WARNING **: failed to find shape engine, expect ugly output. engine-type='PangoRenderATSUI', script='common'


Ugly output indeed :), check it out:

http://img135.imageshack.us/img135/1607/71134227.png
Image
airscout
Member
 
Posts: 11
Joined: Thu Jan 15, 2009 3:40 am

Postby airscout » Sat Mar 07, 2009 5:51 pm

I wrote:Led to the discovery that MacPorts doesn't install gdk-pixbuf with gtk2. So, at least for the time being, that one path seems to need to be: /opt/local/lib/gdk-pixbuf/loaders/libpixbufloader-bmp.so


Hopefully you'll be able to just ignore my erroneous blathering above :shock:. Here's the lowdown regarding gdk-pixbuf loaders and MP from Dave Evans at MacPorts:

"The gdk_pixbuf library is now included as part of gtk2 ... the loaders for the formats I mentioned in the last email are not loadable modules but are built into the gdk_pixbuf library directly. If the app is built against the current gtk2 port, libpixbufloader-bmp.so is unnecessary and will never be called by the program because the built in loader code will be used instead for loading a bmp."


andy
Image
airscout
Member
 
Posts: 11
Joined: Thu Jan 15, 2009 3:40 am

Postby divVerent » Sat Mar 07, 2009 7:02 pm

In that case, you probably should remove the gdk pixbuf configuration file that comes with netradiant.
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

Netradiant?

Postby NightRage » Sun Mar 15, 2009 1:57 am

Is it Windows Vista Ultimate Ready?

I tried several times and still no dice, Under Run "Administrator" Priveledges Also.
Image
NightRage
Member
 
Posts: 47
Joined: Wed May 07, 2008 8:54 pm
Location: Chicago, selling homemade MadDog 20/20

Postby Odin » Fri Mar 20, 2009 2:18 am

Is it any way possible to create a distributed q3map2 for compilation on multiple machines at once? Kind of like how distcc works, it sends each client jobs to do and they send back the compiled results. Exept with q3map2 there's no architecture specific issues or header issues.

Could be done like the thread code, send each thread a raytracing job(for -light) or other such job to complete, except in this case it's send each client machine.
}MG{Odin
Odin
Advanced member
 
Posts: 52
Joined: Wed Mar 01, 2006 5:31 pm

Postby divVerent » Fri Mar 20, 2009 9:00 am

This would require a full rewrite of q3map2. Not even the threading is working right, there are cases where you get little splotches on the maps depending on the number of threads.
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 Odin » Sun Mar 22, 2009 2:36 am

-lightmapdir doesn't seem to work:
Code: Select all
--- StoreSurfaceLightmaps ---
Subsampling...collapsing...sorting...allocating...storing...************ ERROR ************
mkdir mymap/lightmaps: No such file or directory

It's not creating the directory.
}MG{Odin
Odin
Advanced member
 
Posts: 52
Joined: Wed Mar 01, 2006 5:31 pm

PreviousNext

Return to NetRadiant - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron