Embedding textures into existing HL BSP
Moderator: InsideQC Admins
12 posts
• Page 1 of 1
Embedding textures into existing HL BSP
Does anyone know how to embed existing textures from WADs into a compiled HL BSP? I can do it with the .map and compiling a BSP, but can i do it with a compiled BSP that i don't have the source?
- JasonX
- Posts: 411
- Joined: Tue Apr 21, 2009 2:08 pm
Re: Embedding textures into existing HL BSP
HL BSP does not require textures to be in the BSP, they can be external referenced from WAD3 files.
I guess it depends on how the BSP you have were compiled, whether the textures are external or internal. If they are external, you should (in theory) just need to supply the different ones in a WAD3 file (or some other method if using DarkPlaces).
I guess it depends on how the BSP you have were compiled, whether the textures are external or internal. If they are external, you should (in theory) just need to supply the different ones in a WAD3 file (or some other method if using DarkPlaces).
- andrewj
- Posts: 133
- Joined: Mon Aug 30, 2010 3:29 pm
- Location: Australia
Re: Embedding textures into existing HL BSP
I have implemented BSP support in my engine but i didn't want to add WAD support. Just read the embedded textures. Much easier! 
- JasonX
- Posts: 411
- Joined: Tue Apr 21, 2009 2:08 pm
Re: Embedding textures into existing HL BSP
Any ideas, guys? Thanks in advance!
- JasonX
- Posts: 411
- Joined: Tue Apr 21, 2009 2:08 pm
Re: Embedding textures into existing HL BSP
To be honest I've never understood why you'd want to embed the textures into the bsp since if you have two maps that might use the same textures it's just wasteful 
-

hogsy - Posts: 198
- Joined: Wed Aug 03, 2011 3:44 pm
- Location: UK
Re: Embedding textures into existing HL BSP
See compiler documentation. It is a command line parameter which I have used, but not lately and I do not remember the name of it.
You could probably look through the Half-Life SDK for the compiler read me files.
You could probably look through the Half-Life SDK for the compiler read me files.
The night is young. How else can I annoy the world before sunsrise?
Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
-

Baker - Posts: 3666
- Joined: Tue Mar 14, 2006 5:15 am
Re: Embedding textures into existing HL BSP
Which is more memory efficient? Textures baked into the HLSBP or using an external texture wad file? Like for the PSP for instance.
- Ghost_Fang
- Posts: 336
- Joined: Thu Nov 12, 2009 4:37 am
Re: Embedding textures into existing HL BSP
If you keep it external you'll get less data redundancy which will lead to a smaller overall file size. The memory usage should remain the same.
Quake2 went all external for a reason. Look how small many of those custom maps are!
Quake2 went all external for a reason. Look how small many of those custom maps are!
i should not be here
- leileilol
- Posts: 2783
- Joined: Fri Oct 15, 2004 3:23 am
Re: Embedding textures into existing HL BSP
try quark, i found out today before work. that quark can even edit the entities in an already compiled .bsp, it also lists textures. maybe you could add,change, or delete textures as well?
-

ceriux - Posts: 2223
- Joined: Sat Sep 06, 2008 3:30 pm
- Location: Indiana, USA
Re: Embedding textures into existing HL BSP
Download and Use Zoner's Half-Life Tools ( http://zhlt.info/ ) in Hammer.
The compile with the commands " -nowadtextures "
As seen on this page:
http://zhlt.info/command-reference.html#hlcsg
Along with a bunch of other commands you can use as well.
Ah ok, yea that makes sense. I figured there would be some difference in memory usage though, drawing the required texture from a separate map rather than loading them with the bsp. So if you use external wads you might also get increased loading times wouldnt you?
The compile with the commands " -nowadtextures "
As seen on this page:
http://zhlt.info/command-reference.html#hlcsg
Along with a bunch of other commands you can use as well.
leileilol wrote:If you keep it external you'll get less data redundancy which will lead to a smaller overall file size. The memory usage should remain the same.
Quake2 went all external for a reason. Look how small many of those custom maps are!
Ah ok, yea that makes sense. I figured there would be some difference in memory usage though, drawing the required texture from a separate map rather than loading them with the bsp. So if you use external wads you might also get increased loading times wouldnt you?
- Ghost_Fang
- Posts: 336
- Joined: Thu Nov 12, 2009 4:37 am
Re: Embedding textures into existing HL BSP
Ghost_Fang wrote:So if you use external wads you might also get increased loading times wouldnt you?
The only real loading time difference here is if it's a disc-based media - redundant copies help the latter for the sake of read caching. Console games do this a lot.
i should not be here
- leileilol
- Posts: 2783
- Joined: Fri Oct 15, 2004 3:23 am
Re: Embedding textures into existing HL BSP
Oh ok, yea that makes sense.
- Ghost_Fang
- Posts: 336
- Joined: Thu Nov 12, 2009 4:37 am
12 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest