{"id":627,"date":"2010-07-27T17:37:21","date_gmt":"2010-07-28T01:37:21","guid":{"rendered":"http:\/\/technofovea.com\/blog\/?p=627"},"modified":"2010-07-27T18:08:24","modified_gmt":"2010-07-28T02:08:24","slug":"packbsp-2-0-2","status":"publish","type":"post","link":"https:\/\/technofovea.com\/blog\/archives\/627","title":{"rendered":"PackBsp 2.0.2"},"content":{"rendered":"<p>Version 2.0.2 is out on the <a href=\"http:\/\/technofovea.com\/blog\/projects\/packbsp\">project page<\/a>.<\/p>\n<p>Changes<\/p>\n<ul>\n<li>Feature: New user-editable config file defines what map-name-based files (like AI navigation or overviews) are pulled in for different games or engines. Please report any issues with this, since it is somewhat rough around the edges.<\/li>\n<li>Bug: Fixed issue with not finding uncompressed HDR skybox materials (credit: Grocel)<\/li>\n<li>Bug: Fixed not including \u00c2\u00a0custom map overviews and radars (credit: Jason)<\/li>\n<\/ul>\n<h3>Next steps:<\/h3>\n<p>There&#8217;s one part of PackBsp which has bugged me for a while now: How it behaves\u00c2\u00a0<em>after<\/em> it has examined the map and all the dependencies.<!--more--><\/p>\n<p>If you add something manually, you are adding it as a single item. If you tell it to package a VMT material file, it will not\u00c2\u00a0<em>look<\/em> at that file and automatically package the VTF texture file. I&#8217;m trying to figure out whether changing this is worth the complexity.<\/p>\n<p>What I may do is treat it as an issue of\u00c2\u00a0<em>communication<\/em>, where I need to make it very clear that the &#8220;search and find everything related&#8221; magic does not apply past the main &#8220;Check Dependencies&#8221; step. Why? Because I think a common problem case will be this:<\/p>\n<ul>\n<li> The map may optionally include <code>materials\\mapname_overview.vmt<\/code><\/li>\n<li>The file is not present in the right place, so PackBsp doesn&#8217;t see it.<\/li>\n<li>The user says: &#8220;Oh yeah, I forgot to move that to the right place.&#8221; and tells PackBsp to pull the file in <code>c:\\stuff\\mapname_overview.vmt<\/code> and use that.<\/li>\n<li>The VMT references <code>materials\\overview1.vtf<\/code><\/li>\n<\/ul>\n<p>Where does PackBsp look for that file? Does it look in <code>c:\\stuff\\<\/code> or in <code>c:\\stuff\\materials\\<\/code>? The path isn&#8217;t relative from the VMT to the VTF, but instead is relative to an unknown root folder. And if a similar file is in both place&#8230; The ambiguity isn&#8217;t easy to resolve.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Version 2.0.2 is out on the project page. Changes Feature: New user-editable config file defines what map-name-based files (like AI navigation or overviews) are pulled in for different games or engines. Please report any issues with this, since it is somewhat rough around the edges. Bug: Fixed issue with not finding uncompressed HDR skybox materials [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[8],"_links":{"self":[{"href":"https:\/\/technofovea.com\/blog\/wp-json\/wp\/v2\/posts\/627"}],"collection":[{"href":"https:\/\/technofovea.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/technofovea.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/technofovea.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/technofovea.com\/blog\/wp-json\/wp\/v2\/comments?post=627"}],"version-history":[{"count":7,"href":"https:\/\/technofovea.com\/blog\/wp-json\/wp\/v2\/posts\/627\/revisions"}],"predecessor-version":[{"id":636,"href":"https:\/\/technofovea.com\/blog\/wp-json\/wp\/v2\/posts\/627\/revisions\/636"}],"wp:attachment":[{"href":"https:\/\/technofovea.com\/blog\/wp-json\/wp\/v2\/media?parent=627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/technofovea.com\/blog\/wp-json\/wp\/v2\/categories?post=627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/technofovea.com\/blog\/wp-json\/wp\/v2\/tags?post=627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}