Zombie Panic! Source

Zombie Panic! Source

View Stats:
Requesting Assistance: Compile Help
As a few people know, i've been having issues with hammer's compile option, which i've been trying to troubleshoot for a while. I've finally figured out the source of the issue, but its not one i can easily sort out currently. My pc aparently doesnt have enough memory to handle a compile, at least the way the default tools handle it.

As its rather awkard having to send .vmfs to people expecting them to compile it then send it back to me(time consuming and always a pain to clarify what settings), im hoping I can get some help finding another solution. I heard theres other compiler tools for source, outside of the default hammer ones, but each one i tried either had the same error and cause of hammer, or didn't work for the engine ZPS currently uses.

Hopefully theres at least one I can use. If not, well... guess ill need to find some way to improvise.
< >
Showing 1-9 of 9 comments
Apr 11, 2017 @ 1:10pm 
Have you tried compiling in other Source games? Like Garry's Mod (it uses their own Hammer), SDK 2013 SP and MP Hammer?
Originally posted by ♛ Tabajara:
Have you tried compiling in other Source games? Like Garry's Mod (it uses their own Hammer), SDK 2013 SP and MP Hammer?

Yes, its how i confirmed it was a memory issue and not anything else causing it.
If you mean using a custom compiler to do so, Im rpetty sure it wouldn't work for ZPS, at least not til 3.0.
Apr 11, 2017 @ 2:31pm 
Originally posted by Cpt.Haxray:
Originally posted by ♛ Tabajara:
Have you tried compiling in other Source games? Like Garry's Mod (it uses their own Hammer), SDK 2013 SP and MP Hammer?

Yes, its how i confirmed it was a memory issue and not anything else causing it.
If you mean using a custom compiler to do so, Im rpetty sure it wouldn't work for ZPS, at least not til 3.0.

Did you try Waz's Hammer Tool?
May I just ask, is the issue you are having that when compiling, the compiler window shows up "not responding"?
Originally posted by Problems:
May I just ask, is the issue you are having that when compiling, the compiler window shows up "not responding"?

It shows not responding after a certain amount of time(never consistant), then crashes alongside hammer.
Apr 11, 2017 @ 9:15pm 
When hammer compiles, you must not touch hammer, at all. Else you will cause it to crash, because they thought it was a great idea to not make a 64bit after all these years, and make the compiler run on a separate thread.

To make sure stuff is compiling, have Task Manager open, and make sure these are being run (when compiling):

Compiling process (In order)
  • vbsp.exe
    • Compiles the map, which only contains brush work and its entities.
  • vvis.exe
    • Compiles the visclusters, and optimzies the map. (The compile time depends how big the map is, how optimized it is, and what mode you are compiling it in)
  • vrad.exe
    • Compiles all the light in the map, without this, the map will be stuck in fullbright. Like above, compile time depends on the mode, and if you are doing HDR compiling as well (NOTE: HDR compile is a requirement for those who uses HDR! Else the map will end up with broken cubemaps and what not)
Originally posted by BB2 JonnyBoy0719:
When hammer compiles, you must not touch hammer, at all. Else you will cause it to crash, because they thought it was a great idea to not make a 64bit after all these years, and make the compiler run on a separate thread.

To make sure stuff is compiling, have Task Manager open, and make sure these are being run (when compiling):

Compiling process (In order)
  • vbsp.exe
    • Compiles the map, which only contains brush work and its entities.
  • vvis.exe
    • Compiles the visclusters, and optimzies the map. (The compile time depends how big the map is, how optimized it is, and what mode you are compiling it in)
  • vrad.exe
    • Compiles all the light in the map, without this, the map will be stuck in fullbright. Like above, compile time depends on the mode, and if you are doing HDR compiling as well (NOTE: HDR compile is a requirement for those who uses HDR! Else the map will end up with broken cubemaps and what not)

