Re: CS:S Map Wont Compile
Posted by Goat64 on
Sat Apr 30th 2005 at 9:47am
13 posts
1 snarkmarks
Registered:
Feb 22nd 2005
Occupation: Student
Location: England
I have made a simple CS:S map but it wont compile. i have not put any
lights in it yet and the only entietts are
info_player_counterterrorist/terrorist and a few func_door_rotating and
a env_bubble
this is the compile log but oi cant make heads or tils of it
** Executing...
** Command: "c:\valve\steam\steamapps\wil64\sourcesdk\bin\vbsp.exe"
** Parameters: -game "c:\valve\steam\steamapps\wil64\counter-strike
source\cstrike" "C:\Valve\Steam\SteamApps\wil64\counter-strike
source\cstrike\maps\de_officeblock"
Valve Software - vbsp.exe (Jan 19 2005)
2 threads
materialPath: c:\valve\steam\steamapps\wil64\counter-strike source\cstrike\materials
Loading C:\Valve\Steam\SteamApps\wil64\counter-strike source\cstrike\maps\de_officeblock.vmf
Trying to create a non-quad displacement!
** Executing...
** Command: "c:\valve\steam\steamapps\wil64\sourcesdk\bin\vvis.exe"
** Parameters: -game "c:\valve\steam\steamapps\wil64\counter-strike
source\cstrike" -fast "C:\Valve\Steam\SteamApps\wil64\counter-strike
source\cstrike\maps\de_officeblock"
Valve Software - vvis.exe (Dec 15 2004)
fastvis = true
2 threads
reading c:\valve\steam\steamapps\wil64\counter-strike source\cstrike\maps\de_officeblock.bsp
Error opening c:\valve\steam\steamapps\wil64\counter-strike source\cstrike\maps\de_officeblock.bsp
** Executing...
** Command: "c:\valve\steam\steamapps\wil64\sourcesdk\bin\vrad.exe"
** Parameters: -game "c:\valve\steam\steamapps\wil64\counter-strike
source\cstrike" -noextra "C:\Valve\Steam\SteamApps\wil64\counter-strike
source\cstrike\maps\de_officeblock"
Valve Software - vrad.exe (Mar 8 2005)
----- Radiosity Simulator ----
2 threads
[Reading texlights from 'lights.rad']
[1 texlights parsed from 'lights.rad']
Loading c:\valve\steam\steamapps\wil64\counter-strike source\cstrike\maps\de_officeblock.bsp
Error opening c:\valve\steam\steamapps\wil64\counter-strike source\cstrike\maps\de_officeblock.bsp
** Executing...
** Command: Copy File
** Parameters: "C:\Valve\Steam\SteamApps\wil64\counter-strike
source\cstrike\maps\de_officeblock.bsp"
"c:\valve\steam\steamapps\wil64\counter-strike
source\cstrike\maps\de_officeblock.bsp"
Oh and im compiling on normal fast fast
Re: CS:S Map Wont Compile
Posted by nooba on
Sat Apr 30th 2005 at 10:16am
Posted
2005-04-30 10:16am
nooba
member
146 posts
104 snarkmarks
Registered:
Jan 20th 2004
Location: Australia
Delete the non-quad displacement or make it into a quad then your problem should go away.. :smile:
Re: CS:S Map Wont Compile
Posted by Orpheus on
Sat Apr 30th 2005 at 12:52pm
Posted
2005-04-30 12:52pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
OK first, i dunno if nooba is correct or not, but i do not think so cause the compile continued.
second, if you do not place lights of some kind, the map may fail, it used to in HL1.
put in some lights, do what nooba said and get back to us.
i prefer that you do one thing at a time so we know which fixed it.
Re: CS:S Map Wont Compile
Posted by Goat64 on
Sat Apr 30th 2005 at 1:15pm
13 posts
1 snarkmarks
Registered:
Feb 22nd 2005
Occupation: Student
Location: England
Ok i couldnt find a non quad displacemnt so i did select all and
destroy. It runs now but the compile log is filled with stuff i dont
recognise
** Executing...
** Command: "c:\valve\steam\steamapps\wil64\sourcesdk\bin\vbsp.exe"
** Parameters: -game "c:\valve\steam\steamapps\wil64\counter-strike
source\cstrike" "C:\Valve\Steam\SteamApps\wil64\counter-strike
source\cstrike\maps\de_officeblock"
Valve Software - vbsp.exe (Jan 19 2005)
2 threads
materialPath: c:\valve\steam\steamapps\wil64\counter-strike source\cstrike\materials
Loading C:\Valve\Steam\SteamApps\wil64\counter-strike source\cstrike\maps\de_officeblock.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (3)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (3)
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (1)
writing C:\Valve\Steam\SteamApps\wil64\counter-strike source\cstrike\maps\de_officeblock.prt...done (1)
Creating default cubemaps for env_cubemap using skybox sky_wasteland02...
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 (4) (1191064 bytes)
Emitting linux collision data (use -nolinuxdata to disable).
Building Physics collision data...
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:cdone (4) (1191064 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Writing C:\Valve\Steam\SteamApps\wil64\counter-strike source\cstrike\maps\de_officeblock.bsp
28 seconds elapsed
alc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
-0.437069 -0.177800 0.000000
-0.437069 0.177800 0.000000
0.493588 0.254000 0.000000
-0.437069 0.203200 0.000000
make_triangles:calc_triangle_representation: Cannot convert
Memory leak: mempool blocks left in memory: 48
Memory leak: mempool blocks left in memory: 4
** Executing...
** Command: "c:\valve\steam\steamapps\wil64\sourcesdk\bin\vvis.exe"
** Parameters: -game "c:\valve\steam\steamapps\wil64\counter-strike
source\cstrike" -fast "C:\Valve\Steam\SteamApps\wil64\counter-strike
source\cstrike\maps\de_officeblock"
Valve Software - vvis.exe (Dec 15 2004)
fastvis = true
2 threads
reading c:\valve\steam\steamapps\wil64\counter-strike source\cstrike\maps\de_officeblock.bsp
reading c:\valve\steam\steamapps\wil64\counter-strike source\cstrike\maps\de_officeblock.prt
2354 portalclusters
9520 numportals
BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (32)
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
WARNING: Cluster portals saw into cluster
Optimized: 170235 visible clusters (0.00%)
Total clusters visible: 2568029
Average clusters visible: 1090
Building PAS...
Average clusters audible: 2352
visdatasize:1135197 compressed from 1393568
writing c:\valve\steam\steamapps\wil64\counter-strike source\cstrike\maps\de_officeblock.bsp
38 seconds elapsed
** Executing...
** Command: "c:\valve\steam\steamapps\wil64\sourcesdk\bin\vrad.exe"
** Parameters: -game "c:\valve\steam\steamapps\wil64\counter-strike
source\cstrike" -noextra "C:\Valve\Steam\SteamApps\wil64\counter-strike
source\cstrike\maps\de_
Re: CS:S Map Wont Compile
Posted by Orpheus on
Sat Apr 30th 2005 at 1:29pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
dear god man.. what have you done, and why did you mark the answers correct?
i said to do one thing at a time :sad:
you will need to post the new errors in a new thread.
please tell me you backed up the file before you deleted anything.. :sad:
Re: CS:S Map Wont Compile
Posted by Syn on
Wed Jul 25th 2007 at 4:55am
1 post
0 snarkmarks
Registered:
Jul 25th 2007
As a simple solution to find the offending displacment surface, just copy your map, open the copy, and begin progressivly deleting displacements and recompiling with just the BSP on. Keep doing this until you compile without issues. The additional crap you see is probably due to the non-rendered lightning and such.
Delete like three at a time, and you can go through the surfaces quite fast. Then undo your deleted items one by one until your recompile errors. Tadda! You found your offending displacement.
I just had to hunt down one, and it turns out that if you use the vertex editor to create a sloped surface prior to creating the displacement surface, and if a perpendicular surface is cut into a triangle by your sloped surface, the compiler will error with a non-quad error.
MORAL: Never create a displacement surface which is connected at opposing corners. This will cause the compiler to think you are cutting the displacement surface into a triangle. Try off-seting the corners of the brush which is being cut.