Game crashes on map load

Game crashes on map load

Re: Game crashes on map load Posted by coldbladed on Tue Jan 4th 2005 at 8:41pm
coldbladed
62 posts
Posted 2005-01-04 8:41pm
62 posts 6 snarkmarks Registered: Nov 11th 2004
So its pretty straight forward. I do the Map>Check for Problems and
it comes out clean. So I run the compiler with VIS and RAD turned off,
just the normal BSP. Whether I manually load HL2 or let the compiler
start the game for me it crashes. I can run other maps just fine so I
guess its something I did... ?

Below I've pasted my compile log.

** Executing...

** Command: "c:\program files\steam\steamapps\coldbladed@hotmail.com\sourcesdk\bin\vbsp.exe"

** Parameters: -game "c:\program
files\steam\steamapps\coldbladed@hotmail.com\half-life 2
deathmatch\hl2mp" "C:\Program
Files\Steam\SteamApps\coldbladed@hotmail.com\sourcesdk\sdkcontent\maps\trial41"

Valve Software - vbsp.exe (Dec 15 2004)

1 threads

materialPath: c:\program files\steam\steamapps\coldbladed@hotmail.com\half-life 2 deathmatch\hl2mp\materials

Loading C:\Program Files\Steam\SteamApps\coldbladed@hotmail.com\sourcesdk\sdkcontent\maps\trial41.vmf

Detected multiplayer map, building linux dedicated server data

fixing up env_cubemap materials on brush sides...

ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)

ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)

Processing areas...done (0)

Building Faces...done (0)

Chop Details...done (0)

Find Visible Detail Sides...done (0)

Merging details...done (0)

FixTjuncs...

PruneNodes...

WriteBSP...

done (1)

writing C:\Program Files\Steam\SteamApps\coldbladed@hotmail.com\sourcesdk\sdkcontent\maps\trial41.prt...done (0)

Creating default cubemaps for env_cubemap using skybox sky_day02_02...

Run buildcubemaps in the engine to get the correct cube maps.

Finding displacement neighbors...

Finding lightmap sample positions...

Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10

Building Physics collision data...

done (0) (170624 bytes)

Building Physics collision data...

done (0) (170624 bytes)

Placing detail props : 0...1...2...3...4...5...6...7...8...9...10

Writing C:\Program Files\Steam\SteamApps\coldbladed@hotmail.com\sourcesdk\sdkcontent\maps\trial41.bsp

8 seconds elapsed

Memory leak: mempool blocks left in memory: 48

Memory leak: mempool blocks left in memory: 5

** Executing...

** Command: Copy File

** Parameters: "C:\Program
Files\Steam\SteamApps\coldbladed@hotmail.com\sourcesdk\sdkcontent\maps\trial41.bsp"
"c:\program files\steam\steamapps\coldbladed@hotmail.com\half-life 2
deathmatch\hl2mp\maps\trial41.bsp"

** Executing...

** Command: "c:\program files\steam\steamapps\coldbladed@hotmail.com\half-life 2 deathmatch\hl2.exe"

** Parameters: -game "c:\program files\steam\steamapps\coldbladed@hotmail.com\half-life 2 deathmatch\hl2mp" +map "trial41"

Thanks in advance,
Re: Game crashes on map load Posted by Orpheus on Tue Jan 4th 2005 at 8:45pm
Orpheus
13860 posts
Posted 2005-01-04 8:45pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
this was posted as little as 7-10 days ago. :/

[edit] search for jusr "buildcubemaps"

<DIV class=quote>
<DIV class=quotetitle>? quoting coldbladed</DIV>
<DIV class=quotetext>
** Executing...
** Command: "c:\program files\steam\steamapps\coldbladed@hotmail.com\sourcesdk\bin\vbsp.exe"
** Parameters: -game "c:\program files\steam\steamapps\coldbladed@hotmail.com\half-life 2 deathmatch\hl2mp" "C:\Program Files\Steam\SteamApps\coldbladed@hotmail.com\sourcesdk\sdkcontent\maps\trial41"

