[HAMMER - TF2] Compile Errors

moroes

L1: Registered
Jul 24, 2010
31
7
Hi guys,

First time I come here and I wanted to present myself with the pics of my contest's map but I can't because I have a big problem when I try compile my map in expert mode (normal mode works).

It seems that only lighting could be compiled and not the rest.

It doesn't find the path of the map.

Here is the message after the compile process :

The command failed. Windows reported the error : "can't find the file" Do you want to continue?

And here is my compilation process :

** Executing...
** Command: "c:\games\steam\steamapps\xx\sourcesdk\bin\orangebox\bin\vbsp.exe"
** Parameters: -game "c:\games\steam\steamapps\xx\team fortress 2\tf" "c:\games\steam\steamapps\xx\sourcesdk_content\tf\mapsrc\artpass_moroes3"

Valve Software - vbsp.exe (Jul 7 2010)
2 threads
materialPath: c:\games\steam\steamapps\xx\team fortress 2\tf\materials
Error opening c:\games\steam\steamapps\xx\sourcesdk_content\tf\mapsrc\artpass_moroes3: File c:\games\steam\steamapps\xx\sourcesdk_content\tf\mapsrc\artpass_moroes3, line 1: No such file or directory.


** Executing...
** Command: "c:\games\steam\steamapps\xx\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "c:\games\steam\steamapps\xx\team fortress 2\tf" "c:\games\steam\steamapps\xx\sourcesdk_content\tf\mapsrc\artpass_moroes3"

Valve Software - vvis.exe (Jul 7 2010)
2 threads
reading c:\games\steam\steamapps\xx\sourcesdk_content\tf\mapsrc\artpass_moroes3.bsp
Error opening c:\games\steam\steamapps\xx\sourcesdk_content\tf\mapsrc\artpass_moroes3.bsp

** Executing...
** Command: "c:\games\steam\steamapps\xx\sourcesdk\bin\orangebox\bin\vrad.exe"
** Parameters: -staticproppolys -staticproplighting -both -final -game "c:\games\steam\steamapps\xx\team fortress 2\tf" "c:\games\steam\steamapps\xx\sourcesdk_content\tf\mapsrc\artpass_moroes3"

Valve Software - vrad.exe SSE (Jul 7 2010)

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

Loading c:\games\steam\steamapps\xx\sourcesdk_content\tf\mapsrc\artpass_moroes3.bsp
Error opening c:\games\steam\steamapps\xx\sourcesdk_content\tf\mapsrc\artpass_moroes3.bsp

** Executing...
** Command: Copy File
** Parameters: "c:\games\steam\steamapps\xx\sourcesdk_content\tf\mapsrc\artpass_moroes3.bsp" "c:\games\steam\steamapps\xx\team fortress 2\tf\maps\artpass_moroes3.bsp"

The command failed. Windows reported the error:
"Le fichier spécifié est introuvable."

I can't explain the reasons of these fuc**** errors.

Why is it telling me "No such file or directory" ? My map is save in the "...\sourcesdk_content\tf\mapsrc" folder.

I have no error when I made ALT + P, no leaks, no forbidden brushes,...

So I can't compile my map and test it and it's boring!

(Other mods/games works...I made a lots of maps on the Source Engine and I never had these kind of errors -__- )

Thanks in advance if you have an answer :)
 
Last edited:

Draco18s

L9: Fashionable Member
Sep 19, 2009
622
136
"Windows can't find the file" means that it failed the last step: copying the file from the compile directory to the game's map directory.

This means that there is no .bsp file, eg. it failed to compile at the first step (executing vbsp.exe).

The error is one that prevents vbsp from properly creating a valid binary space partition file; I had this a couple days ago, but I don't recall offhand what the issue was.

Try compiling your map using cordons, so you're excluding half the map (run just vbsp and copy map--so if it fails you don't have to wait for vvis and vrad). If it compiles the error is in the other half of your map, if it doesn't, its in that half.

Keep cordoning off half the known effected area until you narrow it down to a single entity/brush.

Delete the offending thing.
 

moroes

L1: Registered
Jul 24, 2010
31
7
Yep I still not try the cordon tool. I'll make it.

But where the problem is strange is the compilation works in "Normal mode", it compile the bsp...

@ Exist : Expert mode for compilation is the best thing to have all the tools for a better result ;)
 

Dr. Spud

Grossly Incandescent
aa
Mar 23, 2009
880
854
** Executing...
** Command: "c:\games\steam\steamapps\xx\sourcesdk\bin\orangeb ox\bin\vbsp.exe"
** Parameters: -game "c:\games\steam\steamapps\xx\team fortress 2\tf" "c:\games\steam\steamapps\xx\sourcesdk_content\tf\ mapsrc\artpass_moroes3"

Valve Software - vbsp.exe (Jul 7 2010)
2 threads
materialPath: c:\games\steam\steamapps\xx\team fortress 2\tf\materials
Error opening c:\games\steam\steamapps\xx\sourcesdk_content\tf\m apsrc\artpass_moroes3: File c:\games\steam\steamapps\xx\sourcesdk_content\tf\m apsrc\artpass_moroes3, line 1: No such file or directory.

It's saving the map in "mapsrc/", then trying to read it from "m apsrc/". I guess there's a typo in your compile configuration.

Orangebox is also misspelled as "orangeb ox", but I guess your folders are weird and it found it anyways?
 

Dr. Spud

Grossly Incandescent
aa
Mar 23, 2009
880
854
Oh, heh, I thought it was kind of strange to have random spaces in it.

The only time this has happened to me is if vbsp hits some bad error in the map (which it didn't in your case), or if Steam somehow trips over itself (in which case restarting Steam fixed it). But beyond that I'm out of ideas.
 

lana

Currently On: ?????
aa
Sep 28, 2009
3,075
2,778
I'm wondering what you have in your configurations for expert compiling. You could have an invalid parameter that's causing the load to fail.
 

moroes

L1: Registered
Jul 24, 2010
31
7
Oookay, I change my folder where my vmf were (now it's in C:\Games\mapsrc > before in C:\Games\Steam\SteamApps\my_account\sourcesdk_content\tf\mapsrc) and the compilation works.

I don't know why but the good thing is that's works now :) Cool!
 

Metemer

L1: Registered
Aug 7, 2010
4
0
Hi guys.. first, sry for my english.

** Executing...
** Command: "g:\steam\steamapps\myname\sourcesdk\bin\orangebox\bin\vbsp.exe"
** Parameters: -game "g:\steam\steamapps\myname\team fortress 2\tf" "G:\Steam\SteamApps\myname\sourcesdk_content\tf\mapsrc\ctf_well_red_only_V1.vmf"

Valve Software - vbsp.exe (Jul 7 2010)
2 threads
materialPath: g:\steam\steamapps\myname\team fortress 2\tf\materials
Loading G:\Steam\SteamApps\myname\sourcesdk_content\tf\mapsrc\ctf_well_red_only_V1.vmf
ConVarRef mat_reduceparticles doesn't point to an existing ConVar
Patching WVT material: maps/ctf_well_red_only_v1/nature/blendgroundtograss001b_wvt_patch
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
**** leaked ****
Entity prop_dynamic (-71.26 -290.00 -1537.51) leaked!

FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (5120.0 4432.0 0.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (5120.0 4944.0 -1168.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (5120.0 4944.0 936.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (6144.0 4608.0 0.0)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (5632.0 5120.0 0.0)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (5120.0 3584.0 0.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (6144.0 3584.0 0.0)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (5473.8 2048.0 -600.0)
Leaf 0 contents: CONTENTS_SOLID
Leaf 1 contents:
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:

*** Suppressing further FindPortalSide errors.... ***
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (1)
Find Visible Detail Sides...Bad detail brush side


** Executing...
** Command: "g:\steam\steamapps\myname\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "g:\steam\steamapps\myname\team fortress 2\tf" "G:\Steam\SteamApps\myname\sourcesdk_content\tf\mapsrc\ctf_well_red_only_V1"

Valve Software - vvis.exe (Jul 7 2010)
2 threads
reading g:\steam\steamapps\myname\sourcesdk_content\tf\mapsrc\ctf_well_red_only_V1.bsp
Error opening g:\steam\steamapps\myname\sourcesdk_content\tf\mapsrc\ctf_well_red_only_V1.bsp

** Executing...
** Command: "g:\steam\steamapps\myname\sourcesdk\bin\orangebox\bin\vrad.exe"
** Parameters: -both -game "g:\steam\steamapps\myname\team fortress 2\tf" "G:\Steam\SteamApps\myname\sourcesdk_content\tf\mapsrc\ctf_well_red_only_V1"

Valve Software - vrad.exe SSE (Jul 7 2010)

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

Loading g:\steam\steamapps\myname\sourcesdk_content\tf\mapsrc\ctf_well_red_only_V1.bsp
Error opening g:\steam\steamapps\myname\sourcesdk_content\tf\mapsrc\ctf_well_red_only_V1.bsp

** Executing...
** Command: Copy File
** Parameters: "G:\Steam\SteamApps\myname\sourcesdk_content\tf\mapsrc\ctf_well_red_only_V1.bsp" "g:\steam\steamapps\myname\team fortress 2\tf\maps\ctf_well_red_only_V1.bsp"

The command failed. Windows reported the error:
"A rendszer nem találja a megadott fájlt."

then i placed my map to C:\ and:

** Executing...
** Command: "g:\steam\steamapps\myname\sourcesdk\bin\orangebox\bin\vbsp.exe"
** Parameters: -game "g:\steam\steamapps\myname\team fortress 2\tf" "C:\ctf_well_red_0.vmf"

Valve Software - vbsp.exe (Jul 7 2010)
2 threads
Can't create LogFile:"C:\ctf_well_red_0.log"


** Executing...
** Command: "g:\steam\steamapps\myname\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "g:\steam\steamapps\myname\team fortress 2\tf" "C:\ctf_well_red_0"

Valve Software - vvis.exe (Jul 7 2010)
Can't create LogFile:"c:\ctf_well_red_0.log"


** Executing...
** Command: "g:\steam\steamapps\myname\sourcesdk\bin\orangebox\bin\vrad.exe"
** Parameters: -both -game "g:\steam\steamapps\myname\team fortress 2\tf" "C:\ctf_well_red_0"

Valve Software - vrad.exe SSE (Jul 7 2010)

Valve Radiosity Simulator
2 threads
Can't create LogFile:"c:\ctf_well_red_0.log"


** Executing...
** Command: Copy File
** Parameters: "C:\ctf_well_red_0.bsp" "g:\steam\steamapps\myname\team fortress 2\tf\maps\ctf_well_red_0.bsp"

The command failed. Windows reported the error:
"A rendszer nem találja a megadott fájlt."
 

Metemer

L1: Registered
Aug 7, 2010
4
0
so i can't test the ctf_well if i start it from source SDK. but all other maps are work perfectly.

sry for double-post i fount the edit button right now :D
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
Moroes' problem was related to some folder errors. Yours are not, so move your stuff back to where it was before.

First, you have a leak at -71.26 -290.00 -1537.51. Since it's a prop_dynamic, it's probably a door or CP. Make sure your map is properly sealed.

Second, you have huge brushes with wrong/broken textures. Check each coordinate by View > Go to coordinates and remove/fix those brushes.
 

Metemer

L1: Registered
Aug 7, 2010
4
0
thanks for the fast answer, i will try theese if i get to the other computer and ill write here what happened.
 

Draco18s

L9: Fashionable Member
Sep 19, 2009
622
136
Learn how to load point files. They'll show you where to fix all of those errors.
 

Metemer

L1: Registered
Aug 7, 2010
4
0
already doesnt work...

i went to the coordinates but it puted me out to blackness. :S:S

The train was leaked, i tried to copy the other train but then an other thing was leaked.. something..something. i think ill just remove that shitty train....


- - what point files?XD

-can someone test this for me please?: get gcfspace and get the ctf_well.bsp(from steamapps/tf content.gcf but maybe an other of TF2's gcf files) decompile it with VMEX(from bsp to vmf) then after loading it from hammer just start it without any changes.. (i know it looks like a lots of work, but if you already have the programs it isnt.) - sry for my english
 

Draco18s

L9: Fashionable Member
Sep 19, 2009
622
136
i went to the coordinates but it puted me out to blackness. :S:S

The leaking prop's center has been displaced. Select the prop and go Tools -> Center Origins.

- - what point files?XD

When you have a leak go Map -> Load Pointfile (and say yes to the dialog).

There will now be a red line that traces a route from the first entity that leaked out to the void. In the case of area portals it will run from one side of the area portal back around to the other, indicated a non-sealed area.
http://developer.valvesoftware.com/wiki/Leak#Finding_leaks