hammer.exe crashing immediately

Discussion in 'Mapping Questions & Discussion' started by sevin, Jan 15, 2014.

  1. sevin

    aa sevin

    Messages:
    959
    Positive Ratings:
    661
    So I used to launch Hammer from the Source SDK, but I kept getting a "failed to load default scheme" error, and tried to launch from the TF2 bin folder. It crashes immediately from there. Won't even launch, which SDK at least would do. I've tried deleting the gameinfo and gameconfig files and having the hammer.bat regenerate them as well as verifying the integrity of the game cache, but nothing works.

    Help?
     
  2. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,842
    Positive Ratings:
    4,771
    Have you run the hammer.bat file? You need to run that at least once.
     
    • Thanks Thanks x 1
  3. Dev

    Dev L1: Registered

    Messages:
    8
    Positive Ratings:
    4
    You have to run hammer.bat? I never once did that. Does it run by itself sometimes? :p
     
    • Thanks Thanks x 1
  4. sevin

    aa sevin

    Messages:
    959
    Positive Ratings:
    661
    Yes, I said in the first post I deleted the gameconfig and gameinfo files and ran the hammer.bat.
     
  5. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,842
    Positive Ratings:
    4,771
    My apologies, I completely missed that somehow.

    The only advice I could offer is trying to update the ABS resource pack, I think it edits the scheme file? That may help
     
    • Thanks Thanks x 1
  6. sevin

    aa sevin

    Messages:
    959
    Positive Ratings:
    661
    Running hammer.exe as an administrator actually fixed the problem. Weirdest thing ever. Just right clicked and hit "Run as administrator" and it works perfectly. And I only had to do it once for some reason. Shortcut it to my desktop and don't even have to run it as the administrator anymore... really weird.
     
  7. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,906
    Or, if you don't have it installed, install it and that might help too.
     
    • Thanks Thanks x 1
  8. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,217
    I had a similar thing happen with Photoshop CS2 as well, back when I first started using Vista. It's probably because, like most apps that originated back in the day, it was designed to assume it would always run with admin privileges.
     
    • Thanks Thanks x 1
  9. sevin

    aa sevin

    Messages:
    959
    Positive Ratings:
    661
    Well that's still weird it only had to be done once though, I haven't been running it as the administrator since then.
     
  10. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,562
    Probably because once you run it as administrator, the files that were required to be edited (and the permission to do so) stay edited.

    That's usually what the permission is for. To allow files to be modified.
     
    • Thanks Thanks x 1
  11. sevin

    aa sevin

    Messages:
    959
    Positive Ratings:
    661
    Gotcha, thanks!