Correct order for cubemaping and packing custom content

Werewolf

Probably not a real Werewolf
aa
Apr 12, 2011
873
309
Just a quick question: When building cubemaps and packing custom content, does it matter which you do first, and if so which order should you do them in?

I've been compiling using BspZip, then packing with VIDE, then building cubemaps - is that right?
 

Freyja

aa
Jul 31, 2009
2,994
5,813
I don't think it matters that much as building cubemaps packs it into the BSP anyway. Pakrat I think won't let you pack if there are no cubemaps but I don't think there's anything actually wrong with it.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
Both cubemaps and custom content get packed into the same place in the BSP. It doesn't matter which order you do it as long as they both end up inside it.

I'll add though with steampipe's multiple content directories, you need to make sure you are having the right BSP used. If you have your compiled map put in tf\maps then you don't need to worry. Personally I have them go into my own folder inside custom, but after building cubemaps the game writes the new BSP (it doesn't edit the original, it writes a new one) into tf\maps. I feel like I am rambling about stuff only I use so...
 

xzzy

aa
Jan 30, 2010
815
531
I have had a couple incidents where VIDE corrupts a bsp after multiple passes of saving/deleting anything. Like it completely messes up its internal data ordering and puts the data from a vtf with the name of the particles manifest.

So there is that to keep in mind.
 

Berry

resident homo
aa
Dec 27, 2012
1,056
1,898
I have had a couple incidents where VIDE corrupts a bsp after multiple passes of saving/deleting anything. Like it completely messes up its internal data ordering and puts the data from a vtf with the name of the particles manifest.

So there is that to keep in mind.

It does keep a .bsp.backup file though next to your packed bsp (which you just change to a .bsp and it functions exactly the same as the pre-packed bsp file)