Source SDK not working

Discussion in 'Mapping Questions & Discussion' started by Banhammer0, May 11, 2013.

  1. Banhammer0

    Banhammer0 L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    Hey guys, I need help. :(

    Ever since the Steampipe launch, the Team Fortress 2 Source SDK has not been working. As in, Half Life 2 and other engines work, but the TF2 hammer editor does not work.

    When I make a basic map, (A cube with a player in it and a light, even) and then compile it, it says this message.

    "Windows reported the error:
    Cannot find the file specified"

    Now, I had this error before very rarely when I moved maps from their original location. But now, it pops up every single time and nothing works anymore.

    I tried everything. Refreshing SDK Content, reinstalling Source SDK... Even deleting the sdk_content folder! Nothing works! (note refreshing sdk content gets the folder back)

    This applies to valve maps as well. Whenever I load up sdk_ctf_2fort or any other map, and try to compile it...

    "Windows reported the error:
    Cannot find the file specified"


    Please, I've been dealing with this problem for like a week now! I thought it was just a bug by valve and it would be quickly patched, but when I noticed people kept uploading new maps! This means it's a problem with me.

    If anyone knows what to do or any options WHAT to do, please comment.
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,531
    We've had multiple threads discussing this for the past month in anticipation of the issue, and trying to make it work afterwards. The "solution" currently is to opt into the SDK beta that is part of TF2. Rightclick TF2 in your library, go to properties, betas, and select sdktools_beta from the list. This will download the new tools that work with the steampipe filesystem, and you will find them in steamapps\common\Team Fortress 2\bin and you can launch Hammer using Hammer.bat (NOT the exe directly).

    However, this does not fix all problems.
     
    • Thanks Thanks x 1
  3. goatcheese3

    goatcheese3 L1: Registered

    Messages:
    36
    Positive Ratings:
    3
    What is the difference between using the .bat and the .exe?
    I've opened the .exe directly and I didn't notice any problems... is there something else?
     
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,531
    The bat file was recommended by valve... was posted in one of these numerous threads. All it does is check the environment variables Hammer needs to work properly and set them if needed. (It's the same thing the SDK launcher did whenever you started it or changed the game you wanted to work with)
     
  5. IcyEyes

    IcyEyes L2: Junior Member

    Messages:
    85
    Positive Ratings:
    58
    Try going to Tools > Options > Game Configuration and setting the "Hammer VMF Directory" to the location of the current VMF file you're trying to compile.

    Please also see if this thread helps any - http://forums.tf2maps.net/showthread.php?t=21166
     
    Last edited: May 14, 2013