Can't run a decompiled map!

Discussion in 'Mapping Questions & Discussion' started by HQDefault, Sep 28, 2014.

  1. HQDefault

    aa HQDefault ...what

    Messages:
    1,058
    Positive Ratings:
    437
    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."
     
  2. henke37

    aa henke37

    Messages:
    1,921
    Positive Ratings:
    450
    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.
     
  3. xzzy

    aa xzzy

    Messages:
    815
    Positive Ratings:
    393
    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.
     
  4. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,745
    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:

     
    • Thanks Thanks x 2
  5. HQDefault

    aa HQDefault ...what

    Messages:
    1,058
    Positive Ratings:
    437
    BTW: I had to re-install TF2 a while ago, and it didn't give me back my map source files.
     
  6. xzzy

    aa xzzy

    Messages:
    815
    Positive Ratings:
    393
    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.
     
  7. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    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.
     
    • Thanks Thanks x 1
  8. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,745
    Wait, 2fort has been updated in the last decade??
     
  9. xzzy

    aa xzzy

    Messages:
    815
    Positive Ratings:
    393
    It's had a few fixes in the past year. Most notably a number of props in the flag room were made non solid.
     
  10. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219