vbsp weird behavior/crashing
Quote from wrathofmobius on July 28, 2012, 8:35 pmSorry to post this question so soon after my last one, but I'm having a really weird compiling issue. It'll get to vrad and then just suddenly say "vbsp.exe has stopped working." The compile log is attached (and zipped because .txt files aren't allowed) since it breaks the 60000 character limit. My two primary concerns are the "Bad ambient for leaf xyz" and "WARNING: Too many light styles on a face at (x, y, z)." I have no named lights in my map, and in fact, I have removed the lights from my cube dropper instances. I primarily have light_spots.
And finally, in case this matters (I doubt it does), here are my computer specs:
Intel i7-3770k OC'd up to 4.0 GHz
MSI Radeon 6850 PE/OC
8 GB Corsair Vengeance RAM
Asus Sabertooth Z77 motherboard
2x 500 GB Western Digital Caviar Blue HDD (RAID)I can post the VMF if necessary, or any other pertinent information that I forgot. Thanks in advance to anyone who helps.
EDIT: Crap, posted in the wrong forum. Could someone please move this post?
Sorry to post this question so soon after my last one, but I'm having a really weird compiling issue. It'll get to vrad and then just suddenly say "vbsp.exe has stopped working." The compile log is attached (and zipped because .txt files aren't allowed) since it breaks the 60000 character limit. My two primary concerns are the "Bad ambient for leaf xyz" and "WARNING: Too many light styles on a face at (x, y, z)." I have no named lights in my map, and in fact, I have removed the lights from my cube dropper instances. I primarily have light_spots.
And finally, in case this matters (I doubt it does), here are my computer specs:
Intel i7-3770k OC'd up to 4.0 GHz
MSI Radeon 6850 PE/OC
8 GB Corsair Vengeance RAM
Asus Sabertooth Z77 motherboard
2x 500 GB Western Digital Caviar Blue HDD (RAID)
I can post the VMF if necessary, or any other pertinent information that I forgot. Thanks in advance to anyone who helps.
EDIT: Crap, posted in the wrong forum. Could someone please move this post?
[spoiler]WOM Test 1
Laser Cube Quest
Mho' Power - Community Spotlight!
Four Corners[/spoiler]

Quote from Nacimota on July 28, 2012, 9:10 pmOkay, so first and foremost, vrad does not calculate lighting based on the .vmf, it calculates it from the .bsp. This is significant because if vbsp isn't run (or fails to run) then vrad will work from a previous version of the .bsp file if one exists on the disk.
So if you manage to compile the map properly at least once, vbsp will generate the .bsp file from the .vmf file, vvis will read the .bsp file and calculate visibility, and finally vrad will read the bsp and calculate static lighting.
If, subsequently, you try to compile and vbsp fails to run, vvis and vrad will both read the .bsp file that was written from your previous (successful) compile.
So the "Too many light styles on a face" warning you're experiencing means that you had too many named lights in the map affecting a single face when you last successfully ran vbsp. It doesn't matter if you remove all the lights in the .vmf because vrad is still working from an old .bsp file.
You need to find out what is making vrad crash, and fix it.
Okay, so first and foremost, vrad does not calculate lighting based on the .vmf, it calculates it from the .bsp. This is significant because if vbsp isn't run (or fails to run) then vrad will work from a previous version of the .bsp file if one exists on the disk.
So if you manage to compile the map properly at least once, vbsp will generate the .bsp file from the .vmf file, vvis will read the .bsp file and calculate visibility, and finally vrad will read the bsp and calculate static lighting.
If, subsequently, you try to compile and vbsp fails to run, vvis and vrad will both read the .bsp file that was written from your previous (successful) compile.
So the "Too many light styles on a face" warning you're experiencing means that you had too many named lights in the map affecting a single face when you last successfully ran vbsp. It doesn't matter if you remove all the lights in the .vmf because vrad is still working from an old .bsp file.
You need to find out what is making vrad crash, and fix it.
Quote from wrathofmobius on July 28, 2012, 11:32 pmI just chatted for about an hour on the IRC channel troubleshooting. Here's a quick recap:
- Checked permissions: make sure your account has proper permissions in that folder
- Verified tool cache file - turns out vbsp.exe was corrupt
- Noticed that there was still "too many light styles" errors
- Turns out, Valve's dropper instances include 4 named lights, which will cause these errors. I have attached my updated instances without lights.
- vrad.exe kept crashing
- Found this: https://developer.valvesoftware.com/wik ... _Crash_Fix
Everything's back working now. Thanks to Nacimota, ChickenMobile, and King_Ghidorah for all the help, all of you rock.
EDIT: Broke again. Turns out I had too many brush faces and I had to trim out the last part. Thanks again to the IRC folks for helping me again.
I just chatted for about an hour on the IRC channel troubleshooting. Here's a quick recap:
- Checked permissions: make sure your account has proper permissions in that folder
- Verified tool cache file - turns out vbsp.exe was corrupt
- Noticed that there was still "too many light styles" errors
- Turns out, Valve's dropper instances include 4 named lights, which will cause these errors. I have attached my updated instances without lights.
- vrad.exe kept crashing
- Found this: https://developer.valvesoftware.com/wik ... _Crash_Fix
Everything's back working now. Thanks to Nacimota, ChickenMobile, and King_Ghidorah for all the help, all of you rock.
EDIT: Broke again. Turns out I had too many brush faces and I had to trim out the last part. Thanks again to the IRC folks for helping me again.
[spoiler]WOM Test 1
Laser Cube Quest
Mho' Power - Community Spotlight!
Four Corners[/spoiler]