Hammer constantly crashing in texture selection screen
Quote from El Farmerino on June 3, 2012, 11:14 pmAs the title says, Hammer is recently crashing every time I open up the texture selection screen, making it impossible for me to retexture anything in my current map. From what I can see it is crashing when trying to load custom textures that must have come down with some mappacks I've used in the past, but I'm not sure how to stop it....
Things I have already tried:
- Deleting all the custom content in my materials folder (this hasn't stopped Hammer trying to find them anyway).
- Verifying game cache of both the Portal 2 Authoring Tools and Portal 2 (probably about five times each by now).
- Uninstalling and reinstalling the Authoring Tools (twice).
Haven't tried uninstalling and reinstalling the actual game yet; just wanted to ask if anyone has any good ideas as to why this might be happening.... Here's the dump file, if anyone can make head or tail of it (EDIT: sorry, originally posted the wrong file):
hammer_assert_201206 4121534_1.zip
As the title says, Hammer is recently crashing every time I open up the texture selection screen, making it impossible for me to retexture anything in my current map. From what I can see it is crashing when trying to load custom textures that must have come down with some mappacks I've used in the past, but I'm not sure how to stop it....
Things I have already tried:
- Deleting all the custom content in my materials folder (this hasn't stopped Hammer trying to find them anyway).
- Verifying game cache of both the Portal 2 Authoring Tools and Portal 2 (probably about five times each by now).
- Uninstalling and reinstalling the Authoring Tools (twice).
Haven't tried uninstalling and reinstalling the actual game yet; just wanted to ask if anyone has any good ideas as to why this might be happening.... Here's the dump file, if anyone can make head or tail of it (EDIT: sorry, originally posted the wrong file):
My maps: Double Bill / Jam / Oval Window / Gymnasium / Gymnasium Part 2 / Minimalism (collection) / Resolution
All feedback welcome!
---------------------------

Quote from El Farmerino on June 3, 2012, 11:40 pmSo it is. Whoops. Have replaced it with the correct file. Sorry about that!
So it is. Whoops. Have replaced it with the correct file. Sorry about that!
My maps: Double Bill / Jam / Oval Window / Gymnasium / Gymnasium Part 2 / Minimalism (collection) / Resolution
All feedback welcome!
---------------------------

Quote from josepezdj on June 4, 2012, 2:47 amHey El. It happens a damn LOT of times to me as well. But I never thought this was anything special due to the fact that hammer has that annoying habit
![]()
It happens in texture selection but also in the model browser...
I always save before browsing for a texture or for a modelAnyway, let me ask you: have all of your custom textures the right size? I mean are all they a power of 2 sized? Some image editting programs crash if I forget to use a right size when saving as .vtf.
Hey El. It happens a damn LOT of times to me as well. But I never thought this was anything special due to the fact that hammer has that annoying habit
It happens in texture selection but also in the model browser...
I always save before browsing for a texture or for a model
Anyway, let me ask you: have all of your custom textures the right size? I mean are all they a power of 2 sized? Some image editting programs crash if I forget to use a right size when saving as .vtf.
Quote from El Farmerino on June 4, 2012, 6:35 amjosepezdj wrote:Hey El. It happens a damn LOT of times to me as well. But I never thought this was anything special due to the fact that hammer has that annoying habit![]()
It happens in texture selection but also in the model browser...
I always save before browsing for a texture or for a model![]()
Anyway, let me ask you: have all of your custom textures the right size? I mean are all they a power of 2 sized? Some image editting programs crash if I forget to use a right size when saving as .vtf.
It's not so much that it happens a lot, more that it happens every single time I open the texture window. I basically can't work with textures any more in Hammer.
I'll just point that I personally am not using any custom textures, and am not trying too. The textures that appear to be causing the crash are not mine; they come from someone else's map (if I had to guess, I'd say it was this one: http://forums.thinking.withportals.com/downloads.php?view=detail&df_id=1884). I don't want to use the textures, but simply deleting them from the materials folder doesn't seem to work (they still appear in the Hammer browser right before it crashes).

It happens in texture selection but also in the model browser...
I always save before browsing for a texture or for a model

Anyway, let me ask you: have all of your custom textures the right size? I mean are all they a power of 2 sized? Some image editting programs crash if I forget to use a right size when saving as .vtf.
It's not so much that it happens a lot, more that it happens every single time I open the texture window. I basically can't work with textures any more in Hammer.
I'll just point that I personally am not using any custom textures, and am not trying too. The textures that appear to be causing the crash are not mine; they come from someone else's map (if I had to guess, I'd say it was this one: http://forums.thinking.withportals.com/downloads.php?view=detail&df_id=1884). I don't want to use the textures, but simply deleting them from the materials folder doesn't seem to work (they still appear in the Hammer browser right before it crashes).
My maps: Double Bill / Jam / Oval Window / Gymnasium / Gymnasium Part 2 / Minimalism (collection) / Resolution
All feedback welcome!
---------------------------

Quote from josepezdj on June 4, 2012, 7:26 amSorry, it's true that you already mentioned that about someone else's custom stuff.
Anyway, that you mention about those impossible-to-erase-textures is weird. I'm sure you are not definitely erasing them, otherwise they won't appeear in hammer texture browser.
Look, after playing a map that has custom textures, the engine sometimes make a kind of cache folder into Portal2_dlc2/maps/soundcache where it stores the custom textures as well (I know this because of some pakrat tests I did in order to see if my embedding process did work or not: this folders must be deleted in order to check that the embedding process actively worked out). Try to check out and erase any possible folder with a name like "sp_the_tutorial" (or whatever name that custom map had).
Also assure you quitted the authoring tools so those textures you erased are not in the cache.
Did you erased both the .vmt and the .vtf files for those custom textures?
Also, does that happen only with that specific map of yours? have you tried to browse for textures in any other map? have you checked with a brand new map as well?
What is strange is that you found that issue recently... is it because you played recently to that "95 - The Tutorial" map? I mean it could be caused by any other reason than those custom textures...
EDIT: WOW dude, those are a damn lot of custom textures!!! I've just downloaded that map from Moddb (2 of them indeed), and there are many custom textures. Some of them into a folder called "portal2/platform", others into "portal2/materials/95" folder. I'd suggest you to revise all of them and be sure you removed all of them (again)...
Sorry, it's true that you already mentioned that about someone else's custom stuff.
Anyway, that you mention about those impossible-to-erase-textures is weird. I'm sure you are not definitely erasing them, otherwise they won't appeear in hammer texture browser.
Look, after playing a map that has custom textures, the engine sometimes make a kind of cache folder into Portal2_dlc2/maps/soundcache where it stores the custom textures as well (I know this because of some pakrat tests I did in order to see if my embedding process did work or not: this folders must be deleted in order to check that the embedding process actively worked out). Try to check out and erase any possible folder with a name like "sp_the_tutorial" (or whatever name that custom map had).
Also assure you quitted the authoring tools so those textures you erased are not in the cache.
Did you erased both the .vmt and the .vtf files for those custom textures?
Also, does that happen only with that specific map of yours? have you tried to browse for textures in any other map? have you checked with a brand new map as well?
What is strange is that you found that issue recently... is it because you played recently to that "95 - The Tutorial" map? I mean it could be caused by any other reason than those custom textures...
EDIT: WOW dude, those are a damn lot of custom textures!!! I've just downloaded that map from Moddb (2 of them indeed), and there are many custom textures. Some of them into a folder called "portal2/platform", others into "portal2/materials/95" folder. I'd suggest you to revise all of them and be sure you removed all of them (again)...
Quote from El Farmerino on June 4, 2012, 7:56 amjosepezdj - You legend! It never occurred to me that that mappack might have put textures somewhere other than the portal2/materials folder. I deleted the 95 folder from portal2/platform and it works fine again now. Many thanks for the help! I'll be mindful of that in future....
josepezdj - You legend! It never occurred to me that that mappack might have put textures somewhere other than the portal2/materials folder. I deleted the 95 folder from portal2/platform and it works fine again now. Many thanks for the help! I'll be mindful of that in future....
My maps: Double Bill / Jam / Oval Window / Gymnasium / Gymnasium Part 2 / Minimalism (collection) / Resolution
All feedback welcome!
---------------------------

Quote from El Farmerino on June 4, 2012, 9:15 amYeah, that's a reasonable assumption to make, but clearly that would be overestimating my intellect....
Yeah, that's a reasonable assumption to make, but clearly that would be overestimating my intellect....
My maps: Double Bill / Jam / Oval Window / Gymnasium / Gymnasium Part 2 / Minimalism (collection) / Resolution
All feedback welcome!
---------------------------

Quote from josepezdj on June 4, 2012, 9:33 amEl Farmerino wrote:Yeah, that's a reasonable assumption to make, but clearly that would be overestimating my intellect....Hehehehehe
Hehehehehe