Talk:Source BSP File Format

From Valve Developer Community
Revision as of 17:58, 6 April 2013 by MofoMan2000 (talk | contribs)
Jump to: navigation, search

This page could really use some updates. It mainly specifies version 19 with some notes about 17 and 20. Version 21, introduced with Left 4 Dead 2, is completely untreated. I found out some changes in version 20 and I'll put them here, but some parts need to be reorganized. Otherwise, it will be pretty messy here soon with all the different versions. --Barracuda 05:32, 4 December 2009 (UTC)

I have moved HL2Ep1 from v19 to v20 as I've looked in the ep1 bsps and they specify 20 --Omnicoder 07:22, 15 February 2010 (UTC)

That's because they've updated the engine for HDR support and re-compiled the maps. CS:S also has version 20 BSPs now and version 19 before the update. --Barracuda 10:10, 11 March 2010 (UTC)
Correction: Looks like Ep1 never used v19, so you're right. But I updated the table regarding CS:S. --Barracuda 10:26, 11 March 2010 (UTC)

Changing BSP Version

Is there any way to change a BSP Version 21 file to 20? --Adam.gamedev 20:58, 30 November 2010 (UTC)

The engine features aren't compatible so no. The best you can do is decompile and recompile. It would be possible to code something to do it but it would result in loss of information and an imperfect downgrade. --Omnicoder 23:46, 30 November 2010 (UTC)

Displacement Format

The documentation on the displacement lump is frankly awful. It never explains what the CDispNeighbor or CDispCornerNeighbor structures are, or even how large they are, and ALLOWEDVERTS_SIZE is never expanded upon either (though according to the BSPSource source code it turns out to be 10). --MofoMan2000 04:05, 11 September 2012 (UTC)

Linking Brush Sides and Faces

According to the article, "Note there is no direct way of linking brushes and brushsides and the corresponding face array entries which are used to render that brush." Does this mean there is an indirect way? Does BSPSource use an indirect way of linking them? It must do something close because it processes overlays properly, right? --MofoMan2000 17:58, 6 April 2013 (PDT)