error while compiling

Discussion in 'Mapping Questions & Discussion' started by Bonkey Donk, Sep 24, 2018.

  1. Bonkey Donk

    Bonkey Donk L1: Registered

    Messages:
    49
    Positive Ratings:
    0
    While compiling my map an error message appeared saying: "The command failed. Windows reported the error: 'The system cannot find the file specified' "
    The command mentioned:
    ** Executing...
    ** Command: Copy File
    ** Parameters: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\gg.bsp"
     
  2. DrSquishy

    aa DrSquishy ???

    Messages:
    1,226
    Positive Ratings:
    802
    Could you post the whole compile log please?
     
    • Thanks Thanks x 1
  3. Bonkey Donk

    Bonkey Donk L1: Registered

    Messages:
    49
    Positive Ratings:
    0
    ** 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\sourcesdk_content\tf\mapsrc\gg.vmf"

    Valve Software - vbsp.exe (Aug 2 2018)
    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\sourcesdk_content\tf\mapsrc\gg.vmf
    fixing up env_cubemap materials on brush sides...
    ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
    **** leaked ****
    Entity prop_static (-56.00 -64.00 -60.00) leaked!
    Processing areas...done (0)
    Building Faces...done (0)
    FixTjuncs...
    PruneNodes...
    WriteBSP...
    done (0)
    *** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
    *** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
    Finding displacement neighbors...

    ** 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\sourcesdk_content\tf\mapsrc\gg"

    Valve Software - vvis.exe (Aug 2 2018)
    4 threads
    reading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp
    Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp

    ** Executing...
    ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
    ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\gg"

    Valve Software - vrad.exe SSE (Jul 18 2018)

    Valve Radiosity Simulator
    4 threads
    [Reading texlights from 'lights.rad']
    unknown light specifier type - lights

    [56 texlights parsed from 'lights.rad']

    Loading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp
    Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp

    ** Executing...
    ** Command: Copy File
    ** Parameters: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\gg.bsp"

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

    aa DrSquishy ???

    Messages:
    1,226
    Positive Ratings:
    802
    It says you have a leak in your map, which you should try and fix. See if that solves the issue
     
  5. Bonkey Donk

    Bonkey Donk L1: Registered

    Messages:
    49
    Positive Ratings:
    0
    it's an error whith the skybox and opening something
     
  6. DrSquishy

    aa DrSquishy ???

    Messages:
    1,226
    Positive Ratings:
    802
    Yes, your map needs to be sealed from the void with world brushes. Usually, early maps use the cordon tool or just a hollow box surrounding it
     
  7. Bonkey Donk

    Bonkey Donk L1: Registered

    Messages:
    49
    Positive Ratings:
    0
  8. henke37

    aa henke37

    Messages:
    2,059
    Positive Ratings:
    501
    The skybox error is bogus. Everyone gets it. All that happens is that vbsp won't sub in the skybox as a dummy cubemap. Which doesn't matter since you need to build the cubemaps for real anyway.

    The real issue is that vbsp is crashing. Fixing the leak might help with that. Might
     
    • Agree Agree x 1
  9. Bonkey Donk

    Bonkey Donk L1: Registered

    Messages:
    49
    Positive Ratings:
    0
    i made a skybox and recompiled, and it dind't show any leak errors. but there were still errors not related to leaks
     
  10. Bonkey Donk

    Bonkey Donk L1: Registered

    Messages:
    49
    Positive Ratings:
    0
    "The system cannot find the file specified
    This error is output by the file copy operation at the end of the compile if there is no .BSP file to copy, or if the destination doesn't exist. It often means that VBSP ran into an error before it could write the .BSP file. Check the VBSP output for any errors.
    Be sure you typed your filename correctly, excluding any dashes, periods, etc. If it persists, try typing the file extension as you save it.
    If you have not ran the game that you are making a map for, or if the destination that you are trying to place the final .BSP file in does not exist at the time you attempted to compile your map, this error will occur as a result of Hammer lacking the ability to create file folders. This happens to a variety of people, most often when the person receiving the error has recently rebooted their computer after a crash, their computer dying, or a virus or other possible cause of computer data/memory loss. If this happens, all you have to do is run the game you are making the map for, or simply browse to the closest file directory to the one you are trying to put the final .BSP in a file browser, and make a folder named the same as the selected output folder." -source wiki about this error
     
  11. henke37

    aa henke37

    Messages:
    2,059
    Positive Ratings:
    501
    In other words, the compile should've halted before it even got that far, because vbsp didn't complete its job.
     
  12. Da Spud Lord

    aa Da Spud Lord Occasionally I make maps

    Messages:
    1,333
    Positive Ratings:
    896
    Can you post the full compile log?
     
  13. Bonkey Donk

    Bonkey Donk L1: Registered

    Messages:
    49
    Positive Ratings:
    0
    ** 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\sourcesdk_content\tf\mapsrc\gg.vmf"

    Valve Software - vbsp.exe (Aug 2 2018)
    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\sourcesdk_content\tf\mapsrc\gg.vmf
    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)
    FixTjuncs...
    PruneNodes...
    WriteBSP...
    NODRAW on terrain surface!
    NODRAW on terrain surface!
    NODRAW on terrain surface!
    NODRAW on terrain surface!
    NODRAW on terrain surface!
    NODRAW on terrain surface!
    NODRAW on terrain surface!
    NODRAW on terrain surface!
    done (0)
    writing C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\gg.prt...Building visibility clusters...
    done (0)
    *** Error: Skybox vtf files for skybox/sky_triage_01 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_triage_01 to build the default cubemap!
    *** Error: Skybox vtf files for skybox/sky_triage_01 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file skybox/sky_triage_01 to build the default cubemap!
    Finding displacement neighbors...

    ** 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\sourcesdk_content\tf\mapsrc\gg"

    Valve Software - vvis.exe (Aug 2 2018)
    4 threads
    reading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp
    Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp

    ** Executing...
    ** Command: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
    ** Parameters: -game "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\gg"

    Valve Software - vrad.exe SSE (Jul 18 2018)

    Valve Radiosity Simulator
    4 threads
    [Reading texlights from 'lights.rad']
    unknown light specifier type - lights

    [56 texlights parsed from 'lights.rad']

    Loading c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp
    Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp

    ** Executing...
    ** Command: Copy File
    ** Parameters: "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\sourcesdk_content\tf\mapsrc\gg.bsp" "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\maps\gg.bsp"

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

    aa DrSquishy ???

    Messages:
    1,226
    Positive Ratings:
    802
    NODRAW on terrain surface
    Try fixing this - don't think it is a compile failing error but worth a shot.
     
  15. Bonkey Donk

    Bonkey Donk L1: Registered

    Messages:
    49
    Positive Ratings:
    0
    it worked mate thank you
     
Tags: