Source SDK

Source SDK

Nick_NT Jul 8, 2014 @ 5:24pm
Failed to run the created map... [SOLVED]
I created a CS:S map using Hammer from the bin folder then save as, then compile, then run game, then FAIL! H .E .L .P .


CModelLoader::Map_IsValid: No such map 'maps/mycss.bsp'
map load failed: mycss not found or invalid
Last edited by Nick_NT; Jul 21, 2014 @ 11:21am
< >
Showing 1-11 of 11 comments
violently Jul 8, 2014 @ 9:47pm 
it didn't compile, or it failed to copy the map to the proper location. check the compile output window for errors.
Post the whole log file, surely there's some error.
Nick_NT Jul 9, 2014 @ 8:45am 
Compile log:

** Executing...
** Command: "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\bin\vbsp.exe"
** Parameters: -game "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike" "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike\maps\MyCSS map.vmf"

Valve Software - vbsp.exe (May 15 2014)
2 threads
materialPath: C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike\materials
Loading C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike\maps\MyCSS map.vmf
Could not locate 'GameData' key in c:\program files\steam\steamapps\common\counter-strike source\cstrike\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\Steam\SteamApps\common\Counter-Strike Source\cstrike\maps\MyCSS map.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) (2694 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 6 texinfos to 2
Reduced 2 texdatas to 2 (45 bytes to 45)
Writing C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike\maps\MyCSS map.bsp
1 second elapsed

** Executing...
** Command: "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\bin\vvis.exe"
** Parameters: -game "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike" "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike\maps\MyCSS map"

Valve Software - vvis.exe (May 15 2014)
2 threads
reading c:\program files\steam\steamapps\common\counter-strike source\cstrike\maps\MyCSS map.bsp
reading c:\program files\steam\steamapps\common\counter-strike source\cstrike\maps\MyCSS map.prt
128 portalclusters
224 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: 8192
Average clusters visible: 64
Building PAS...
Average clusters audible: 64
visdatasize:5124 compressed from 4096
writing c:\program files\steam\steamapps\common\counter-strike source\cstrike\maps\MyCSS map.bsp
0 seconds elapsed

** Executing...
** Command: "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\bin\vrad.exe"
** Parameters: -game "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike" "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike\maps\MyCSS map"

Valve Software - vrad.exe SSE (May 14 2014)

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

Loading c:\program files\steam\steamapps\common\counter-strike source\cstrike\maps\MyCSS map.bsp
Setting up ray-trace acceleration structure... Done (0.03 seconds)
992 faces
2242588 square feet [322932736.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
992 patches before subdivision
71216 patches after subdivision
0 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (1)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (5)
transfers 95073, max 682
transfer lists: 0.7 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #1 added RGB(0, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.1968 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (6)
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 (6)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 1/1024 48/49152 ( 0.1%)
brushes 7/8192 84/98304 ( 0.1%)
brushsides 42/65536 336/524288 ( 0.1%)
planes 68/65536 1360/1310720 ( 0.1%)
vertexes 1061/65536 12732/786432 ( 1.6%)
nodes 379/65536 12128/2097152 ( 0.6%)
texinfos 2/12288 144/884736 ( 0.0%)
texdata 2/2048 64/65536 ( 0.1%)
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 992/65536 55552/3670016 ( 1.5%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 8/65536 448/3670016 ( 0.0%)
leaves 381/65536 12192/2097152 ( 0.6%)
leaffaces 992/65536 1984/131072 ( 1.5%)
leafbrushes 224/65536 448/131072 ( 0.3%)
areas 3/256 24/2048 ( 1.2%)
surfedges 4096/512000 16384/2048000 ( 0.8%)
edges 2065/256000 8260/1024000 ( 0.8%)
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] 7192832/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 5124/16777216 ( 0.0%)
entdata [variable] 7160/393216 ( 1.8%)
LDR ambient table 381/65536 1524/262144 ( 0.6%)
HDR ambient table 381/65536 1524/262144 ( 0.6%)
LDR leaf ambient 128/65536 3584/1835008 ( 0.2%)
HDR leaf ambient 381/65536 10668/1835008 ( 0.6%)
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] 105667/0 ( 0.0%)
physics [variable] 2694/4194304 ( 0.1%)
physics terrain [variable] 2/1048576 ( 0.0%)

Level flags = 0

Total triangle count: 2080
Writing c:\program files\steam\steamapps\common\counter-strike source\cstrike\maps\MyCSS map.bsp
18 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike\maps\MyCSS map.bsp" "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike\maps\MyCSS map.bsp"
Nick_NT Jul 9, 2014 @ 9:21am 
Another compile log (new map):



** Executing...
** Command: "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\bin\vbsp.exe"
** Parameters: -game "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike" "C:\Program Files\Steam\SteamApps\common\sourcesdk_content\cstrike\mapsrc\CSS arena.vmf"

Valve Software - vbsp.exe (May 15 2014)
2 threads
materialPath: C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike\materials
Loading C:\Program Files\Steam\SteamApps\common\sourcesdk_content\cstrike\mapsrc\CSS arena.vmf
Could not locate 'GameData' key in c:\program files\steam\steamapps\common\counter-strike source\cstrike\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\Steam\SteamApps\common\sourcesdk_content\cstrike\mapsrc\CSS arena.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) (4068 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 9 texinfos to 5
Reduced 3 texdatas to 3 (59 bytes to 59)
Writing C:\Program Files\Steam\SteamApps\common\sourcesdk_content\cstrike\mapsrc\CSS arena.bsp
0 seconds elapsed

** Executing...
** Command: "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\bin\vvis.exe"
** Parameters: -game "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike" "C:\Program Files\Steam\SteamApps\common\sourcesdk_content\cstrike\mapsrc\CSS arena"

Valve Software - vvis.exe (May 15 2014)
2 threads
reading c:\program files\steam\steamapps\common\sourcesdk_content\cstrike\mapsrc\CSS arena.bsp
reading c:\program files\steam\steamapps\common\sourcesdk_content\cstrike\mapsrc\CSS arena.prt
69 portalclusters
148 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: 4561
Average clusters visible: 66
Building PAS...
Average clusters audible: 69
visdatasize:1798 compressed from 2208
writing c:\program files\steam\steamapps\common\sourcesdk_content\cstrike\mapsrc\CSS arena.bsp
0 seconds elapsed

** Executing...
** Command: "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\bin\vrad.exe"
** Parameters: -game "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike" "C:\Program Files\Steam\SteamApps\common\sourcesdk_content\cstrike\mapsrc\CSS arena"

Valve Software - vrad.exe SSE (May 14 2014)

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

Loading c:\program files\steam\steamapps\common\sourcesdk_content\cstrike\mapsrc\CSS arena.bsp
Setting up ray-trace acceleration structure... Done (0.02 seconds)
396 faces
1296714 square feet [186726864.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
396 patches before subdivision
23928 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 (3)
transfers 1204853, max 305
transfer lists: 9.2 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #1 added RGB(0, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0496 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (2)
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 (3)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 1/1024 48/49152 ( 0.1%)
brushes 11/8192 132/98304 ( 0.1%)
brushsides 66/65536 528/524288 ( 0.1%)
planes 74/65536 1480/1310720 ( 0.1%)
vertexes 490/65536 5880/786432 ( 0.7%)
nodes 243/65536 7776/2097152 ( 0.4%)
texinfos 5/12288 360/884736 ( 0.0%)
texdata 3/2048 96/65536 ( 0.1%)
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 396/65536 22176/3670016 ( 0.6%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 23/65536 1288/3670016 ( 0.0%)
leaves 245/65536 7840/2097152 ( 0.4%)
leaffaces 426/65536 852/131072 ( 0.7%)
leafbrushes 151/65536 302/131072 ( 0.2%)
areas 2/256 16/2048 ( 0.8%)
surfedges 1802/512000 7208/2048000 ( 0.4%)
edges 928/256000 3712/1024000 ( 0.4%)
LDR worldlights 0/8192 0/720896 ( 0.0%)
HDR worldlights 0/8192 0/720896 ( 0.0%)
leafwaterdata 0/32768 0/393216 ( 0.0%)
waterstrips 12/32768 120/327680 ( 0.0%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 144/65536 288/131072 ( 0.2%)
cubemapsamples 0/1024 0/16384 ( 0.0%)
overlays 0/512 0/180224 ( 0.0%)
LDR lightdata [variable] 674936/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 1798/16777216 ( 0.0%)
entdata [variable] 556/393216 ( 0.1%)
LDR ambient table 245/65536 980/262144 ( 0.4%)
HDR ambient table 245/65536 980/262144 ( 0.4%)
LDR leaf ambient 69/65536 1932/1835008 ( 0.1%)
HDR leaf ambient 245/65536 6860/1835008 ( 0.4%)
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] 105667/0 ( 0.0%)
physics [variable] 4068/4194304 ( 0.1%)
physics terrain [variable] 2/1048576 ( 0.0%)

Level flags = 0

Total triangle count: 918
Writing c:\program files\steam\steamapps\common\sourcesdk_content\cstrike\mapsrc\CSS arena.bsp
8 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files\Steam\SteamApps\common\sourcesdk_content\cstrike\mapsrc\CSS arena.bsp" "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike\maps\CSS arena.bsp"
Nick_NT Jul 9, 2014 @ 9:42am 
I'm guessing it's this problem:

Could not locate 'GameData' key in c:\program files\steam\steamapps\common\counter-strike source\cstrike\gameinfo.txt
I don't think so, I also have that message but my maps are all working...
I don't see any problem in your logs, only (in the first one) the original folder is the same as the destination folder, did you save your vmf in "maps" folder?

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike\maps\MyCSS map.bsp" "C:\Program Files\Steam\SteamApps\common\Counter-Strike Source\cstrike\maps\MyCSS map.bsp"
#
Another issue, sorry but I noticed it only now, is the space in the name file, that is not allowed. You must rename it MyCss_map. Probably this is the real problem! ;)
Wazanator Jul 9, 2014 @ 5:03pm 
Yes most likely it's the space.
Jayrrod Jul 21, 2014 @ 11:12am 
This happened to me a few times. It could be a problem with the room. If there is a gap between walls that lets in the open space, it won't be able to run the map.
Nick_NT Jul 21, 2014 @ 11:20am 
Guys, it's solved and thanks to AlcyToronto and Wazanator for helping me!
DumpoJerome Sep 12, 2022 @ 9:14pm 
8 years later. Had this same issue. Didn't even realize my map name had a space in it. I had been trying to fix this for several days.
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Jul 8, 2014 @ 5:24pm
Posts: 11