Valve Software - vbsp.exe (Dec 15 2004)
1 threads
materialPath: c:\program files\steam\steamapps\coldbladed@hotmail.com\half-life 2 deathmatch\hl2mp\materials
Loading C:\Program Files\Steam\SteamApps\coldbladed@hotmail.com\sourcesdk\sdkcontent\maps\trial41.vmf
Detected multiplayer map, building linux dedicated server data
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (1)
writing C:\Program Files\Steam\SteamApps\coldbladed@hotmail.com\sourcesdk\sdkcontent\maps\trial41.prt...done (0)
Creating default cubemaps for env_cubemap using skybox sky_day02_02...
Run buildcubemaps in the engine to get the correct cube maps.
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (0) (170624 bytes)
Building Physics collision data...
done (0) (170624 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Writing C:\Program Files\Steam\SteamApps\coldbladed@hotmail.com\sourcesdk\sdkcontent\maps\trial41.bsp
8 seconds elapsed
Memory leak: mempool blocks left in memory: 48
Memory leak: mempool blocks left in memory: 5


** Executing...
** Command: Copy File
** Parameters: "C:\Program Files\Steam\SteamApps\coldbladed@hotmail.com\sourcesdk\sdkcontent\maps\trial41.bsp" "c:\program files\steam\steamapps\coldbladed@hotmail.com\half-life 2 deathmatch\hl2mp\maps\trial41.bsp"

** Executing...
** Command: "c:\program files\steam\steamapps\coldbladed@hotmail.com\half-life 2 deathmatch\hl2.exe"
** Parameters: -game "c:\program files\steam\steamapps\coldbladed@hotmail.com\half-life 2 deathmatch\hl2mp" +map "trial41"

Thanks in advance,
</DIV></DIV>
Re: Game crashes on map load Posted by Raeth on Tue Jan 4th 2005 at 8:55pm
Raeth
62 posts
Posted 2005-01-04 8:55pm
Raeth
member
62 posts 16 snarkmarks Registered: Nov 24th 2004 Location: USA
Er, neither the memory leak nor the cubemaps thing are errors. My
guess is that not running VIS is what's causing the problem. His
computer probably can't handle displaying the whole map at once.
Re: Game crashes on map load Posted by Orpheus on Tue Jan 4th 2005 at 8:58pm
Orpheus
13860 posts
Posted 2005-01-04 8:58pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
<DIV class=quote>
<DIV class=quotetitle>? quoting Raeth</DIV>
<DIV class=quotetext>Er, neither the memory leak nor the cubemaps thing are errors. My guess is that not running VIS is what's causing the problem. His computer probably can't handle displaying the whole map at once.
</DIV></DIV>

oh.. OK then.
sorry my bad.
Re: Game crashes on map load Posted by Leperous on Tue Jan 4th 2005 at 9:18pm
Leperous
3382 posts
Posted 2005-01-04 9:18pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
** Executing...
** Command: "c:\program files\steam\steamapps\coldbladed@hotmail.com\half-life 2 deathmatch\hl2.exe"
** Parameters: -game "c:\program files\steam\steamapps\coldbladed@hotmail.com\half-life 2 deathmatch\hl2mp" +map "trial41"
DON'T run HL2 through that .exe, it doesn't work. You need to run the game through Steam (see our config guide).

Where/who told you to use hl2.exe ?
Re: Game crashes on map load Posted by coldbladed on Tue Jan 4th 2005 at 9:30pm
coldbladed
62 posts
Posted 2005-01-04 9:30pm
62 posts 6 snarkmarks Registered: Nov 11th 2004
** Executing...
** Command: "c:program filessteamsteamappscoldbladed@hotmail.comhalf-life 2 deathmatchhl2.exe"
** Parameters: -game "c:program filessteamsteamappscoldbladed@hotmail.comhalf-life 2 deathmatchhl2mp" +map "trial41"
DON'T run HL2 through that .exe, it doesn't work. You need to run the game through Steam (see our config guide).

Where/who told you to use hl2.exe ?
I set that up myself, but it has worked just fine until this most
recent compile. I've run it dozens of times just like this with no
problems at all. Also, as posted initially, I tried loading HL2:DM
directly from steam and loading the map manually, no go. The game
crashes during the map loading, I can see it initiallize a server and
just as is starts to work on the map, pop, back to desktop. I'm
thinking its not the .exe but rather something the map is doing to the
.exe
Er, neither the memory leak nor the cubemaps thing are errors. My
guess is that not running VIS is what's causing the problem. His
computer probably can't handle displaying the whole map at once.
Again, I've compiled the map before without any problems. I did try running with VIS on though and it didn't help :sad:
Re: Game crashes on map load Posted by Rof on Tue Jan 4th 2005 at 9:33pm
Rof
210 posts
Posted 2005-01-04 9:33pm
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
Try setting "developer 1" before you load your map, see if you get any errors printed.

In HL1, developer mode was more tolerant of map errors, and could
prevent some crashes on map-load. Might work the same way in HL2.
Re: Game crashes on map load Posted by coldbladed on Tue Jan 4th 2005 at 9:35pm
coldbladed
62 posts
Posted 2005-01-04 9:35pm
62 posts 6 snarkmarks Registered: Nov 11th 2004
I'm not familiar with this setting, where can it be found?
Re: Game crashes on map load Posted by Rof on Tue Jan 4th 2005 at 9:43pm
Rof
210 posts
Posted 2005-01-04 9:43pm
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
In the console. Type "developer 1" before typing "map trial41" (or whatever) to load your map.

If you don't have console enabled, it's in the keyboard->advanced options, I think.

Turn it off again with "developer 0". You can also use "developer 2" to
also see information on screen when entities are triggered, etc.
Re: Game crashes on map load Posted by coldbladed on Wed Jan 5th 2005 at 5:04am
coldbladed
62 posts
Posted 2005-01-05 5:04am
62 posts 6 snarkmarks Registered: Nov 11th 2004
Well, I tried the developer 1 command but I'm still crashing when trying to load the map :sad:
Re: Game crashes on map load Posted by Leperous on Wed Jan 5th 2005 at 11:34am
Leperous
3382 posts
Posted 2005-01-05 11:34am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
sighs Yes, but did it say anything before crashing? At what point in the loading process does it crash?
Re: Game crashes on map load Posted by coldbladed on Wed Jan 5th 2005 at 2:34pm
coldbladed
62 posts
Posted 2005-01-05 2:34pm
62 posts 6 snarkmarks Registered: Nov 11th 2004
Obviously when I run via the compiler the console isn't open so there
isn't a message. BUt when I run straight from the console (after
loading DM manually from the steam menu) I type map "mapname", it sits
doing nothing for several seconds, says something too fast for me to
read that doesn't LOOK like an error :\ (I couldn't do a screen capture
as it kept capping my desktop isntead)