I've tried that and it still crashes. :l.
Update: actually managed to get the compiler to give me a log this time, it 'compiled' the map but in a broken glitchy state with some brushes missing textures completely(textures in question being a mix of vanilla hl2 textures and zps textures), and area portals being treated as solid objects.

Heres the log, hopefully something good can come from this.

Before anyone asks, my settings for this compile where RUN BSP checked to normal, RUN VIS checked to normal, and Run RAD checked to normal without HDR.


** Executing...
** Command: "C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vbsp.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\SteamApps\common\Source SDK Base 2007\zps" "C:\Users\....\Desktop\Map files\zpo_snowblind_deg"

Valve Software - vbsp.exe (May 19 2009)
4 threads
materialPath: C:\Program Files (x86)\Steam\SteamApps\common\Source SDK Base 2007\zps\materials
Loading C:\Users\.....\Desktop\Map files\zpo_snowblind_deg.vmf
material "necrotales/plasticwall_orange01" not found.
Material not found!: NECROTALES/PLASTICWALL_ORANGE01
material "necrotales/blendsnowrockwall003a" not found.
Material not found!: NECROTALES/BLENDSNOWROCKWALL003A
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 286 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Users\...\Desktop\Map files\zpo_snowblind_deg.prt...Building visibility clusters...
done (0)
Creating default LDR cubemaps for env_cubemap using skybox materials:
skybox/sky_day02_09*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
skybox/sky_day02_09*.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) (266020 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 1299 texinfos to 815
Reduced 124 texdatas to 111 (4691 bytes to 4221)
Writing C:\Users\....\Desktop\Map files\zpo_snowblind_deg.bsp
2 seconds elapsed

** Executing...
** Command: "C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vvis.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\SteamApps\common\Source SDK Base 2007\zps" "C:\Users\...\Desktop\Map files\zpo_snowblind_deg"

Valve Software - vvis.exe (May 19 2009)
4 threads
reading c:\users\...\desktop\map files\zpo_snowblind_deg.bsp
reading c:\users\....\desktop\map files\zpo_snowblind_deg.prt
324 portalclusters
881 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 (2)
Optimized: 193 visible clusters (0.00%)
Total clusters visible: 43415
Average clusters visible: 133
Building PAS...
Average clusters audible: 279
visdatasize:27321 compressed from 31104
writing c:\users\.....\desktop\map files\zpo_snowblind_deg.bsp
2 seconds elapsed

** Executing...
** Command: "C:\Program Files (x86)\Steam\SteamApps\common\SourceSDK\bin\source2007\bin\vrad.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\SteamApps\common\Source SDK Base 2007\zps" "C:\Users\....\Desktop\Map files\zpo_snowblind_deg"

Valve Software - vrad.exe SSE (May 19 2009)

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

Loading c:\users\....\desktop\map files\zpo_snowblind_deg.bsp
Error! Invalid VTX file checksum: 1387317608, expected 1540973542 "models/props_c17/metalladder002.dx80.vtx"
Error! Invalid VTX file checksum: 905383766, expected 86181587 "models/props_c17/substation_transformer01b.dx80.vtx"
Error! Invalid VTX file checksum: 81923510, expected 1237549596 "models/props_lab/powerbox01a.dx80.vtx"
Setting up ray-trace acceleration structure... Done (2.42 seconds)
2123 faces
5 degenerate faces
336469 square feet [48451592.00 square inches]
107 Displacements
107411 Square Feet [15467210.00 Square Inches]
2118 patches before subdivision
16300 patches after subdivision
sun extent from map=0.000000
66 direct lights
BuildFacelights: 0...1...2...3...4...5...6...7...8...9...10 (7)
BuildVisLeafs: 0...1...2...3...4...5...6...7...8...9...10 (3)
transfers 674596, max 312
transfer lists: 5.1 megs
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #1 added RGB(7153, 9394, 9013)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #2 added RGB(885, 926, 742)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #3 added RGB(163, 162, 125)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #4 added RGB(36, 28, 18)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #5 added RGB(9, 6, 4)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #6 added RGB(2, 1, 1)
GatherLight: 0...1...2...3...4...5...6...7...8...9...10 (0)
Bounce #7 added RGB(1, 0, 0)
Build Patch/Sample Hash Table(s).....Done<0.0295 sec>
FinalLightFace: 0...1...2...3...4...5...6...7...8...9...10 (4)
FinalLightFace Done
0 of 1 (0% of) surface lights went in leaf ambient cubes.
ThreadComputeLeafAmbient: 0...1...2...3...4...5...6...7...8...9...10 (5)
Writing leaf ambient...done
Ready to Finish

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 69/1024 3312/49152 ( 6.7%)
brushes 736/8192 8832/98304 ( 9.0%)
brushsides 5149/65536 41192/524288 ( 7.9%)
planes 2950/65536 59000/1310720 ( 4.5%)
vertexes 4165/65536 49980/786432 ( 6.4%)
nodes 1035/65536 33120/2097152 ( 1.6%)
texinfos 815/12288 58680/884736 ( 6.6%)
texdata 111/2048 3552/65536 ( 5.4%)
dispinfos 107/0 18832/0 ( 0.0%)
disp_verts 8339/0 166780/0 ( 0.0%)
disp_tris 13216/0 26432/0 ( 0.0%)
disp_lmsamples 362713/0 362713/0 ( 0.0%)
faces 2123/65536 118888/3670016 ( 3.2%)
hdr faces 0/65536 0/3670016 ( 0.0%)
origfaces 1773/65536 99288/3670016 ( 2.7%)
leaves 1105/65536 35360/2097152 ( 1.7%)
leaffaces 2505/65536 5010/131072 ( 3.8%)
leafbrushes 1247/65536 2494/131072 ( 1.9%)
areas 11/256 88/2048 ( 4.3%)
surfedges 17622/512000 70488/2048000 ( 3.4%)
edges 11683/256000 46732/1024000 ( 4.6%)
LDR worldlights 66/8192 5808/720896 ( 0.8%)
HDR worldlights 0/8192 0/720896 ( 0.0%)
leafwaterdata 1/32768 12/393216 ( 0.0%)
waterstrips 273/32768 2730/327680 ( 0.8%)
waterverts 0/65536 0/786432 ( 0.0%)
waterindices 4968/65536 9936/131072 ( 7.6%)
cubemapsamples 25/1024 400/16384 ( 2.4%)
overlays 34/512 11968/180224 ( 6.6%)
LDR lightdata [variable] 1135028/0 ( 0.0%)
HDR lightdata [variable] 0/0 ( 0.0%)
visdata [variable] 27321/16777216 ( 0.2%)
entdata [variable] 221241/393216 (56.3%)
LDR ambient table 1105/65536 4420/262144 ( 1.7%)
HDR ambient table 1105/65536 4420/262144 ( 1.7%)
LDR leaf ambient 4413/65536 123564/1835008 ( 6.7%)
HDR leaf ambient 1105/65536 30940/1835008 ( 1.7%)
occluders 4/0 160/0 ( 0.0%)
occluder polygons 1/0 12/0 ( 0.0%)
occluder vert ind 4/0 16/0 ( 0.0%)
detail props [variable] 1/12 ( 8.3%)
static props [variable] 1/18534 ( 0.0%)
pakfile [variable] 2270155/0 ( 0.0%)
physics [variable] 266020/4194304 ( 6.3%)
physics terrain [variable] 33758/1048576 ( 3.2%)

Level flags = 0

Total triangle count: 6230
Writing c:\users\....\desktop\map files\zpo_snowblind_deg.bsp
22 seconds elapsed

** Executing...
** Command: Copy File
** Parameters: "C:\Users\.....\Desktop\Map files\zpo_snowblind_deg.bsp" "C:\Program Files (x86)\Steam\SteamApps\common\Source SDK Base 2007\zps/maps\zpo_snowblind_deg.bsp"

< >
Showing 1-9 of 9 comments
Per page: 1530 50