Hammer Crashes on compile of ANY map

BoxandRocks

L1: Registered
Feb 4, 2016
6
1
Hello all! I've recently been developing for my Half-Life 2 mod, PUNT: Rebirth, and while livestreaming my mapping of a particular level, hammer crashed randomly. This was odd, as I wasn't doing anything out of the ordinary, and the map was fairly small. I restarted hammer and continued mapping without a problem. However, when I went to compile, hammer immediately crashed. I retried time and time again, even with different maps and games, but absolutely no map, even those that had successfully done so before (and which I hadn't edited since), would compile. The one exception to this Portal 2, which still allows me to compile maps. Unfortunately, as the portal 2 tools use a different .bsp format than Source 2013, I can't just use that.

I've also tried using VBSP, but that crashed as well. To clarify, this happened out of nowhere. I've been a Source developer for 6 years now, and I've never run into anything like this. If anyone has a solution or suggestion, it would be greatly appreciated, as I'm lost as to what else I can so to fix the issue.

Note: I've also attempted using Regedit to reset the hammer configs. Didn't work.

Thanks,
BoxandRocks
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
Have you validated TF2's (or other games you've been mapping for) game cache? This can be done by going into Steam's sidebar with all the games, right-click on the game in question, then Properties->Local Files->Check integrity of game cache. Most likely something got either updated while Hammer was running or some random error corrupted files left and right.
 

BoxandRocks

L1: Registered
Feb 4, 2016
6
1
I'm technically running a custom branch of Source 2013 sp. Yeah, I reinstalled it and validated the cache, along with HL2, Portal, ect. but to no avail.
 

BoxandRocks

L1: Registered
Feb 4, 2016
6
1
Haave you tried an external compiler such as compilepal?

Yes, I used VBCT with no results. Both hammer and VBCT completely crash, they don't even freeze.

"Custom branch"? What do you mean by this?

I have a modified Source 2013 sp build with some custom launch wrappers and such. In other words, a bunch of code. However, I'm 100% positive that didn't contribute to the issue.
 

worMatty

Repacking Evangelist
aa
Jul 22, 2014
1,257
999
If both Hammer and VBCT crash, perhaps there is an issue with VBSP, or VVIS? I'm not sure if '2013 SP has been updated recently but that won't matter if you're compiling it yourself. Only thing I can think of is there might be a system process that is interfering with either of those.
 

BoxandRocks

L1: Registered
Feb 4, 2016
6
1
Fixed! Turned out the 2013 sdk kept wiping my build program configs, resulting in the crashes. Launching it from a .bat of mine caused it not to display that they were wiped, but doing it directly seemed to do the trick, which is odd, as they should be the same.

Thanks to everyone for their help!
 

worMatty

Repacking Evangelist
aa
Jul 22, 2014
1,257
999
Nice work. Glad to hear you got it working again and thanks for the new knowledge.