The Stealthiest Error I've Ever Seen

Any aspects of level design for the Source engine.

The Stealthiest Error I've Ever Seen

Postby Zaughi on Sun Jan 12, 2014 11:41 pm

I run a fast compile on my map, and when it finishes compiling, it simply takes me to the game's menu screen instead of launching the map. The .BSP does not even appear in the maps folder when the compile is "finished". I scanned the compile logs, used the error checker, and yet I cannot find what is causing this error. Here is the log:

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vbsp.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2" "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\maps\RP_City17_Removal.vmf"

Valve Software - vbsp.exe (Sep 20 2013)
4 threads
materialPath: C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\materials
Loading C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\maps\RP_City17_Removal.vmf
ConVarRef mat_reduceparticles doesn't point to an existing ConVar
Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\gameinfo.txt
Patching WVT material: maps/rp_city17_removal/nature/red_grass_wvt_patch
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (3)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vvis.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2" -fast "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\maps\RP_City17_Removal"

Valve Software - vvis.exe (Sep 20 2013)
fastvis = true
4 threads
reading c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\maps\RP_City17_Removal.bsp
Error opening c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\maps\RP_City17_Removal.bsp

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vrad.exe"
** Parameters: -both -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2" -noextra "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\maps\RP_City17_Removal"

Valve Software - vrad.exe SSE (Sep 20 2013)

