Someone here is a genius but I forget who...
- GONNAFISTYA
- Posts: 13369
- Joined: Sun Jan 23, 2005 8:20 pm
Someone here is a genius but I forget who...
...said he programmed a little app that could convert a .bsp to a .map file and keep the textures intact.
Anyone know where I can download this little gem and if so, how many babies must I eat?
Anyone know where I can download this little gem and if so, how many babies must I eat?
Re: Someone here is a genius but I forget who...
I think it's ^misantropia^ who made a bsp2map app which kept texture alignment as it was.
I happend to read a topic at cpma forum, in which he posted his app, a while back.
But the link to that app was dead.
I happend to read a topic at cpma forum, in which he posted his app, a while back.
But the link to that app was dead.
[color=#FF00BF]I pwn police! - Biff[/color]
[color=#666666]When I went to a zoo, I found myself in another zoo, too. - a13n[/color]
[color=#999999]Homeless is a living proof that[/color] [color=#FF00BF]Benjamin Franklin's quote "There're two things certain, tax and death" is wrong[/color] [color=#999999]and GOD had wanted[/color] [color=#FF00BF]him to be an evil liar, that is, SATAN[/color][color=#999999]. - a13n[/color]
[color=#666666]There are too many GODs in this werld for [/color][color=#FF00BF]the ONE&ONLY[/color][color=#666666] to be valid. - a13n[/color]
[color=#666666]Nothing ventured, the rest of everything just given. - a13n[/color]
[color=#FF00BF]I need a soldier! - Sarge[/color]
[color=#666666]When I went to a zoo, I found myself in another zoo, too. - a13n[/color]
[color=#999999]Homeless is a living proof that[/color] [color=#FF00BF]Benjamin Franklin's quote "There're two things certain, tax and death" is wrong[/color] [color=#999999]and GOD had wanted[/color] [color=#FF00BF]him to be an evil liar, that is, SATAN[/color][color=#999999]. - a13n[/color]
[color=#666666]There are too many GODs in this werld for [/color][color=#FF00BF]the ONE&ONLY[/color][color=#666666] to be valid. - a13n[/color]
[color=#666666]Nothing ventured, the rest of everything just given. - a13n[/color]
[color=#FF00BF]I need a soldier! - Sarge[/color]
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Someone here is a genius but I forget who...
I'll see if I can dig it up.
- GONNAFISTYA
- Posts: 13369
- Joined: Sun Jan 23, 2005 8:20 pm
Re: Someone here is a genius but I forget who...
Cool. 
I'm curious: In the past I've converted a .bsp to a .map and - while everything was present and accounted for - it also converted things like spawns, lights and other entities into boxes that basically had to be deleted and redone. Does your converter also maintain entity relationships or should I hunt down the loose bits and delete them before rebuilding them?
It's no big deal if I have to redo entities and lights...but any info would help.

I'm curious: In the past I've converted a .bsp to a .map and - while everything was present and accounted for - it also converted things like spawns, lights and other entities into boxes that basically had to be deleted and redone. Does your converter also maintain entity relationships or should I hunt down the loose bits and delete them before rebuilding them?
It's no big deal if I have to redo entities and lights...but any info would help.

-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Someone here is a genius but I forget who...
It depends on whether you compiled the map with q3map or q3map2 because the latter strips lots of entities (e.g. light entities) from the final map.
The original decompiler was a one-off Perl script I wrote for a few Defrag maps I lost the source of. That must've been in 2003 or 2004 and I don't think I have that script anymore (can't find it, anyway).
I quite recently posted a patch to the gtkradiant-developers mailing list that significantly improved q3map2's built-in decompiler, but I don't think it made it into the trunk (or even got much acknowledgment). Such is life in the OSS world. :/
The original decompiler was a one-off Perl script I wrote for a few Defrag maps I lost the source of. That must've been in 2003 or 2004 and I don't think I have that script anymore (can't find it, anyway).
I quite recently posted a patch to the gtkradiant-developers mailing list that significantly improved q3map2's built-in decompiler, but I don't think it made it into the trunk (or even got much acknowledgment). Such is life in the OSS world. :/
Re: Someone here is a genius but I forget who...
Try contacting TTimo or anyone else on the IRC channel, they may be more willing to add your changes if you talk to them directly. They are understaffed and may be busy due to ZeroRadiant, so it may not be added right away.
irc.telefragged.com/#qeradiant
Maybe also try contacting ydnar (who popped in here the other day for a couple of posts) though he's doing other stuff right now, he should be able to at least forward your stuff to the right people.
irc.telefragged.com/#qeradiant
Maybe also try contacting ydnar (who popped in here the other day for a couple of posts) though he's doing other stuff right now, he should be able to at least forward your stuff to the right people.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Someone here is a genius but I forget who...
I just might do that. Thanks for the tip, obsidian.
-
- Posts: 35
- Joined: Fri Jan 13, 2006 6:45 pm
Re: Someone here is a genius but I forget who...
divVerent from the Nexuiz dev-team made a patch for q3map2 that will do that.
you can get the patched q3map2 here: http://emptyset.endoftheinternet.org/~r ... 080108.zip
or use NetRadiant which comes with the newest q3map2:
http://alientrap.org/forum/viewtopic.php?t=3687
Now convert your bsp to map like you used to. If GTKRadiant cannot open the .map file you need to check "Preferences"
"Brush"
"Use alternative texture-projection"
hf
you can get the patched q3map2 here: http://emptyset.endoftheinternet.org/~r ... 080108.zip
or use NetRadiant which comes with the newest q3map2:
http://alientrap.org/forum/viewtopic.php?t=3687
I used it and it worked fine for meq3map2: fix -convert -format map decompiling (note: outputs map in "Alternate Texture Projection" format); no longer messes up texcoords

Now convert your bsp to map like you used to. If GTKRadiant cannot open the .map file you need to check "Preferences"


hf
Re: Someone here is a genius but I forget who...
Good, that works reasonably well although still seems to get some textures wrong. Why the use of alternative texture-projection?
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Someone here is a genius but I forget who...
Another observation about the OSS world: a fairly large and annoying bug goes unfixed for years, then two completely unrelated people have a stab at it at nearly the same time.
Pretty weird.
Pretty weird.
Re: Someone here is a genius but I forget who...
Another murphy's law? 

Re: Someone here is a genius but I forget who...
I think you failed to understand the principle of Murphy's Law.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Re: Someone here is a genius but I forget who...
Does not work, due to different brush definitions.
13:10: parse error at 'brushDef': expected '#quake3-primitive'
brush 0: parse error
entity 0: parse error
This was spat out from your own `Net Radiant` as you call it.
Poor decompiler
13:10: parse error at 'brushDef': expected '#quake3-primitive'
brush 0: parse error
entity 0: parse error
This was spat out from your own `Net Radiant` as you call it.
Poor decompiler

Re: Someone here is a genius but I forget who...
Can you explain it?obsidian wrote:I think you failed to understand the principle of Murphy's Law.

Re: Someone here is a genius but I forget who...
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Re: Someone here is a genius but I forget who...
My job is governed by that law.