Everytime I open texture browser, hammer crashes.

Discussion in 'Mapping Questions & Discussion' started by That's the plan, Feb 3, 2020.

  1. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    So I was trying to import this custom texture into hammer using VTFedit. After I added both the .vtf and the .vmt, hammer crashed everytime I opened the texture browser. I deleted both files and its still crashing. Help?
     
  2. Narpas

    aa Narpas Takes way to long to make and update maps

    Messages:
    407
    Positive Ratings:
    388
    The texture browser can crash if it tries to load too many textures at once. How many custom textures do you have? If you can type in the text box before it crashes, I'd suggest adding a tag in the tag box. Also, how much open file space do you have on your disk? Hammer is terribly optimized, so it could be crashing due to a lack of memory
     
  3. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    upload_2020-2-4_7-0-25.png
    So I check the texture browser and for some reason its also importing UI icons
     
  4. DrSquishy

    aa DrSquishy ???

    Messages:
    1,195
    Positive Ratings:
    741
    upload_2020-2-4_22-8-11.png
    try going to tools -> options -> misc, and seeing if there are any material directories not excluded that should be excluded (eg /backpack/). Perhaps you somehow removed them
     
    • Agree Agree x 1
  5. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    upload_2020-2-5_9-50-55.png
    There's nothing there. What do I need to add back?
     
  6. DrSquishy

    aa DrSquishy ???

    Messages:
    1,195
    Positive Ratings:
    741
    @MaterialExclusion
    [
    // Names of the sub-directories we don't want to load materials from, as they are useless
    "ambulance"
    "backpack"
    "cable"
    "console"
    "customcubemaps"
    "cubemaps"
    "debug"
    "detail"
    "engine"
    "matsys_regressiontest"
    "hlmv"
    "hud"
    "logo"
    "maps"
    "models"
    "overviews"
    "perftest"
    "scripted"
    "shadertest"
    "vgui"
    "voice"
    "vr"
    ]

    This is the list that I use, see if it works for you