Valve Radiosity Simulator
4 threads
[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']

Loading c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\maps\RP_City17_Removal.bsp
Error opening c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\maps\RP_City17_Removal.bsp

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\maps\RP_City17_Removal.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\maps\RP_City17_Removal.bsp"


** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2" +map "RP_City17_Removal" -steam

The same goes for normal compiles. What do?
Zaughi
Regular
Regular
 
Joined: Wed Jun 06, 2012 8:37 pm

Re: The Stealthiest Error I've Ever Seen

Postby Dives on Sun Jan 12, 2014 11:50 pm

vbsp isn't completing so the bsp is never created. There's a lot of reasons vbsp can crash. There might be some unusually complex world brushes that are splitting visleafs in a way vbsp can't handle, there might be a func_detailed displacement. I suggest disabling the "auto" visgroups one at a time and compiling to troubleshoot whats causing the vbsp crash.
User avatar
Dives
May Contain Skills
May Contain Skills
 
Joined: Sat Feb 28, 2009 9:54 pm
Location: Moorpark, CA

Re: The Stealthiest Error I've Ever Seen

Postby LordDz on Mon Jan 13, 2014 6:26 am

Don't run the vis on fast, let it run on normal.
You can run the lighting with either:
Off - No lighting.
Normal - Duh.
Fast - Faster.
User avatar
LordDz
May Contain Skills
May Contain Skills
 
Joined: Mon Sep 01, 2008 12:28 pm
Location: Hammer Crash Logs

Re: The Stealthiest Error I've Ever Seen

Postby Zaughi on Thu Jan 16, 2014 11:23 pm

My problem seems to have been the World Geometry visgroups. Upon disabling them, the compile seems to have worked fine, except the game crashed on startup. However, this basically gutted my map of most of it's brushes. What would the next course of action be?
Zaughi
Regular
Regular
 
Joined: Wed Jun 06, 2012 8:37 pm

Re: The Stealthiest Error I've Ever Seen

Postby Oskmos on Fri Jan 17, 2014 10:06 am

alt + P?
User avatar
Oskmos
Regular
Regular
 
Joined: Thu Apr 01, 2010 9:08 pm
Location: Sweden

Re: The Stealthiest Error I've Ever Seen

Postby Zaughi on Mon Jan 20, 2014 3:51 pm

Really all that was in the error thingy are some "unused keyvalue" errors, which hadn't caused any crashes earlier. Oh, about that. The compile logs look as they would normally now, but now I'm getting crashes to desktop. I've tried both the Hammer and Interlopers error checkers, with no luck. The log:


** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vbsp.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2" "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\maps\RP_City17_Removal.vmf"

Valve Software - vbsp.exe (Sep 20 2013)
4 threads
materialPath: C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\materials
Loading C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\maps\RP_City17_Removal.vmf
ConVarRef mat_reduceparticles doesn't point to an existing ConVar
Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\gameinfo.txt
Patching WVT material: maps/rp_city17_removal/nature/red_grass_wvt_patch
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (4)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (3)

** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vvis.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2" "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\maps\RP_City17_Removal"

Valve Software - vvis.exe (Sep 20 2013)
4 threads
reading c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\maps\RP_City17_Removal.bsp
reading c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\maps\RP_City17_Removal.prt
LoadPortals: couldn't read c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\maps\RP_City17_Removal.prt


** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vrad.exe"
** Parameters: -both -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2" "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\maps\RP_City17_Removal"

Valve Software - vrad.exe SSE (Sep 20 2013)

Valve Radiosity Simulator
4 threads
[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']

Loading c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\maps\RP_City17_Removal.bsp
No vis information, direct lighting only.
Setting up ray-trace acceleration structure... Done (0.00 seconds)
2344 faces
1 degenerate faces
176629 square feet [25434716.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
190 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (3)
Build Patch/Sample Hash Table(s).....Done<0.0102 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (3)
FinalLightFace Done
54 of 79 (68% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (8)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 341/1024 16368/49152 (33.3%)
brushes 2104/8192 25248/98304 (25.7%)
brushsides 27061/65536 216488/524288 (41.3%)
planes 41164/65536 823280/1310720 (62.8%)
vertexes 4292/65536 51504/786432 ( 6.5%)
nodes 3172/65536 101504/2097152 ( 4.8%)
texinfos 1401/12288 100872/884736 (11.4%)
texdata 290/2048 9280/65536 (14.2%)
dispinfos 0/0 0/0 ( 0.0%)
disp_verts 0/0 0/0 ( 0.0%)
disp_tris 0/0 0/0 ( 0.0%)
disp_lmsamples 0/0 0/0 ( 0.0%)
faces 2344/65536 131264/3670016 ( 3.6%)
hdr faces 2344/65536 131264/3670016 ( 3.6%)
origfaces 2160/65536 120960/3670016 ( 3.3%)
leaves 3514/65536 112448/2097152 ( 5.4%)
leaffaces 2351/65536 4702/131072 ( 3.6%)
leafbrushes 574/65536 1148/131072 ( 0.9%)
areas 2/256 16/2048 ( 0.8%)
surfedges 18916/512000 75664/2048000 ( 3.7%)
edges 11055/256000 44220/1024000 ( 4.3%)
LDR worldlights 190/8192 16720/720896 ( 2.3%)
HDR worldlights 190/8192 16720/720896 ( 2.3%)
leafwaterdata 0/32768 0/393216 ( 0.0%)
waterstrips 0/32768 0/327680 ( 0.0%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 0/65536 0/131072 ( 0.0%)
cubemapsamples 256/1024 4096/16384 (25.0%)
overlays 52/512 18304/180224 (10.2%)
LDR lightdata [variable] 624280/0 ( 0.0%)
HDR lightdata [variable] 624280/0 ( 0.0%)
visdata [variable] 0/16777216 ( 0.0%)
entdata [variable] 365139/393216 (92.9%) VERY FULL!
LDR ambient table 3514/65536 14056/262144 ( 5.4%)
HDR ambient table 3514/65536 14056/262144 ( 5.4%)
LDR leaf ambient 3134/65536 87752/1835008 ( 4.8%)
HDR leaf ambient 3134/65536 87752/1835008 ( 4.8%)
occluders 0/0 0/0 ( 0.0%)
occluder polygons 0/0 0/0 ( 0.0%)
occluder vert ind 0/0 0/0 ( 0.0%)
detail props [variable] 1/12 ( 8.3%)
static props [variable] 1/12 ( 8.3%)
pakfile [variable] 27434836/0 ( 0.0%)
physics [variable] 293539/4194304 ( 7.0%)
physics terrain [variable] 2/1048576 ( 0.0%)

Level flags = 0

Total triangle count: 5525
Writing c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\maps\RP_City17_Removal.bsp
14 seconds elapsed
Valve Software - vrad.exe SSE (Sep 20 2013)

Valve Radiosity Simulator
4 threads
[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']

Loading c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\maps\RP_City17_Removal.bsp
No vis information, direct lighting only.
Setting up ray-trace acceleration structure... Done (0.00 seconds)
2344 faces
1 degenerate faces
176629 square feet [25434716.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
190 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (3)
Build Patch/Sample Hash Table(s).....Done<0.0109 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (4)
FinalLightFace Done
60 of 79 (75% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (7)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 341/1024 16368/49152 (33.3%)
brushes 2104/8192 25248/98304 (25.7%)
brushsides 27061/65536 216488/524288 (41.3%)
planes 41164/65536 823280/1310720 (62.8%)
vertexes 4292/65536 51504/786432 ( 6.5%)
nodes 3172/65536 101504/2097152 ( 4.8%)
texinfos 1401/12288 100872/884736 (11.4%)
texdata 290/2048 9280/65536 (14.2%)
dispinfos 0/0 0/0 ( 0.0%)
disp_verts 0/0 0/0 ( 0.0%)
disp_tris 0/0 0/0 ( 0.0%)
disp_lmsamples 0/0 0/0 ( 0.0%)
faces 2344/65536 131264/3670016 ( 3.6%)
hdr faces 2344/65536 131264/3670016 ( 3.6%)
origfaces 2160/65536 120960/3670016 ( 3.3%)
leaves 3514/65536 112448/2097152 ( 5.4%)
leaffaces 2351/65536 4702/131072 ( 3.6%)
leafbrushes 574/65536 1148/131072 ( 0.9%)
areas 2/256 16/2048 ( 0.8%)
surfedges 18916/512000 75664/2048000 ( 3.7%)
edges 11055/256000 44220/1024000 ( 4.3%)
LDR worldlights 190/8192 16720/720896 ( 2.3%)
HDR worldlights 190/8192 16720/720896 ( 2.3%)
leafwaterdata 0/32768 0/393216 ( 0.0%)
waterstrips 0/32768 0/327680 ( 0.0%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 0/65536 0/131072 ( 0.0%)
cubemapsamples 256/1024 4096/16384 (25.0%)
overlays 52/512 18304/180224 (10.2%)
LDR lightdata [variable] 624280/0 ( 0.0%)
HDR lightdata [variable] 624280/0 ( 0.0%)
visdata [variable] 0/16777216 ( 0.0%)
entdata [variable] 365139/393216 (92.9%) VERY FULL!
LDR ambient table 3514/65536 14056/262144 ( 5.4%)
HDR ambient table 3514/65536 14056/262144 ( 5.4%)
LDR leaf ambient 3134/65536 87752/1835008 ( 4.8%)
HDR leaf ambient 3134/65536 87752/1835008 ( 4.8%)
occluders 0/0 0/0 ( 0.0%)
occluder polygons 0/0 0/0 ( 0.0%)
occluder vert ind 0/0 0/0 ( 0.0%)
detail props [variable] 1/12 ( 8.3%)
static props [variable] 1/12 ( 8.3%)
pakfile [variable] 27434836/0 ( 0.0%)
physics [variable] 293539/4194304 ( 7.0%)
physics terrain [variable] 2/1048576 ( 0.0%)

Level flags = 0

Total triangle count: 5525
Writing c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\maps\RP_City17_Removal.bsp
14 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\maps\RP_City17_Removal.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\maps\RP_City17_Removal.bsp"


** Executing...
** Command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2" +map "RP_City17_Removal" -steam

I can provide the map .VMF if needed.
Zaughi
Regular
Regular
 
Joined: Wed Jun 06, 2012 8:37 pm

Re: The Stealthiest Error I've Ever Seen

Postby Zaughi on Sat Jan 25, 2014 6:55 pm

Uploaded the .VMF, feel free to tear it apart.
http://www.mediafire.com/view/ptyj6l09yob02xa/RP_City17.vmf
Zaughi
Regular
Regular
 
Joined: Wed Jun 06, 2012 8:37 pm

Re: The Stealthiest Error I've Ever Seen

Postby Dives on Sat Jan 25, 2014 8:08 pm

Your map is still built in the the worst way possible as it was when you made your other thread. If you want maps to work, they can't be built as brushes floating in a giant skybox cube. Vbsp is exploding when it tries to form the many thousands of visleafs.

https://developer.valvesoftware.com/wik ... timization

This is as far as I can help you. If you want to map in Source you NEED to understand how it works. I'm not trying to be harsh but this is the reality of Source Engine.
User avatar
Dives
May Contain Skills
May Contain Skills
 
Joined: Sat Feb 28, 2009 9:54 pm
Location: Moorpark, CA

Re: The Stealthiest Error I've Ever Seen

Postby Zaughi on Sat Jan 25, 2014 10:00 pm

Honestly, you don't come across as harsh. I'll certainly look into this article, thank you for taking the time to help me with this. The maps that I make are often tests to push the limits of Source and learn and understand the inner workings of what it can do, how it can be done, and to what extent.



Oh, and because everyone needs a scapegoat: 80% of this terribad geometry is Valve's.
Zaughi
Regular
Regular
 
Joined: Wed Jun 06, 2012 8:37 pm

Return to Hammer Editor Help

Who is online

Users browsing this forum: Bing [Bot]