and then plop- it dies.
Re: Game crashes on map load Posted by Orpheus on Wed Jan 5th 2005 at 2:47pm
Orpheus
13860 posts
Posted 2005-01-05 2:47pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
if you are a mapper of any intelligence, you have several backup copies of your map. load them backward till you come to the one that loads correctly.

see where you made a difference between those two (works and not) and fix it in the latest version.

if you do not have backups.. shrugs to bad.

fixing mapping issues is 50/50, we cannot help you, if you don't offer your half, which is the pertinent info on whats wrong. just stating the map crashes is not enough.

sorry if thats harsh, but its mapping 101 bud.
Re: Game crashes on map load Posted by Leperous on Wed Jan 5th 2005 at 4:57pm
Leperous
3382 posts
Posted 2005-01-05 4:57pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Ok, so it's quite early on in the loading process, so perhaps it's a texture loading problem? Do other maps that you make cause the same problem? (You said that other maps work, but I need to know if they're yours or not.) If they do, there's something wrong with your setup, and if not then, er, there's something wrong with your map :smile: (but at least you've narrowed it down!)
Re: Game crashes on map load Posted by Chaos Ex Anima on Thu Jan 6th 2005 at 5:09pm
Chaos Ex Anima
2 posts
Posted 2005-01-06 5:09pm
2 posts 0 snarkmarks Registered: Jan 6th 2005
I have almost exactly the same problem as coldbladed. I compiled my map
normally, yet when I attempted to load it, the game crashed to the
desktop. This doesn't happen with other maps. The compile log doesn't
seem to have any errors in it. I've tried everything recommended on
here, to no avail. Here is my compile log:

** Executing...

** Command: "c:\program files\valve\steam\steamapps\chaosbydesign\sourcesdk\bin\vbsp.exe"

** Parameters: -game "c:\program
files\valve\steam\steamapps\chaosbydesign\half-life 2\hl2" "C:\Program
Files\Valve\Steam\SteamApps\chaosbydesign\sourcesdk_content\hl2\mapsrc\isle"

Valve Software - vbsp.exe (Dec 15 2004)

