I'm trying to make maps for Hidden 4b. Everything seems to work fine up until I want to get rid of the purple gloss on everything because of the no cubemaps. Entering buildcubemaps in the console causes a CTD with the error "LoadBSPFile: odd size for lump 56". How can I fix this?
Here's the compile log for one map that's having the issue:
[CODE]** Executing...
** Command: "c:\steam\steamapps\common\Source SDK Base 2013 Multiplayer\bin\vbsp.exe"
** Parameters: -game "c:\steam\steamapps\common\Source SDK Base 2013 Multiplayer\customConfig" "C:\Users\Sophie\Desktop\Art\Mapping\Hidden\hdn_wipb1.vmf"
Valve Software - vbsp.exe (Jul 29 2013)
4 threads
materialPath: c:\steam\steamapps\common\Source SDK Base 2013 Multiplayer\customConfig\materials
Loading C:\Users\Sophie\Desktop\Art\Mapping\Hidden\hdn_wipb1.vmf
Can't find surfaceprop concrete for material CONCRETE/CONCRETEWALL004B, using default
Can't find surfaceprop concrete for material CONCRETE/CONCRETEFLOOR039B, using default
Can't find surfaceprop concrete for material DEV/DEV_MEASUREGENERIC01B, using default
Can't find surfaceprop brick for material BRICK/BRICKWALL014L, using default
Can't find surfaceprop concrete for material DEV/DEV_MEASUREWALL01A, using default
Can't find surfaceprop concrete for material CONCRETE/CONCRETEFLOOR028A, using default
Can't find surfaceprop concrete for material STONE/STONEFLOOR006A, using default
Can't find surfaceprop metal for material METAL/METALWALL005B, using default
Can't find surfaceprop metal for material METAL/METALPIPE001A, using default
Can't find surfaceprop brick for material BRICK/BRICKWALL021A, using default
Can't find surfaceprop metal for material METAL/METALDOOR032B, using default
Can't find surfaceprop concrete for material STONE/STONEWALL033F, using default
Can't find surfaceprop concrete for material CONCRETE/CONCRETEFLOOR011A_C17, using default
Can't find surfaceprop concrete for material CONCRETE/CONCRETEFLOOR023A, using default
Can't find surfaceprop default_silent for material TOOLS/TOOLSSKYBOX, using default
Can't find surfaceprop concrete for material CONCRETE/CONCRETEFLOOR002A, using default
Can't find surfaceprop wood for material WOOD/WOODFLOOR008A, using default
ConVarRef mat_reduceparticles doesn't point to an existing ConVar
Can't find surfaceprop glass for material LIGHTS/WHITE001, using default
Can't find surfaceprop metal for material DEV/DEV_LOWERWALLMETAL01A, using default
Can't find surfaceprop concrete for material CONCRETE/CONCRETEFLOOR014A, using default
Can't find surfaceprop concrete for material CONCRETE/CONCRETEFLOOR016A, using default
Can't find surfaceprop concrete for material STONE/STONEWALL017B, using default
Can't find surfaceprop concrete for material CONCRETE/CONCRETEWALL007A, using default
Can't find surfaceprop wood for material WOOD/WOODWALL006A, using default
Can't find surfaceprop dirt for material NATURE/DIRTFLOOR013A, using default
Can't find surfaceprop glass for material GLASS/GLASSWINDOW001B, using default
Can't find surfaceprop water for material NATURE/WATER_CANALS03, using default
Can't find surfaceprop metal for material METAL/METALFLOOR008A, using default
Can't find surfaceprop metal for material METAL/METALHULL003A, using default
Can't find surfaceprop concrete for material CONCRETE/CONCRETEWALL036A, using default
Can't find surfaceprop concrete for material CONCRETE/CONCRETEWALL037A, using default
Can't find surfaceprop metal for material METAL/METALHULL010B, using default
Can't find surfaceprop metal for material METAL/METALSHUTTERS001A, using default
Can't find surfaceprop concrete for material CONCRETE/CONCRETEWALL008C, using default
Can't find surfaceprop dirt for material NATURE/BLENDDIRTGRASS001B, using default
Can't find surfaceprop brick for material BRICK/BRICKWALL003A, using default
Can't find surfaceprop metalgrate for material METAL/METALGRATE013A, using default
Could not locate 'GameData' key in c:\steam\steamapps\common\source sdk base 2013 multiplayer\customconfig\gameinfo.txt
Patching WVT material: maps/hdn_wipb1/nature/blenddirtgrass001b_wvt_patch
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...Can't find surfaceprop water for material nature/water_canals03_beneath, using default
done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 48 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
Can't find surfaceprop water for material maps/hdn_wipb1/maps/hdn_wipb1/nature/water_canals03_192_0_-64_depth_6, using default
done (0)
writing C:\Users\Sophie\Desktop\Art\Mapping\Hidden\hdn_wipb1.prt...Building visibility clusters...
done (0)
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 (1) (290279 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 722 texinfos to 566
Reduced 56 texdatas to 46 (1763 bytes to 1475)
Writing C:\Users\Sophie\Desktop\Art\Mapping\Hidden\hdn_wipb1.bsp
2 seconds elapsed
** Executing...
** Command: "c:\steam\steamapps\common\Source SDK Base 2013 Multiplayer\bin\vvis.exe"
** Parameters: -game "c:\steam\steamapps\common\Source SDK Base 2013 Multiplayer\customConfig" "C:\Users\Sophie\Desktop\Art\Mapping\Hidden\hdn_wipb1"
Valve Software - vvis.exe (May 14 2014)
4 threads
reading c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1.bsp
reading c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1.prt
134 portalclusters
400 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: 30 visible clusters (0.21%)
Total clusters visible: 14100
Average clusters visible: 105
Building PAS...
Average clusters audible: 134
visdatasize:5634 compressed from 6432
writing c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1.bsp
0 seconds elapsed
** Executing...
** Command: "c:\steam\steamapps\common\Source SDK Base 2013 Multiplayer\bin\vrad.exe"
** Parameters: -game "c:\steam\steamapps\common\Source SDK Base 2013 Multiplayer\customConfig" "C:\Users\Sophie\Desktop\Art\Mapping\Hidden\hdn_wipb1"
Valve Software - vrad.exe SSE (May 14 2014)
Valve Radiosity Simulator
4 threads
[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']
Loading c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1.bsp
Setting up ray-trace acceleration structure... Done (0.27 seconds)
2952 faces
198241 square feet [28546836.00 square inches]
1 Displacements
1038 Square Feet [149480.22 Square Inches]
2952 patches before subdivision
22174 patches after subdivision
sun extent from map=0.529919
36 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (12)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (6)
transfers 2483603, max 453
transfer lists: 18.9 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #1 added RGB(106364, 86746, 56479)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #2 added RGB(16350, 12543, 7453)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #3 added RGB(2881, 2109, 1151)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #4 added RGB(532, 375, 188)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #5 added RGB(103, 70, 32)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #6 added RGB(20, 13, 6)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #7 added RGB(4, 3, 1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #8 added RGB(1, 1, 0)
Build Patch/Sample Hash Table(s).....Done<0.0135 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (12)
FinalLightFace Done
0 of 32 (0% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (11)
Writing leaf ambient...done
Ready to Finish
Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 293/1024 14064/49152 (28.6%)
brushes 614/8192 7368/98304 ( 7.5%)
brushsides 4112/65536 32896/524288 ( 6.3%)
planes 1106/65536 22120/1310720 ( 1.7%)
vertexes 4236/65536 50832/786432 ( 6.5%)
nodes 2310/65536 73920/2097152 ( 3.5%)
texinfos 566/12288 40752/884736 ( 4.6%)
texdata 46/2048 1472/65536 ( 2.2%)
dispinfos 1/0 176/0 ( 0.0%)
disp_verts 81/0 1620/0 ( 0.0%)
disp_tris 128/0 256/0 ( 0.0%)
disp_lmsamples 2704/0 2704/0 ( 0.0%)
faces 2952/65536 165312/3670016 ( 4.5%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 2749/65536 153944/3670016 ( 4.2%)
leaves 2604/65536 83328/2097152 ( 4.0%)
leaffaces 3223/65536 6446/131072 ( 4.9%)
leafbrushes 843/65536 1686/131072 ( 1.3%)
areas 2/256 16/2048 ( 0.8%)
surfedges 24085/512000 96340/2048000 ( 4.7%)
edges 13220/256000 52880/1024000 ( 5.2%)
LDR worldlights 36/8192 3168/720896 ( 0.4%)
HDR worldlights 0/8192 0/720896 ( 0.0%)
leafwaterdata 1/32768 12/393216 ( 0.0%)
waterstrips 144/32768 1440/327680 ( 0.4%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 2991/65536 5982/131072 ( 4.6%)
cubemapsamples 3/1024 48/16384 ( 0.3%)
overlays 0/512 0/180224 ( 0.0%)
LDR lightdata [variable] 863864/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 5634/16777216 ( 0.0%)
entdata [variable] 172137/393216 (43.8%)
LDR ambient table 2604/65536 10416/262144 ( 4.0%)
HDR ambient table 2604/65536 10416/262144 ( 4.0%)
LDR leaf ambient 14132/65536 395696/1835008 (21.6%)
HDR leaf ambient 2604/65536 72912/1835008 ( 4.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] 5984/0 ( 0.0%)
physics [variable] 290279/4194304 ( 6.9%)
physics terrain [variable] 321/1048576 ( 0.0%)
Level flags = 0
Total triangle count: 7190
Writing c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1.bsp
41 seconds elapsed
** Executing...
** Command: Copy File
** Parameters: "C:\Users\Sophie\Desktop\Art\Mapping\Hidden\hdn_wipb1.bsp" "C:\Steam\SteamApps\sourcemods\hidden\maps\hdn_wipb1.bsp"
[/CODE]
perhaps it has to do with the fact that you compiled with sourse 2013 instead of 2006? I think the lump files are slightly different between those engine branches.
[editline]19th August 2014[/editline]
Try setting your compile tools to
C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\ep1\bin
-snip-
[editline]19th August 2014[/editline]
Configure the Source SDK to use the mod, also add these to the searchpaths in the gameinfo.txt of the mod:
[CODE] game |all_source_engine_paths|hl2/hl2_textures.vpk
game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
game |all_source_engine_paths|hl2/hl2_misc.vpk[/CODE]
Then hammer should work, it did for my personal 2006-base mod.
HellFire: How do I configure the SDK to use it? I've beeing using Source Multi-Tool to run with the correct configuration, the pipeline updated seemed to have rendered the regular SDK useless. Also, those searchpaths are already in the file.
Firegod: I tried what you suggested with the compile tools but I got a lot of errors I wasn't able to resolve. Here's what the compile log looks like when I set it to use vbsp, vvis, vrad in that directory:
[code]
** Executing...
** Command: "C:\Steam\SteamApps\common\SourceSDK\bin\ep1\bin\vbsp.exe" -novirtualmesh
** Parameters: -game "C:\Steam\SteamApps\common\Source SDK Base 2013 Multiplayer\customConfig" "c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1"
Valve Software - vbsp.exe (Dec 11 2006)
4 threads
materialPath: C:\Steam\SteamApps\common\Source SDK Base 2013 Multiplayer\customConfig\materials
Loading c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1.vmf
material "concrete/concretefloor025a" not found
Material not found!: CONCRETE/CONCRETEFLOOR025A
material "tools/toolsnodraw" not found
Material not found!: TOOLS/TOOLSNODRAW
material "nature/toxicslime002a" not found
Material not found!: NATURE/TOXICSLIME002A
material "tools/toolsskybox" not found
Material not found!: TOOLS/TOOLSSKYBOX
material "nature/blendrockdirt002a" not found
Material not found!: NATURE/BLENDROCKDIRT002A
material "stone/marblefloor001b" not found
Material not found!: STONE/MARBLEFLOOR001B
material "stone/stonewall005a" not found
Material not found!: STONE/STONEWALL005A
material "stone/stonewall006b" not found
Material not found!: STONE/STONEWALL006B
material "tools/toolsplayerclip" not found
Material not found!: TOOLS/TOOLSPLAYERCLIP
material "stone/stonewall002a" not found
Material not found!: STONE/STONEWALL002A
material "concrete/concretefloor015a" not found
Material not found!: CONCRETE/CONCRETEFLOOR015A
material "stone/stonefloor006a" not found
Material not found!: STONE/STONEFLOOR006A
material "stone/stonewall006a" not found
Material not found!: STONE/STONEWALL006A
material "nature/blendrocksgrass005a" not found
Material not found!: NATURE/BLENDROCKSGRASS005A
material "concrete/concreteceiling003a" not found
Material not found!: CONCRETE/CONCRETECEILING003A
material "stone/stonewall021h" not found
Material not found!: STONE/STONEWALL021H
material "tools/toolstrigger" not found
Material not found!: TOOLS/TOOLSTRIGGER
material "dev/dev_lowerwallmetal01a" not found
Material not found!: DEV/DEV_LOWERWALLMETAL01A
material "metal/metaldoor046a" not found
Material not found!: METAL/METALDOOR046A
material "metal/metalfloor005a" not found
Material not found!: METAL/METALFLOOR005A
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)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 36 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1.prt...done (0)
material "skybox/sky_day02_06rt" not found
Can't load skybox file skybox/sky_day02_06 to build the default cubemap!
No such variable "$hdrbasetexture" for material "___error"
Can't load skybox file skybox/sky_day02_06 to build the default cubemap!
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
** Executing...
** Command: "C:\Steam\SteamApps\common\SourceSDK\bin\ep1\bin\vvis.exe"
** Parameters: -game "C:\Steam\SteamApps\common\Source SDK Base 2013 Multiplayer\customConfig" "c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1"
Valve Software - vvis.exe (Nov 8 2007)
4 threads
reading c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1.bsp
LoadBSPFile: odd size for lump 56
** Executing...
** Command: "C:\Steam\SteamApps\common\SourceSDK\bin\ep1\bin\vrad.exe"
** Parameters: -game "C:\Steam\SteamApps\common\Source SDK Base 2013 Multiplayer\customConfig" "c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1"
Valve Software - vrad.exe SSE (Nov 8 2007)
----- Radiosity Simulator ----
4 threads
[Reading texlights from 'lights.rad']
[45 texlights parsed from 'lights.rad']
Loading c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1.bsp
LoadBSPFile: odd size for lump 56
** Executing...
** Command: Copy File
** Parameters: "c:\users\sophie\desktop\art\mapping\hidden\hdn_wipb1.bsp" "C:\Steam\SteamApps\sourcemods\hidden\maps\hdn_wipb1.bsp"
** Executing...
** Command: " "
** Parameters: -dev -console -allowdebug -game "C:\Steam\SteamApps\common\Source SDK Base 2013 Multiplayer\customConfig" +map "hdn_wipb1"
[/code]
Uh.... I just installed the source sdk as usual a while ago. I'm not using Hidden, I'm using my own mod. If it helps..
SDK Configuration:
[IMG]http://puu.sh/b1rty.png[/IMG]
My mod's gameinfo.txt:
[IMG]http://puu.sh/b1rBq.png[/IMG]
Hammer Game Configurations tab (I used the hammer from the SDK launcher):
[IMG]http://puu.sh/b1rIQ.png[/IMG]
Hammer Build Programs tab (I used the hammer from the SDK launcher):
[IMG]http://puu.sh/b1rG0.png[/IMG]
Everything works perfectly and I can run maps in hammer just fine.
In which case Hammer presents me with the fatal error "Missing material 'editor/wireframe'. Go to Tools | Options | Game Configurations and verify that your game directory is correct."
[url=http://forums.steampowered.com/forums/showthread.php?p=17200091#post17200091]Here's a relevant webpage[/url] describing for HL2: DM how to work around the 06 SDK being totally fucked. I tried taking similar steps to run 09 Hammer and get it to play nicely with the mod, but it didn't work. (Hammer hangs indefinitely on startup using the mod's config. I get an error and Hammer becomes unusable if I try it with one of the default configs.) The only way I've found so far to run Hammer for this mod is using the Source Multi-tool.
Furthermore: I tried compiling the map using the Hammer executable in the Half-Life 2 Deathmatch directory. The map loaded and compiled fine but I got the same error trying to buildcubemaps. I tried running the compiled map in HL2: DM and building cubemaps there, then loading the map in the mod. The map still had all the same cubemaps issues. (It looked like [url=http://i.imgur.com/efSzQUq.jpg]this[/url].) The console:
[code]Both ConVars must be marked FCVAR_REPLICATED for linkage to work (r_VehicleViewDampen)
maxplayers set to 9
Heap: 256.00 Mb
Parsed 23 text messages
Both ConVars must be marked FCVAR_REPLICATED for linkage to work (r_VehicleViewDampen)
Hud element 'CHudMaterial' doesn't have an entry 'HudMaterial' in scripts/HudLayout.res
execing config.cfg
Can't use cheat cvar cam_command in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar dsp_dist_max in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar dsp_dist_min in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar r_ambientfraction in multiplayer, unless the server has sv_cheats set to 1.
4 CPUs, Frequency: 1.5 Ghz, Features: AuthenticAMD SSE SSE2 MMX RDTSC CMOV FCMOV
execing valve.rc
] map hdn_wipb2
Network: IP 192.168.1.101, mode MP, dedicated No, ports 27015 SV / 27005 CL
Spawn Server hdn_wipb2
Begin loading faces (loads materials)
End loading faces (loads materials)
Error reading in file "materials/maps/hdn_wipb2/c-448_320_768.vtf"
Error reading in file "materials/maps/hdn_wipb2/cubemapdefault.vtf"
default error texture maps/hdn_wipb2/cubemapdefault
Error reading in file "materials/maps/hdn_wipb2/c-64_320_768.vtf"
default error texture maps/hdn_wipb2/cubemapdefault
Error reading in file "materials/maps/hdn_wipb2/c-256_352_384.vtf"
default error texture maps/hdn_wipb2/cubemapdefault
couldn't exec skill1.cfg
Executing listen server config file
9 player server started
execing listenserver.cfg
Adding master server 208.64.200.65:27015
Adding master server 208.64.200.39:27011
Client "la piña mejora" connected (127.0.0.1:27005).
Connected to 127.0.0.1:27015
Hidden : Source B4
Map: hdn_wipb2
Players: 1 / 9
Build 4044
Server Number 1
No pure server whitelist. sv_pure = 0
CAsyncWavDataCache: 2 .wavs total 0 bytes, 0.00 % of capacity
Initializing renderer...
Error reading in file "materials/maps/hdn_wipb2/c-448_320_768.vtf"
Error reading in file "materials/maps/hdn_wipb2/cubemapdefault.vtf"
Error reading in file "materials/maps/hdn_wipb2/c-64_320_768.vtf"
Error reading in file "materials/maps/hdn_wipb2/c-256_352_384.vtf"
Connection to Steam servers successful.
VAC secure mode is activated.
Connected[/code]
Sorry, you need to Log In to post a reply to this thread.