1. Hey Guest, welcome to the new forums. Be sure to check out this thread to get all the information you need on the cool new stuff!
  2. For information on the current problems with the download system, please see this thread.

Our servers are now running a Steam Workshop rotation, if you'd like your map to be considered for inclusion on our rotation, post in the rotation discussion thread

Or, if you just want to play some of the best community maps the Workshop has to offer, you can join our servers by clicking these links:

Source SDK & SteamPipe Quick Fix!

Discussion in 'Mapping Questions & Discussion' started by IcyEyes, May 14, 2013.

  1. IcyEyes

    IcyEyes L2: Junior Member

    Messages:
    85
    Positive Ratings:
    57
    UPDATE: Valve has released the new SDK tools which you can now easily access using the launcher program I've created over here.



    Here's a simple method to get the current (non-beta) Source SDK working again since Valve updated the TF2 file system.

    Preparations
    First make sure you have an unaltered (non-custom, non-beta) version of the Source SDK installed. To insure this is the case select "refresh sdk content" followed by "Reset Game configurations" in the SDK launcher. Also make sure steam cloud support is disabled.

    Note: All TF2 game files in your user directory are no longer needed or used with the new tf2 setup and can be deleted to save space. However, make sure you transfer any custom files you want to keep (maps, models, materials, etc.) over to the new TF2 location in the common folder before deleting it!



    Step 1
    Go to \steam\steamapps\common\Team Fortress 2\tf and open the file there named “gameinfo.txt”. Add “ToolsAppId 211” to line 22 and "Game |gameinfo_path|." and "Game tf" right above line 77. Save and close.

    [​IMG]

    [​IMG]

    Note: The above step allows the SDK tools to load all needed scheme files and prevents the error message "Failed to load default scheme file. The map views may be missing some visual elements." from appearing when you open or create a new map in Hammer.


    Step 2
    Open the Source SDK and click “Edit Game Configurations” select “Team Fortress 2” and click “Edit...” Under the directory path replace the user folder (e.g. \username\) with “\common\” and click “OK” and close the SDK.

    [​IMG]


    Step 3
    Relaunch the SDK and Open Hammer, click on "Tools > Options" and change the following:
    Game Executable Directory = $SteamDir\steamapps\common\team fortress 2
    Game Directory = $SteamDir\steamapps\common\team fortress 2\tf
    Hammer VMF Directory = place where you store your VMFs important!

    [​IMG]

    Note: If you don't set the VMF Directory to the location of the current VMF you're working on you may get the error message "Cannot find the file specified" when trying to compile it



    Step 4
    Then go to the "Build Programs" tab and update the following:
    Game executable = $SteamDir\steamapps\common\team fortress 2\hl2.exe
    Compiled maps directory = $SteamDir\steamapps\common\team fortress 2\tf\maps

    [​IMG]



    I discovered this method after reinstalling Steam and comparing it to my backup. Looks like someone else discovered this method too, but I thought I'd make a more detailed walk through here. Let me know if you have any problems with this method.

    Hope it helps someone. :)
     
    • Thanks Thanks x 11
    Last edited: Jun 2, 2013
  2. Izotope

    Izotope L6: Sharp Member

    Messages:
    371
    Positive Ratings:
    222
    Works for me :thumbup:

    What's the difference between this method and the use of the beta? (performance)
     
  3. IcyEyes

    IcyEyes L2: Junior Member

    Messages:
    85
    Positive Ratings:
    57
    Glad to hear it! No idea if there's any performance difference in the beta. I'd guess it's just redesigned to work with the new file system. But I'll probably stick with this for now since it's supposedly more stable. I don't need Hammer crashing on me any more then it already does!
     
    Last edited: May 14, 2013
  4. Snowshoe

    Snowshoe L1: Registered

    Messages:
    49
    Positive Ratings:
    59
    Thanks! I'm able to compile my map properly again, without all that fullbright and crap. Nice guide. ;)
     
  5. Fragancia

    Fragancia L1: Registered

    Messages:
    33
    Positive Ratings:
    6
    Anyone knows why SDK hammer doesn't take more than 50-100k ram?
    It really makes everything choppy and I'm unable to use it properly...
    If I make hasty movements with my mouse, hammer doesn't respond and crashes
     
  6. Izotope

    Izotope L6: Sharp Member

    Messages:
    371
    Positive Ratings:
    222
    You haven't tried the SDK beta, have you?
     
  7. Fragancia

    Fragancia L1: Registered

    Messages:
    33
    Positive Ratings:
    6
    I was using it initially after they released it but then I ran into a few problems with the beta compilers, no errors were shown but got issues similar to what's said in this thread: http://forums.tf2maps.net/showthread.php?t=21175
     
  8. hooky

    hooky L2: Junior Member

    Messages:
    68
    Positive Ratings:
    27
    Getting the same problem, Fragancia. I just use the beta for editing and the standalone for compiling. Works just fine.
     
  9. Brewskii187

    Brewskii187 L1: Registered

    Messages:
    16
    Positive Ratings:
    1
    this doesnt seem to be working for me.

    I hope they fix the beta sdks soon.
     
  10. Toxindude

    Toxindude L3: Member

    Messages:
    103
    Positive Ratings:
    4
    Worked for me :)

    Yeah I plan on using it this way also. The engine is so dumbed down you can't even use it for anything but compiler.
     
  11. compfast

    compfast L1: Registered

    Messages:
    18
    Positive Ratings:
    0
    this did not work for me
     
  12. Sergis

    aa Sergis L666: ])oo]v[

    Messages:
    1,813
    Positive Ratings:
    1,080
    i managed to squeeze out a compile by using this workaround for vbsp compile to get around 'material not found' error and then using sdk beta compile to get around 'vmt version 234857234098572340985, expected 7' thing vrad was getting mad about
     
  13. IcyEyes

    IcyEyes L2: Junior Member

    Messages:
    85
    Positive Ratings:
    57
    Sorry to hear that. Can you tell me what exactly happened when you tried this?
     
  14. compfast

    compfast L1: Registered

    Messages:
    18
    Positive Ratings:
    0
    most everything works now, by opting in to the sdk_tools_beta, in tf2 properties, and launching hammer with the hammer.exe in: C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\bin

    I do still see the trigger texture, and it crashes alot, but works. :)

    Thanks
     
  15. Lolkat

    Lolkat L1: Registered

    Messages:
    10
    Positive Ratings:
    1
    I get this error when i try to start hammer after doing the steps before that:
    MountFilesystem( 443 ) failed:
    SteamMountFilesystem(32664,443,0x1db0f598=,0x1db0f488) failed with error 116: Cache needs repair

    I have a feeling "Cache needs repair" means something but im no good with error messages so..:O
     
  16. compfast

    compfast L1: Registered

    Messages:
    18
    Positive Ratings:
    0
    go to tf2 properties in steam and click local files tab, then click verify integrity of game cache, and it should find the bad file and replace it.
     
  17. Lolkat

    Lolkat L1: Registered

    Messages:
    10
    Positive Ratings:
    1
    Ok, that helped me and i did all the stuff in hammer but when i press new map i get
    Failed to load Default scheme file. The map views may be missing some visual elements.
    and then hammer crashes
     
  18. Crash

    aa Crash func_nerd

    Messages:
    2,504
    Positive Ratings:
    2,799
    I haven't had any problems running hammer via the .exe and opting out of the beta.

    I also run the SDK in the background just to be safe.
     
  19. compfast

    compfast L1: Registered

    Messages:
    18
    Positive Ratings:
    0

    launch hammer from the hammer.exe in this folder:

    C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\bin\hammer.exe

    make a shortcut on your desktop ^

    don't run it from the sdk launcher anymore. :)
     
  20. compfast

    compfast L1: Registered

    Messages:
    18
    Positive Ratings:
    0
    I'm still opted IN to the beta, am I suposed to opt OUT now? It crashes alot and is buggiy maybe that's why. :)