1 threads

materialPath: c:\program files\valve\steam\steamapps\chaosbydesign\half-life 2\hl2\materials

Loading C:\Program Files\Valve\Steam\SteamApps\chaosbydesign\sourcesdk_content\hl2\mapsrc\isle.vmf

fixing up env_cubemap materials on brush sides...

ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)

ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)

Processing areas...done (0)

Building Faces...done (1)

Chop Details...done (0)

Find Visible Detail Sides...

Merged 296 detail faces...done (0)

Merging details...done (0)

FixTjuncs...

PruneNodes...

WriteBSP...

done (0)

writing C:\Program Files\Valve\Steam\SteamApps\chaosbydesign\sourcesdk_content\hl2\mapsrc\isle.prt...done (0)

Creating default cubemaps for env_cubemap using skybox sky_day02_07...

Run buildcubemaps in the engine to get the correct cube maps.

Finding displacement neighbors...

Finding lightmap sample positions...

Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10

Building Physics collision data...

done (2) (1909018 bytes)

Placing detail props : 0...1...2...3...4...5...6...7...8...9...10

Water found with no water_lod_control entity, creating a default one.

Writing C:\Program Files\Valve\Steam\SteamApps\chaosbydesign\sourcesdk_content\hl2\mapsrc\isle.bsp

6 seconds elapsed

Memory leak: mempool blocks left in memory: 48

Memory leak: mempool blocks left in memory: 7

** Executing...

** Command: "c:\program files\valve\steam\steamapps\chaosbydesign\sourcesdk\bin\vvis.exe"

** Parameters: -game "c:\program
files\valve\steam\steamapps\chaosbydesign\half-life 2\hl2" "C:\Program
Files\Valve\Steam\SteamApps\chaosbydesign\sourcesdk_content\hl2\mapsrc\isle"

Valve Software - vvis.exe (Dec 15 2004)

1 threads

reading c:\program files\valve\steam\steamapps\chaosbydesign\sourcesdk_content\hl2\mapsrc\isle.bsp

reading c:\program files\valve\steam\steamapps\chaosbydesign\sourcesdk_content\hl2\mapsrc\isle.prt

53 portalclusters

133 numportals

BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (0)

PortalFlow: 0...1...2...3...4...5...6...7...8...9...10 (0)

Optimized: 0 visible clusters (0.00%)

Total clusters visible: 1935

Average clusters visible: 36

Building PAS...

Average clusters audible: 36

visdatasize:1170 compressed from 848

writing c:\program files\valve\steam\steamapps\chaosbydesign\sourcesdk_content\hl2\mapsrc\isle.bsp

1 second elapsed

** Executing...

** Command: "c:\program files\valve\steam\steamapps\chaosbydesign\sourcesdk\bin\vrad.exe"

** Parameters: -game "c:\program
files\valve\steam\steamapps\chaosbydesign\half-life 2\hl2" "C:\Program
Files\Valve\Steam\SteamApps\chaosbydesign\sourcesdk_content\hl2\mapsrc\isle"

Valve Software - vrad.exe (Dec 15 2004)

----- Radiosity Simulator ----

1 threads

[Reading texlights from 'lights.rad']

[45 texlights parsed from 'lights.rad']

Loading c:\program files\valve\steam\steamapps\chaosbydesign\sourcesdk_content\hl2\mapsrc\isle.bsp

707 faces

502332 square feet [72335880.00 square inches]

208 displacements

94904 square feet [13666201.00 square inches]

707 patches before subdivision

41265 patches after subdivision

5 direct lights

BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (113)

BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (45)

transfers 437035, max 216

transfer lists: 3.3 megs

GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)

Bounce #1 added RGB(47658, 43928, 23087)

GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)

Bounce #2 added RGB(546, 483, 356)

GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)

Bounce #3 added RGB(36, 29, 18)

GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)

Bounce #4 added RGB(5, 4, 2)

GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)

Bounce #5 added RGB(0, 0, 0)

Build Patch/Sample Hash Table(s).....Done<0.0538 sec>

FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (3)

FinalLightFace Done

Ready to Finish

Computing detail prop lighting : 0...1...2...3...4...5...6...7...8...9...10

0 of 0 (0% of) surface lights went in leaf ambient cubes.

ComputePerLeafAmbientLighting: 0...1...2...3...4...5...6...7...8...9...10

Object names Objects/Maxobjs Memory / Maxmem Fullness

------------ --------------- --------------- --------

models
5/1024
240/49152 ( 0.5%)

brushes
73/8192
876/98304 ( 0.9%)

brushsides
465/65536
3720/524288 ( 0.7%)

planes
338/65536 6760/1310720
( 0.5%)

vertexes
963/65536 11556/786432
( 1.5%)

nodes
164/65536 5248/2097152
( 0.3%)

texinfos
570/12288 41040/884736
( 4.6%)

texdata
33/2048
1056/65536 ( 1.6%)

dispinfos
208/0
36608/0 ( 0.0%)

disp_verts
18720/0
374400/0 ( 0.0%)

disp_tris
30080/0
60160/0 ( 0.0%)

disp_lmsamples
107215/0
107215/0 ( 0.0%)

faces
707/65536 39592/3670016 (
1.1%)

origfaces
419/65536 23464/3670016 (
0.6%)

leaves
170/65536 9520/3670016
( 0.3%)

leaffaces
569/65536
1138/131072 ( 0.9%)

leafbrushes
177/65536
354/131072 ( 0.3%)

surfedges
4716/512000 18864/2048000 ( 0.9%)

edges
2776/256000 11104/1024000 ( 1.1%)

worldlights
4/8192
352/720896 ( 0.0%)

waterstrips
16/32768
160/327680 ( 0.0%)

waterverts
0/65536
0/786432 ( 0.0%)

waterindices
276/65536
552/131072 ( 0.4%)

cubemapsamples
0/1024
0/16384 ( 0.0%)

overlays
0/512
0/180224 ( 0.0%)

lightdata
[variable]
612908/0 ( 0.0%)

visdata
[variable] 1170/16777216 (
0.0%)

entdata
[variable] 22688/393216
( 5.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/46616 ( 0.0%)

dtl prp lght
[variable]
1/4 (25.0%)

static props
[variable]
1/1624 ( 0.1%)

pakfile
[variable]
20369/0 ( 0.0%)

Win32 Specific Data:

physics
[variable] 1909018/4194304 (45.5%)

Total Win32 BSP file data space used: 3320135 bytes

Linux Specific Data:

physicssurface
[variable]
0/6291456 ( 0.0%)

Total Linux BSP file data space used: 1411117 bytes

Total triangle count: 1632

Writing c:\program files\valve\steam\steamapps\chaosbydesign\sourcesdk_content\hl2\mapsrc\isle.bsp

2 minutes, 44 seconds elapsed

** Executing...

** Command: Copy File

** Parameters: "C:\Program
Files\Valve\Steam\SteamApps\chaosbydesign\sourcesdk_content\hl2\mapsrc\isle.bsp"
"c:\program files\valve\steam\steamapps\chaosbydesign\half-life
2\hl2\maps\isle.bsp"

If anyone wants to try to replicate the problem, e-mail me and I'll send you my map. Thanks.
Re: Game crashes on map load Posted by omegaslayer on Thu Jan 6th 2005 at 7:39pm
omegaslayer
2481 posts
Posted 2005-01-06 7:39pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Once again is there any message? Try loading an older version of the
map, or if all else fails, do what I do, edit---->>select all /
edit----->>>copy / file---->>>new /
edit----->>>>paste and rename a new map, it worked for me
when I got that lame memory crash problem.
Re: Game crashes on map load Posted by coldbladed on Fri Jan 7th 2005 at 7:33pm
coldbladed
62 posts
Posted 2005-01-07 7:33pm
62 posts 6 snarkmarks Registered: Nov 11th 2004
Well I do have older versions and yes they do work, there was never any
question that it was something crazy with my map. However, I've gone
back and forth looking for things that I've added/changed and I've
tried deleting different things and only compiling certain sections but
to no avail. So its not so much that I'm not offering my half, its just
that my half is really quite vague. I just hoped that since it was such
a different error, according to my experience, that the problem its
self would point to the solution. :sad:
Re: Game crashes on map load Posted by coldbladed on Fri Jan 7th 2005 at 10:53pm
coldbladed
62 posts
Posted 2005-01-07 10:53pm
62 posts 6 snarkmarks Registered: Nov 11th 2004
Well I found out the answer to my problem.

It seems there was a prop_static that somehow got changed to a prop_vehicle

The rest kind of makes sense.