Everytime I open texture browser, hammer crashes.

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
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?
 

nᵗʰSonata

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
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
 

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
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
upload_2020-2-4_7-0-25.png

So I check the texture browser and for some reason its also importing UI icons
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,300
974
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
 

That's the plan

L4: Comfortable Member
Jul 8, 2018
183
38
upload_2020-2-5_9-50-55.png

There's nothing there. What do I need to add back?
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,300
974
@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