Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[CS:S] buildcubemaps concommand nolonger functions properly

Open KyleSanderson opened this issue 13 years ago • 15 comments

According to reports, the command buildcubemaps will still go through the process of building cube maps, but they're never added to the BSP. Upon the automatic reconnection, the map will be the exact same as it was before the command was issued.

KyleSanderson avatar Apr 22 '13 17:04 KyleSanderson

I looks like they don't get added to the BSP because it looks for the map (to add them after building) in the old cstrike folder. It may be something different, but its probably related to moving the folder to the /common path on the VPK update.

Kaemonarch avatar Apr 23 '13 01:04 Kaemonarch

After doing a lot of testing, it still generates the .vtfs in the correct new paths. However they are not moved into the .bsp file. I used a process monitor on hl2.exe, when the game attempted to copy them into the .bsp it came up with PATH NOT FOUND errors.

nyronic avatar Apr 26 '13 10:04 nyronic

Just to clarify, this is an SDK / map maker question, right? This is when people are running hammer in the game's bin folder using the new SDK beta with the environment variable set, not the old SourceSDK launcher, right?

zpostfacto avatar May 07 '13 19:05 zpostfacto

@fletcherdvalve The buildcubemaps concmd can be executed at any time as it's part of the game. It's a command that builds cubemaps after you launch your map in a game. Anyone can run the buildcubemaps command at anytime. I don't believe it's related to Hammer, or the Source SDK Authoring Tools at all, besides those are the tools that are used to place cubemaps.

EDIT: Yes, it's related to map making.

KyleSanderson avatar May 07 '13 19:05 KyleSanderson

I can confirm this bug. For my maps, one workaround is to use a BSP resource unpacker like PakRat to delete ALL textures in my BSP, and then the BSP file that buildcubemaps generates in the maps/ subfolder contains the correct textures. That unfortunately includes deleting cubemapdefault.vtf, though. I say unfortunately because deleting that causes all build cubemaps to have the error pink and black texture captured in them (on surfaces wherever reflective textures were before it is run).

I've tried placing a black cubemapdefault.vtf in the appropriate part of the file hierarchy to avoid the error texture from leaking into the map pre-buildcubemaps, but the generated map has all black cubemap textures again.

powerpak avatar Jun 23 '13 20:06 powerpak

same problem with HL2MP http://steamcommunity.com/app/211/discussions/0/846959997996504237/ and the way with Pakrat did not help

Jack-12 avatar Jul 25 '13 19:07 Jack-12

not working please repair the cubemaps!!!!!!!!!!!

jora1 avatar Jul 25 '13 19:07 jora1

Fix for the cubemaps: http://forums.doubleactiongame.com/viewtopic.php?f=16&t=356&p=51107#p51107

ghost avatar Aug 06 '13 14:08 ghost

As TopHATTwaffle analyzes here http://www.youtube.com/watch?v=RPFmYqwxhMY

The problem more specifically is that Steampipe Hammer appears to be auto creating a set of cubemaps without the correct information.

The idea of Hammer autocreating the cubemaps is good. If you have env_cubemap in your map obviously you want to do that and it would save a step later running buildcubemaps from the engine. Hammer just need to create them later in the process when the correct information is available.

cssBOT avatar Aug 16 '13 04:08 cssBOT

Hello, can someone confirm if this is still an active issue?

kisak-valve avatar Dec 21 '16 18:12 kisak-valve

@kisak-valve not complaining, but if you're going to comment on every issue just asking if they're reproducible years later; can't you check yourself?

KyleSanderson avatar Dec 21 '16 19:12 KyleSanderson

@KyleSanderson, not every issue, but yes, there is going to be a large amount of requests for retesting in the effort to improve the signal-to-noise ratio in this issue tracker.

kisak-valve avatar Dec 21 '16 19:12 kisak-valve

Closing as fixed in the ~~2015-11-09 update~~ 2016-02-04 update.

kisak-valve avatar Dec 23 '16 22:12 kisak-valve

@kisak-valve that's for HL2:DM.

KyleSanderson avatar Dec 23 '16 23:12 KyleSanderson

Thanks for catching that @KyleSanderson, I updated the link.

kisak-valve avatar Dec 24 '16 01:12 kisak-valve