...rtal file. Broken portal file. Thanks, title character limit.
So I've been working on a CS:GO map for the last month or two and it's been coming along nicely, but today (following the addition of a new room) I've discovered that it no longer successfully compiles. There's nothing particularly remarkable about the room itself (and indeed, the compiler crashes regardless of whether it is cordoned off or not) but it seems to have nevertheless upset something.
What essentially happens: VBSP runs without generating any complaints (aside from some texture issues I can't be bothered fixing). VVIS successfully opens the portal file and starts loading the portals, but crashes on the line 'LoadPortals: reading portal XXX' (XXX is 966 when compiling the whole map, but varies if I cordon). Since I'm well below the portal limit, none of my brush geometry is too exotic and I've been strictly func_detailing, I'm understandably confused.
Incidentally, I navigated to the line in the portal file which contains the offending portal, and it appears as follows:
4 419 -1 (-736 260.940918 -10648 ) (-736 424 -10648 ) (-592 424 -10648 ) (-592 260.940918 -10648 )
The third digit, -1, seems to be the reason for the failure, as all other lines in the file have positive integers ranging from 0 to several hundred in its place. I'd like to find the portal in order to work out what's so funky about its circumstances, but I can't seem to work out how to do that in the Hammer editor.
Anybody know what might be the problem? I've included a pastebin of the portal file and the relevant compiler log.
http://pastebin.com/6RnzdFGT