Another Map Compile Issue

Discussion in 'Mapping Questions & Discussion' started by Another Bad Pun, Apr 3, 2015.

  1. Another Bad Pun

    Server Staff Another Bad Pun over my dead body

    Messages:
    584
    Positive Ratings:
    1,211
    All the sudden my map stopped compiling correctly, or updating to the next bsp. It turned out to be a compile error. Interlopers just said that vbsp was failing, which didn't help me much, and I can't find anything in the map with 'check for problems' or in the compile log. But maybe I'm missing something! Here's the compile log.

    Code:
    ** Executing...
    ** Command: "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\bin\vbsp.exe"
    ** Parameters: -final -ldr -game -StaticPropPolys -TextureShadows -staticproplighting -game "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf" "c:\program files (x86)\steam\steamapps\common\team fortress 2\content\tf\mapsrc\aaa_dauphin\ctf_dauphin_rc3"
    
    Warning: falling back to auto detection of vproject directory.
    Unable to find gameinfo.txt. Solutions:
    
    1. Read http://www.valve-erc.com/srcsdk/faq.html#NoGameDir
    2. Run vconfig to specify which game you're working on.
    3. Add -game <path> on the command line where <path> is the directory that gameinfo.txt is in.
    
    Unable to find gameinfo.txt. Solutions:
    
    1. Read http://www.valve-erc.com/srcsdk/faq.html#NoGameDir
    2. Run vconfig to specify which game you're working on.
    3. Add -game <path> on the command line where <path> is the directory that gameinfo.txt is in.
    
    
    
    ** 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\content\tf\mapsrc\aaa_dauphin\ctf_dauphin_rc3"
    
    Valve Software - vvis.exe (Mar 30 2015)
    8 threads
    reading c:\program files (x86)\steam\steamapps\common\team fortress 2\content\tf\mapsrc\aaa_dauphin\ctf_dauphin_rc3.bsp
    Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\content\tf\mapsrc\aaa_dauphin\ctf_dauphin_rc3.bsp
    
    ** Executing...
    ** Command: "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\bin\vrad.exe"
    ** Parameters: -final -ldr -StaticPropPolys -TextureShadows -staticproplighting -game "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf" "c:\program files (x86)\steam\steamapps\common\team fortress 2\content\tf\mapsrc\aaa_dauphin\ctf_dauphin_rc3"
    
    Valve Software - vrad.exe SSE (Mar 30 2015)
    
          Valve Radiosity Simulator     
    8 threads
    [Reading texlights from 'lights.rad']
    [37 texlights parsed from 'lights.rad']
    
    Loading c:\program files (x86)\steam\steamapps\common\team fortress 2\content\tf\mapsrc\aaa_dauphin\ctf_dauphin_rc3.bsp
    Error opening c:\program files (x86)\steam\steamapps\common\team fortress 2\content\tf\mapsrc\aaa_dauphin\ctf_dauphin_rc3.bsp
    
    ** Executing...
    ** Command: Copy File
    ** Parameters: "c:\program files (x86)\steam\steamapps\common\team fortress 2\content\tf\mapsrc\aaa_dauphin\ctf_dauphin_rc3.bsp" "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\maps\ctf_dauphin_rc3.bsp"
    
    The command failed. Windows reported the error:
      "The system cannot find the file specified."
     
  2. ibex

    aa ibex

    Messages:
    255
    Positive Ratings:
    369
    Just a guess. Try running the .bat hammer file? then reopen .exe and try to compile again
     
  3. Vel0city

    aa Vel0city func_fish

    Messages:
    1,930
    Positive Ratings:
    1,539
    Well, it can't find gameinfo.txt in the standard library on your computer which is steamapps/tf. Once that file is missing everything goes south and VBSP stops. If VBSP doesn't make a BSP, VVIS and VRAD just don't work since they have no map file to work with, hence the "The command failed. Windows reported the error: "The system cannot find the file specified." " part of the compile log.
     
  4. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    I just got this same error. I had compiled a map with the normal parameters just to make sure it would work, and then I tried to recompile in final mode with -staticproplighting and -staticproppolys on, and it spat out that error when it tried to run VRAD. VBSP and VVIS both ran just fine. The heck?
     
  5. JMaxchill

    JMaxchill L5: Dapper Member

    Messages:
    220
    Positive Ratings:
    64
    I've got basically the same problem - "Windows cannot find the map specified". From the logs, I think it's trying to copy the existing version of the map as a backup - "Windows cannot find the specified file". this basically means you can't make any new maps.
    I tried copying a different bsp in (arena_badlands) and it didn't give the error, but when I tried to load the map it was still blands - Hammer didn't actually render the file. Halp?
     
  6. Vel0city

    aa Vel0city func_fish

    Messages:
    1,930
    Positive Ratings:
    1,539
    Are you people writing to external drives? If you do, go stand in a corner, because you shouldn't. Drives over USB can lose connection for even a fraction of a second from time to time, but that tiny gap of information loss makes VRAD (or VBSP or VVIS, depends on timing) say nope.avi and stops working. Either compile to the main drive, or compile to the main drive.
     
  7. JMaxchill

    JMaxchill L5: Dapper Member

    Messages:
    220
    Positive Ratings:
    64
    Nope. Main drive only, and it still doesn't work.
     
  8. Sergis

    aa Sergis L666: ])oo]v[

    Messages:
    1,871
    Positive Ratings:
    1,131
    it says "unable to find gameinfo.txt" and you check map for problems?
     
  9. JMaxchill

    JMaxchill L5: Dapper Member

    Messages:
    220
    Positive Ratings:
    64
    It doesn't tell me that. IMHO it's probably the displacements, but I'm losing the will to continue with this map...
     
  10. Crash

    aa Crash func_nerd

    Messages:
    3,177
    Positive Ratings:
    4,843
    This is most likely a different issue caused by something compile breaking. Check for problems.
     
  11. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    Yall disappoint me. Compile logs are there to read to find the problem.

    ** Command: "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\bin\vbsp.exe"
    ** Parameters: -final -ldr -game -StaticPropPolys -TextureShadows -staticproplighting -game "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf" "c:\program files (x86)\steam\steamapps\common\team fortress 2\content\tf\mapsrc\aaa_dauphin\ctf_dauphin_rc3"

    The game parameter is being sent twice, one of them without any input. That is what is causing the vproject error. Get rid of the first one, the second one is good because it has the directory following it.
     
    • Thanks Thanks x 1
  12. JMaxchill

    JMaxchill L5: Dapper Member

    Messages:
    220
    Positive Ratings:
    64
    Almost certainly the displacements - it won't let me sew them either - but at this point I'm probably just gonna dump what I've got and start over.
     
  13. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    1,005
    Positive Ratings:
    1,157
    You can still have non-sewing displacements that are valid, because that depends on their geometry. But it's still very possible that they're broken - use Alt+P in Hammer to check for them and run your compile log through http://www.interlopers.net/errors if you haven't already.