NetRadiant = Radiant 1.5 with useful q3map2 patches...

For now: Everything about NetRadiant

Moderator: Moderators

Postby Alien » Tue Feb 10, 2009 4:54 pm

So could you make a package for other Mac users like clueless newbie?
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby MirceaKitsune » Tue Feb 10, 2009 4:56 pm

Hello. I have been using netRadiant for a while now and love it, but today I ran into a problem which I think should have a walkaround or fix done for it.

A map I was building on suddenly started failing at one point during the BSP building. I found out that was because of a hard coded limit in q3map2 which limits the maximum number of brushes to 32768 (MAX_MAP_BRUSHES). I asked why it couldn't be bigger and was told it could crash or block the compiler on computers with lower resources if increased too much. I currently need to use a hacked q3map2 to keep building my map otherwise it won't work.

So my question is, could the limit for MAX_MAP_BRUSHES in the compiler be made a preference in the Preferences menu from netRadiant (if there is a way to get netRadiant to "talk" to q3map2.exe about such things). Or if not some q3map2.ini file for such settings or any other way just not a hard-coded number. That would be very useful for larger maps with many brushes or brush-based terrain so they can be built without a hacked compiler. Hope something can be done to fix this.
MirceaKitsune
Keyboard killer
 
Posts: 593
Joined: Thu Aug 14, 2008 6:48 am
Location: Romania - Bucharest

Postby divVerent » Tue Feb 10, 2009 7:27 pm

I looked at the code, and could make this specific limit dynamic (so it automatically expands while q3map2 runs).

q3map2 in NetRadiant now is able to compile RedStarRepublic.
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 seeeker » Sun Feb 22, 2009 6:21 am

Image
I didnt really like the splash image so i did that in a couple of minutes =P
You are free to use this in any way you want =)
actual file is a .bmp, you can get it here:
http://kimi.kieru.net/433029
seeeker
Newbie
 
Posts: 2
Joined: Sun Feb 22, 2009 6:14 am

Postby divVerent » Sun Feb 22, 2009 10:31 am

Great, can I have an editable source of this (xcf, psd, for example)?
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 seeeker » Sun Feb 22, 2009 6:43 pm

seeeker
Newbie
 
Posts: 2
Joined: Sun Feb 22, 2009 6:14 am

Postby divVerent » Mon Feb 23, 2009 7:26 am

Committed, but not yet tested - thanks :)

hope the window size of the splash image will automatically adjust to the bmp.
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 » Tue Feb 24, 2009 9:06 pm

Suggestion for q3map2: Allow -export to accept an argument, which would be a directory. There is a patch for ioquake3 to load external lightmaps, and it loads from maps/MAPNAME/lightmaps, rather than maps/MAPNAME(to prevent lightstyles from screwing up). Would be cool to have it like this:
Code: Select all
q3map2 -light -export <directory>

Where "directory" is the directory name inside of maps/MAPNAME.
}MG{Odin
Odin
Advanced member
 
Posts: 52
Joined: Wed Mar 01, 2006 5:31 pm

Postby esteel » Tue Feb 24, 2009 9:27 pm

I do not see whats to gain from this.. Nexuiz (at least the development version thats set to be released soon) can also use external lights maps: http://forums.alientrap.local/viewtopic.php?t=3685
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby divVerent » Tue Feb 24, 2009 9:36 pm

Also, q3map2 -export has no gain. It is only there so you can edit the lightmaps, and import them later.

Real external lightmaps work completely differently (and also use different file names), and offer the advantage of having a different allowed size (while -export only exports internal lightmaps).
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

PreviousNext

Return to NetRadiant - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron