Can't run a decompiled map!

HQDefault

...what
aa
Aug 6, 2014
1,056
535
Hello, I'm trying to make a pro version of 2fort, and failing miserably simply because hammer refuses to compile the map.

It says: Cannot find file specified

Compile log:

** Executing...
** Command: "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\bin\vbsp.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf" "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\maps\graphs\ctf_2fort_d.vmf"

Valve Software - vbsp.exe (Sep 24 2014)
4 threads
materialPath: C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\materials
Loading C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\maps\graphs\ctf_2fort_d.vmf
ConVarRef mat_reduceparticles doesn't point to an existing ConVar
Entity 552: func_areaportal can only be a single brush

** Executing...
** Command: "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\bin\vvis.exe"
** Parameters: -game "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf" "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\maps\graphs\ctf_2fort_d"

Valve Software - vvis.exe (Sep 24 2014)
4 threads
reading c:\program files (x86)\steam\steamapps\common\team fortress 2\tf\maps\graphs\ctf_2fort_d.bsp
Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\tf\maps\graphs\ctf_2fort_d.bsp

** Executing...
** Command: "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\bin\vrad.exe"
** Parameters: -both -game "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf" "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\maps\graphs\ctf_2fort_d"

Valve Software - vrad.exe SSE (Sep 24 2014)

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

Loading c:\program files (x86)\steam\steamapps\common\team fortress 2\tf\maps\graphs\ctf_2fort_d.bsp
Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\tf\maps\graphs\ctf_2fort_d.bsp

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\maps\graphs\ctf_2fort_d.bsp" "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\maps\ctf_2fort_d.bsp"

The command failed. Windows reported the error:
"The system cannot find the file specified."
 

henke37

aa
Sep 23, 2011
2,075
515
You should enable the option to check for a file after command execution.

Anyway, you are told exactly what is wrong, an areaportal is more than one brush. Enter the entity id into the jump to entity command and fix the error.
 

xzzy

aa
Jan 30, 2010
815
531
Decompiled maps aren't accurate copies of the original vmf, they tend to have a lot of errors.

I'm not sure why you'd work with a decompiled 2fort, the SDK (the one that we can't use anymore because of steampipe) provides the 2fort vmf already. It should show up somewhere in the sourcesdk_content directory.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
Why aren't you using the actual 2fort vmf? the sdk_ctf_2fort.vmf file

Edit: also if you actually read the log you posted you'd see this error:

Entity 552: func_areaportal can only be a single brush
 

xzzy

aa
Jan 30, 2010
815
531
Because it's not part of TF2, it's part of the Source SDK.

I'm fuzzy on the steps, but if I remember right you have to install "Source SDK", run it, select TF2, then refresh the game files. A sourcedsk_content folder will appear in your SteamApps/common/ folder with a ton of sample files.
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,694
2,579
Why aren't you using the actual 2fort vmf? the sdk_ctf_2fort.vmf file
That file is how many versions out of date, now? I know it still has the bugs with the misaligned sniper cover and doorframe; not sure what all else.

Someone with an "in" at Valve ought to inform them that they're no longer distributing the maps' source files and recommend they add updated versions to the TF2 file list, along with all the other maps.
 

xzzy

aa
Jan 30, 2010
815
531
It's had a few fixes in the past year. Most notably a number of props in the flag room were made non solid.