[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - Embedding textures into existing HL BSP

Embedding textures into existing HL BSP

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.

Moderator: InsideQC Admins

Embedding textures into existing HL BSP

Postby JasonX » Fri Dec 16, 2011 1:53 am

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: 422
Joined: Tue Apr 21, 2009 2:08 pm

Re: Embedding textures into existing HL BSP

Postby andrewj » Fri Dec 16, 2011 9:54 pm

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).
andrewj
 
Posts: 133
Joined: Mon Aug 30, 2010 3:29 pm
Location: Australia

Re: Embedding textures into existing HL BSP

Postby JasonX » Fri Dec 16, 2011 11:16 pm

I have implemented BSP support in my engine but i didn't want to add WAD support. Just read the embedded textures. Much easier! :mrgreen:
JasonX
 
Posts: 422
Joined: Tue Apr 21, 2009 2:08 pm

Re: Embedding textures into existing HL BSP

Postby JasonX » Tue Dec 20, 2011 4:58 am

Any ideas, guys? Thanks in advance!
JasonX
 
Posts: 422
Joined: Tue Apr 21, 2009 2:08 pm

Re: Embedding textures into existing HL BSP

Postby hogsy » Mon Dec 26, 2011 8:32 pm

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 :roll:
User avatar
hogsy
 
Posts: 198
Joined: Wed Aug 03, 2011 3:44 pm
Location: UK

Re: Embedding textures into existing HL BSP

Postby Baker » Mon Dec 26, 2011 9:52 pm

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.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Embedding textures into existing HL BSP

Postby Ghost_Fang » Sun Jan 29, 2012 4:07 am

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

Postby leileilol » Sun Jan 29, 2012 5:09 am

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!
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Embedding textures into existing HL BSP

Postby ceriux » Sun Jan 29, 2012 7:26 am

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?
User avatar
ceriux
 
Posts: 2230
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Embedding textures into existing HL BSP

Postby Ghost_Fang » Sun Jan 29, 2012 5:51 pm

Ghost_Fang
 
Posts: 336
Joined: Thu Nov 12, 2009 4:37 am

Re: Embedding textures into existing HL BSP

Postby leileilol » Sun Jan 29, 2012 6:09 pm

leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Re: Embedding textures into existing HL BSP

Postby Ghost_Fang » Sun Jan 29, 2012 8:35 pm

Oh ok, yea that makes sense.
Ghost_Fang
 
Posts: 336
Joined: Thu Nov 12, 2009 4:37 am


Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest