Rat 4 Dec, 2012 @ 3:30am
Hammer not loading maps when testing
Hello, I have recently been trying to makea map with the Hammer tool from the SDK and when I last tried to test the map instead of loading up the map itself the SDK took me back to the half-life menu and refused to load the map not giving me any sort of error code or anything.

I made a test map to make sure that I hadn't made a error with the sky box or something and the same thing happened this is what the compile window says:


** Executing...
** Command: "c:\program files (x86)\steam\steamapps\minimanmaxi\sourcesdk\bin\source2009\bin\vbsp.exe"
** Parameters: -game "c:\program files (x86)\steam\steamapps\minimanmaxi\half-life 2\hl2" "C:\Program Files (x86)\Steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test.vmf"

Valve Software - vbsp.exe (Sep 15 2011)
4 threads
materialPath: c:\program files (x86)\steam\steamapps\minimanmaxi\half-life 2\hl2\materials
Loading C:\Program Files (x86)\Steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test.vmf
Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\minimanmaxi\half-life 2\hl2\gameinfo.txt
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 (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Program Files (x86)\Steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test.prt...Building visibility clusters...
done (0)
Creating default LDR cubemaps for env_cubemap using skybox materials:
skybox/sky_day01_01*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
skybox/sky_day01_01*.vmt
! 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) (2282 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 3 texinfos to 3
Reduced 1 texdatas to 1 (22 bytes to 22)
Writing C:\Program Files (x86)\Steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test.bsp
0 seconds elapsed

** Executing...
** Command: "c:\program files (x86)\steam\steamapps\minimanmaxi\sourcesdk\bin\source2009\bin\vvis.exe"
** Parameters: -game "c:\program files (x86)\steam\steamapps\minimanmaxi\half-life 2\hl2" "C:\Program Files (x86)\Steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test"

Valve Software - vvis.exe (Sep 15 2011)
4 threads
reading c:\program files (x86)\steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test.bsp
reading c:\program files (x86)\steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test.prt
4 portalclusters
4 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: 16
Average clusters visible: 4
Building PAS...
Average clusters audible: 4
visdatasize:44 compressed from 64
writing c:\program files (x86)\steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test.bsp
0 seconds elapsed

** Executing...
** Command: "c:\program files (x86)\steam\steamapps\minimanmaxi\sourcesdk\bin\source2009\bin\vrad.exe"
** Parameters: -game "c:\program files (x86)\steam\steamapps\minimanmaxi\half-life 2\hl2" "C:\Program Files (x86)\Steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test"

Valve Software - vrad.exe SSE (Sep 15 2011)

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

Loading c:\program files (x86)\steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test.bsp
Setting up ray-trace acceleration structure... Done (0.00 seconds)
64 faces
96483 square feet [13893632.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
64 patches before subdivision
8128 patches after subdivision
0 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (0)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (0)
transfers 942031, max 269
transfer lists: 7.2 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (1)
Bounce #1 added RGB(0, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0032 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (0)
FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (0)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 1/1024 48/49152 ( 0.1%)
brushes 6/8192 72/98304 ( 0.1%)
brushsides 36/65536 288/524288 ( 0.1%)
planes 38/65536 760/1310720 ( 0.1%)
vertexes 99/65536 1188/786432 ( 0.2%)
nodes 25/65536 800/2097152 ( 0.0%)
texinfos 3/12288 216/884736 ( 0.0%)
texdata 1/2048 32/65536 ( 0.0%)
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 64/65536 3584/3670016 ( 0.1%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 6/65536 336/3670016 ( 0.0%)
leaves 27/65536 864/2097152 ( 0.0%)
leaffaces 64/65536 128/131072 ( 0.1%)
leafbrushes 16/65536 32/131072 ( 0.0%)
areas 2/256 16/2048 ( 0.8%)
surfedges 296/512000 1184/2048000 ( 0.1%)
edges 161/256000 644/1024000 ( 0.1%)
LDR worldlights 0/8192 0/720896 ( 0.0%)
HDR worldlights 0/8192 0/720896 ( 0.0%)
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 0/1024 0/16384 ( 0.0%)
overlays 0/512 0/180224 ( 0.0%)
LDR lightdata [variable] 235400/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 44/16777216 ( 0.0%)
entdata [variable] 334/393216 ( 0.1%)
LDR ambient table 27/65536 108/262144 ( 0.0%)
HDR ambient table 27/65536 108/262144 ( 0.0%)
LDR leaf ambient 4/65536 112/1835008 ( 0.0%)
HDR leaf ambient 27/65536 756/1835008 ( 0.0%)
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] 105679/0 ( 0.0%)
physics [variable] 2282/4194304 ( 0.1%)
physics terrain [variable] 2/1048576 ( 0.0%)

Level flags = 0

Total triangle count: 144
Writing c:\program files (x86)\steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test.bsp
1 second elapsed

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files (x86)\Steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test.bsp" "c:\program files (x86)\steam\steamapps\minimanmaxi\half-life 2\hl2\maps\Loading test.bsp"


** Executing...
** Command: c:\program files (x86)\steam\steam.exe
** Parameters: -applaunch 220 -game "c:\program files (x86)\steam\steamapps\minimanmaxi\half-life 2\hl2" +map "Loading test"
< >
Showing 1-3 of 3 comments
please post into the proper forum there is a hammer forum for level creation. so next time don't forget that.

ok now about your compile log :

first: do not use space into your map name.
second : the map look like the compile is ok, but a problem with the game config

look that partr of your log

Originally posted by fuzZz:
Loading C:\Program Files (x86)\Steam\steamapps\minimanmaxi\sourcesdk_content\hl2\mapsrc\Loading test.vmf
Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\minimanmaxi\half-life 2\hl2\gameinfo.txt

Sourcesdk_content is not considered as a mod, as there is no Gameinfo.txt file.
so you have to create a new mod, or use the config of one exitant game or mod
you have to launch the sdklauncher with the right mod selected in the file dialog at the bottom.
also your map must be into /steamapps/Sourcemods/your_mod_folder/mapsrc/ for your vmf files, and must be compiled into the BSP format file into ./Sourcemods/your_mod_folder/maps/

//red
Last edited by ☠F☺celessMind☠; 4 Dec, 2012 @ 7:42am
Rat 4 Dec, 2012 @ 7:59am 
Sorry I put this topic in the wrong place, I didn't see the other page.
Thanks very much for the help this appears to have worked.
great :)
< >
Showing 1-3 of 3 comments
Per page: 1530 50