Hammer Access Violation

Discussion in 'Mapping Questions & Discussion' started by Not You, Aug 27, 2016.

  1. Not You

    Not You L3: Member

    Messages:
    135
    Positive Ratings:
    41
    I noticed that every time I attempt to open hammer, the loading screen pops up and closes the next second. So it looks like hammer is "broken" on my computer. I noticed in the Team Fortress 2 bin folder that everytime I attempt to open hammer and hammer closes I get an .mdmp file that has a title saying hammer_...._accessviolation.mdmp. Can anyone explain this and give some tips for fixing this?
     
  2. Potoroo84

    Potoroo84 L1: Registered

    Messages:
    23
    Positive Ratings:
    6
    have you tried opening the hammer.bat file, then loading hammer?
     
  3. Not You

    Not You L3: Member

    Messages:
    135
    Positive Ratings:
    41
    Yes. And hammer still does the same thing.
     
  4. iiboharz

    aa iiboharz Meme Queen

    Messages:
    700
    Positive Ratings:
    1,025
    Have you tried verifying your game's cache?
     
  5. Not You

    Not You L3: Member

    Messages:
    135
    Positive Ratings:
    41
    Tried that but it's still doing this.
     
  6. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    931
    Positive Ratings:
    894
    About the hammer.bat: All it does, or at least is supposed to do, is set the "VProject" environment variable. The process of getting to these variables is hard to explain for me because I'm not gonna google translate all this shit. Just google it I gues.
    The important bit is that VProject needs to be set as "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf", or whatever your equivalent may be. I don't even know what the negative effects are of not having this variable right, but maybe hammer.bat didn't do it's job properly and is causing crashes?
     
  7. Osspial

    Osspial L2: Junior Member

    Messages:
    64
    Positive Ratings:
    73
    Have you tried running Hammer as an administrator? You should be able to do that by right-clicking on hammer.exe clicking the "run as administrator" button, assuming you have admin privileges on your machine.
     
  8. Adoruby

    Adoruby L1: Registered

    Messages:
    1
    Positive Ratings:
    0
    Sorry if I'm trying to reanimate the dead here, but was the problem fixed? I'm having the same issue. Tried the possible fixes mentioned in the thread, too, but none of them worked.