Compile Error: "Cannot Find File Specified." Help?

Discussion in 'Mapping Questions & Discussion' started by Potada, Sep 29, 2016.

  1. Potada

    Potada L1: Registered

    Messages:
    29
    Positive Ratings:
    6
    Last edited: Sep 29, 2016
  2. Erk

    aa Erk erk

    Messages:
    300
    Positive Ratings:
    713
    Hey, could you put how you fixed it in your post? Other people might use this thread to help them with similar problems.
     
    • Agree Agree x 2
  3. Gale

    Gale L1: Registered

    Messages:
    38
    Positive Ratings:
    13
    Vbsp.exe Failed, that's what caused the error. In case he never posts the solution. Another way to get this error is trying to compile off of a .vmf_autosave.
     
  4. Three Million

    Three Million L5: Dapper Member

    Messages:
    201
    Positive Ratings:
    65
    Failed as in the program didnt run? When I had Comodo Antivirus installed the AV would block any programs it didnt recognize from running. So when it came to compile my maps I had to whitelist every program (like vbsp.exe) in order to compile my map correctly. This could have been the issue with @Potada
     
  5. Gale

    Gale L1: Registered

    Messages:
    38
    Positive Ratings:
    13
    It failed because of this error:

    Brush 901: FloatPlane: bad normal
    Side 1
    Texture: DEV/DEV_MEASUREGENERIC01B
     
  6. Nicky

    aa Nicky Lets try something new!

    Messages:
    912
    Positive Ratings:
    1,698
    There's a couple of things that can fail bsp. The most common I can think of is tying a displacement to a brush entity (like making a displacement a func_detail). Also having a brush too close to the edges of the map (if you zoom all the way out on the grid in hammer, you can see the boundaries of the map) can crash vbsp. The reason you get the "can't find file specified" is because when vbsp fails, it doesn't create a bsp file. When vbsp is "done" it's job, vvis steps in and looks for the newly created bsp to add visleafs to. Vrad comes after. However when there is no newly created bsp, then vvis and vrad "can't find the file specified" because it was never created.

    There's more than those errors that can crash vbsp and the other compiling tools. You can find them here: https://developer.valvesoftware.com/wiki/Compile_Errors .
     
  7. zahndah

    aa zahndah professional letter

    Messages:
    718
    Positive Ratings:
    627
    Instead of just doing nothing, they compile for the previous working version of VBSP. This is why sometimes it appears that your map is simply not updating when you update it.
     
    • Agree Agree x 2
  8. Potada

    Potada L1: Registered

    Messages:
    29
    Positive Ratings:
    6
    Oh, jeez, sorry. I didn't notice the replies. My issue was just with an error in a texture. Pretty much what Gale pointed out. Using the problem checker and finding the brushes to fix got it to compile my map.(Though, I don't know the technical reasons why it would prevent compiling, but whatever)