buildcubemaps
Oct 16, 2010 23:53:16 GMT
Post by hugo on Oct 16, 2010 23:53:16 GMT
Having problems with "buildcubemaps" on the 2009 engine with
hl2mp, worked great on the 2006 engine.so i set up a test map.brick knee wall, sky box above the knee wall 592 units high and map is 1824x1616, room in middle with (1) light in it and light_env set at default,no props.2 env_cubemaps. save and compile, normal no HDR, run map looks fine, type sv_cheats 1. type buildcubemaps it snaps 6 photos like normal then crashes
to desktop with a error or "LoadBSPFile:odd size for lump 56
These errors were in console:
Error reading in file "materials/maps/testmap7/c34_-160_88.vtf"
Error reading in file "materials/maps/testmap7/cubemapdefault.vtf"
default error texture maps/testmap7/cubemapdefault
Error reading in file "materials/maps/testmap7/c-448_-138_88.vtf"
default error texture maps/testmap7/cubemapdefault
Here is log:
materialPath: c:\program files\steam\steamapps\youbetterrun\half-life 2 deathmatch\hl2mp\materials
Loading C:\Documents and Settings\Tom\Desktop\new maps\testmap7.vmf
Could not locate 'GameData' key in c:\program files\steam\steamapps\youbetterrun\half-life 2 deathmatch\hl2mp\gameinfo.txt
fixing up env_cubemap materials on brush sides...
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Documents and Settings\Tom\Desktop\new maps\testmap7.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) (6292 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 11 texinfos to 7
Reduced 3 texdatas to 3 (59 bytes to 59)
Writing C:\Documents and Settings\Tom\Desktop\new maps\testmap7.bsp
0 seconds elapsed
2 threads
reading c:\documents and settings\tom\desktop\new maps\testmap7.bsp
reading c:\documents and settings\tom\desktop\new maps\testmap7.prt
40 portalclusters
106 numportals
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Optimized: 0 visible clusters (0.00%)
Total clusters visible: 1308
Average clusters visible: 32
Building PAS...
Average clusters audible: 40
visdatasize:726 compressed from 640
writing c:\documents and settings\tom\desktop\new maps\testmap7.bsp
0 seconds elapsed
[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']
Loading c:\documents and settings\tom\desktop\new maps\testmap7.bsp
149 faces
80352 square feet [11570688.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
149 patches before subdivision
4241 patches after subdivision
3 direct lights
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10transfers 209213, max 268
transfer lists: 1.6 megs
0...1...2...3...4...5...6...7...8...9...10 Bounce #1 added RGB(2835, 2020, 1489)
0...1...2...3...4...5...6...7...8...9...10 Bounce #2 added RGB(335, 174, 96)
0...1...2...3...4...5...6...7...8...9...10 Bounce #3 added RGB(47, 18, 7)
0...1...2...3...4...5...6...7...8...9...10 Bounce #4 added RGB(7, 2, 1)
0...1...2...3...4...5...6...7...8...9...10 Bounce #5 added RGB(1, 0, 0)
0...1...2...3...4...5...6...7...8...9...10 Bounce #6 added RGB(0, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0033 sec>
0...1...2...3...4...5...6...7...8...9...10FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
0...1...2...3...4...5...6...7...8...9...10Writing leaf ambient...done
Ready to Finish
Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 1/1024 48/49152 ( 0.1%)
brushes 17/8192 204/98304 ( 0.2%)
brushsides 102/65536 816/524288 ( 0.2%)
planes 88/65536 1760/1310720 ( 0.1%)
vertexes 227/65536 2724/786432 ( 0.3%)
nodes 99/65536 3168/2097152 ( 0.2%)
texinfos 7/12288 504/884736 ( 0.1%)
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 149/65536 8344/3670016 ( 0.2%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 40/65536 2240/3670016 ( 0.1%)
leaves 101/65536 3232/2097152 ( 0.2%)
leaffaces 173/65536 346/131072 ( 0.3%)
leafbrushes 56/65536 112/131072 ( 0.1%)
areas 2/256 16/2048 ( 0.8%)
surfedges 850/512000 3400/2048000 ( 0.2%)
edges 472/256000 1888/1024000 ( 0.2%)
LDR worldlights 3/8192 264/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 162/65536 324/131072 ( 0.2%)
cubemapsamples 2/1024 32/16384 ( 0.2%)
overlays 0/512 0/180224 ( 0.0%)
LDR lightdata [variable] 93344/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 726/16777216 ( 0.0%)
entdata [variable] 736/393216 ( 0.2%)
LDR ambient table 101/65536 404/262144 ( 0.2%)
HDR ambient table 101/65536 404/262144 ( 0.2%)
LDR leaf ambient 527/65536 14756/1835008 ( 0.8%)
HDR leaf ambient 101/65536 2828/1835008 ( 0.2%)
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] 316865/0 ( 0.0%)
physics [variable] 6292/4194304 ( 0.2%)
physics terrain [variable] 2/1048576 ( 0.0%)
Level flags = 0
Total triangle count: 392
Writing c:\documents and settings\tom\desktop\new maps\testmap7.bsp
6 seconds elapsed
Any ideas? the could not locate "game data" in log looks fishy
if its missing it where can i find it
Thanks
hl2mp, worked great on the 2006 engine.so i set up a test map.brick knee wall, sky box above the knee wall 592 units high and map is 1824x1616, room in middle with (1) light in it and light_env set at default,no props.2 env_cubemaps. save and compile, normal no HDR, run map looks fine, type sv_cheats 1. type buildcubemaps it snaps 6 photos like normal then crashes
to desktop with a error or "LoadBSPFile:odd size for lump 56
These errors were in console:
Error reading in file "materials/maps/testmap7/c34_-160_88.vtf"
Error reading in file "materials/maps/testmap7/cubemapdefault.vtf"
default error texture maps/testmap7/cubemapdefault
Error reading in file "materials/maps/testmap7/c-448_-138_88.vtf"
default error texture maps/testmap7/cubemapdefault
Here is log:
materialPath: c:\program files\steam\steamapps\youbetterrun\half-life 2 deathmatch\hl2mp\materials
Loading C:\Documents and Settings\Tom\Desktop\new maps\testmap7.vmf
Could not locate 'GameData' key in c:\program files\steam\steamapps\youbetterrun\half-life 2 deathmatch\hl2mp\gameinfo.txt
fixing up env_cubemap materials on brush sides...
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Documents and Settings\Tom\Desktop\new maps\testmap7.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) (6292 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 11 texinfos to 7
Reduced 3 texdatas to 3 (59 bytes to 59)
Writing C:\Documents and Settings\Tom\Desktop\new maps\testmap7.bsp
0 seconds elapsed
2 threads
reading c:\documents and settings\tom\desktop\new maps\testmap7.bsp
reading c:\documents and settings\tom\desktop\new maps\testmap7.prt
40 portalclusters
106 numportals
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10Optimized: 0 visible clusters (0.00%)
Total clusters visible: 1308
Average clusters visible: 32
Building PAS...
Average clusters audible: 40
visdatasize:726 compressed from 640
writing c:\documents and settings\tom\desktop\new maps\testmap7.bsp
0 seconds elapsed
[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']
Loading c:\documents and settings\tom\desktop\new maps\testmap7.bsp
149 faces
80352 square feet [11570688.00 square inches]
0 Displacements
0 Square Feet [0.00 Square Inches]
149 patches before subdivision
4241 patches after subdivision
3 direct lights
0...1...2...3...4...5...6...7...8...9...100...1...2...3...4...5...6...7...8...9...10transfers 209213, max 268
transfer lists: 1.6 megs
0...1...2...3...4...5...6...7...8...9...10 Bounce #1 added RGB(2835, 2020, 1489)
0...1...2...3...4...5...6...7...8...9...10 Bounce #2 added RGB(335, 174, 96)
0...1...2...3...4...5...6...7...8...9...10 Bounce #3 added RGB(47, 18, 7)
0...1...2...3...4...5...6...7...8...9...10 Bounce #4 added RGB(7, 2, 1)
0...1...2...3...4...5...6...7...8...9...10 Bounce #5 added RGB(1, 0, 0)
0...1...2...3...4...5...6...7...8...9...10 Bounce #6 added RGB(0, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0033 sec>
0...1...2...3...4...5...6...7...8...9...10FinalLightFace Done
0 of 0 (0% of) surface lights went in leaf ambient cubes.
0...1...2...3...4...5...6...7...8...9...10Writing leaf ambient...done
Ready to Finish
Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 1/1024 48/49152 ( 0.1%)
brushes 17/8192 204/98304 ( 0.2%)
brushsides 102/65536 816/524288 ( 0.2%)
planes 88/65536 1760/1310720 ( 0.1%)
vertexes 227/65536 2724/786432 ( 0.3%)
nodes 99/65536 3168/2097152 ( 0.2%)
texinfos 7/12288 504/884736 ( 0.1%)
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 149/65536 8344/3670016 ( 0.2%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 40/65536 2240/3670016 ( 0.1%)
leaves 101/65536 3232/2097152 ( 0.2%)
leaffaces 173/65536 346/131072 ( 0.3%)
leafbrushes 56/65536 112/131072 ( 0.1%)
areas 2/256 16/2048 ( 0.8%)
surfedges 850/512000 3400/2048000 ( 0.2%)
edges 472/256000 1888/1024000 ( 0.2%)
LDR worldlights 3/8192 264/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 162/65536 324/131072 ( 0.2%)
cubemapsamples 2/1024 32/16384 ( 0.2%)
overlays 0/512 0/180224 ( 0.0%)
LDR lightdata [variable] 93344/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 726/16777216 ( 0.0%)
entdata [variable] 736/393216 ( 0.2%)
LDR ambient table 101/65536 404/262144 ( 0.2%)
HDR ambient table 101/65536 404/262144 ( 0.2%)
LDR leaf ambient 527/65536 14756/1835008 ( 0.8%)
HDR leaf ambient 101/65536 2828/1835008 ( 0.2%)
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] 316865/0 ( 0.0%)
physics [variable] 6292/4194304 ( 0.2%)
physics terrain [variable] 2/1048576 ( 0.0%)
Level flags = 0
Total triangle count: 392
Writing c:\documents and settings\tom\desktop\new maps\testmap7.bsp
6 seconds elapsed
Any ideas? the could not locate "game data" in log looks fishy
if its missing it where can i find it
Thanks