DigitalEro Offline

Missing SFM Textures? (Get on the ball!)

Fri, 01 Feb 2013 00:46:18

Goron_Ozzy

Have you found your favourite models have missing textures in SFM? Their beautiful complexions wrecked by purple and black textures? If so, you have come to the right place! I have personally fixed many models myself with this same error and i am willing to pass the know how onto you guys! The only thing you will need to fix your models is VTF Edit, which can be found here. Here is a step by step process to fix your models! 1- Open the SFM and spawn your model 2- Take note of exactly what textures are missing (is it the face, or the body or both?) 3- Close SFM and boot VTF Edit 4- Navigate to your models location (if you are mounting Gmod content it'll be in your addons folder, or the usermod folder if you installed directly into SFM) 5- Locate the material file which corresponds with the missing texture (For example, Lilith's face texture will be called head.vtf) Most materials are named after the part they texture, it's straightforward I'll continue the rest of the tutorial with pictures! 6- Open the texture 7- Go to file > save as, and save as a .tga (wherever doesn't matter at this point, somewhere easy like the desktop is fine!) 8 - Now, go to file > import, and import the .tga you just saved. Just hit okay when this box pops up, there is no need to change anything! 9 - Finally, go to file > save as, and save the texture as a .vtf Give it the same name as whatever you originally imported (for example, if you imported face.vtf, name it face.vtf etc 10 - Drag this new .vtf over the top of the 'missing' texture. Overwrite and voila! If you followed correctly, it will be fixed :) If you do fix the texture, but are still getting a faint black grid texture over your model, you will also need to convert the textures normal map (it'll be texturename_n.vtf) as we did above If you have any further questions, post them below, and i'll try answering them!
Fri, 01 Feb 2013 02:33:33

Pipedude

I'd like to add 2 observations that I've made about SFM that are relevant to materials and textures. The first one is that SFM is picky about its materials and it usually gets upset if the vtf for a selected material is over 4096 x 4096 or if the file is over 8MB. The second is a console command that will help with the fixing so that you dont have to necessarily close SFM ( although using console commands in SFM can sometimes crash it, hell anything can) but anyway its mat_reloadallmaterials or mat_reloadmaterial "material path"
Fri, 01 Feb 2013 03:22:09

RadioActive

When i'm importing a tga file, I got this error: http://postimage.org/image/lfovdqs85/
Fri, 01 Feb 2013 05:27:38

Goron_Ozzy

"RadioActive" said ...
When i'm importing a tga file, I got this error: http://postimage.org/image/lfovdqs85/
That's weird, never gotten an error like that, i'm not sure what to do about that D:
Sat, 02 Feb 2013 21:19:08

byzboo

nice tips, I thought there was something like this going on but I only saw that in one model until now which I managed to fix thanks to you ! :mrgreen:
Fri, 08 Feb 2013 06:24:35

Vitezislav

You can also check the vmt file and look if the texture is from another model, you might miss.
Fri, 08 Feb 2013 20:19:15

BagDogRun

I everybody, I don't know if this is the problem you're talking about but I downloaded the Lord Advaark EDI and when I load it I have this : I tried to fix it with your tuto but it didn't work. Any ideas ?
Sat, 09 Feb 2013 06:29:36

Vitezislav

Do you have the EDI from http://facepunch.com/showthread.php?t=1185040. Some of the textures from that are being used by LordAardvark's EDI. Example in HMF_HED_PROEdi_Face_Diff vmt file it says: "$lightwarptexture" "bge\ME3\EDI\b/Tris_lightwarp"
Sat, 09 Feb 2013 13:17:44

BagDogRun

Hi, I downloaded the version you posted but it didn't solve the problem but your post reminded ​​me to check the vmt files. I checked all the vmt and I found the problem. The address of the files was wrong. An example: It's "lordaadvark\me3\edi ... etc." , not "lordaadvark/me3/edi etc ...". "\" not "/". I fixed all the vmt and downloaded the bge version of EDI and now it works. Thank you for the help.
Sat, 09 Feb 2013 14:12:46

Vitezislav

I am glad I could help in some way.
Tue, 26 Feb 2013 14:43:04

Big Johnson

Hey, this has been bothering me for ages. Some of these Fake Factory models are half-invisible in SFM. I have no idea what would cause it, other than the fact that some textures filesize is about 10Mb or more. Would it simply be that? Please help. Thank you.
Tue, 26 Feb 2013 15:00:08

Ganonmaster

Try disabling Ambient Occlusion.
Tue, 26 Feb 2013 15:47:14

Big Johnson

Thanks, it worked! Unfortunately, it decreases the quality of the pose. Is there anything that could cause this bug to happen?
Tue, 26 Feb 2013 16:07:56

Ganonmaster

Try adding the following line to the materials: $ambientocclusion 0
Tue, 26 Feb 2013 16:32:36

zhulikkulik

What I do is: open .vmt delete phong and rimlight params, transcluent and alpha Save in SFM open console and type mat_reloadallmaterials then open vmt again and put back phong and rimlights. and reload textures again I usually use the same settings, 'cause most of nude models have similar skin colour.
Tue, 26 Feb 2013 16:33:29

Big Johnson

Alright I will. Thanks alot in advance!
Fri, 01 Mar 2013 22:47:05

Eddy

You are a life saver! LOVE YOU<3
Sun, 16 Jun 2013 15:25:06

Diosseion

"RadioActive" said ...
When i'm importing a tga file, I got this error: http://postimage.org/image/lfovdqs85/
I too get this error :\
Thu, 27 Jun 2013 07:00:43

Wanderer

"RadioActive" said ...
When i'm importing a tga file, I got this error: http://postimage.org/image/lfovdqs85/
Yep my lilith model has a face like a checkerboard now :( . Has anyone found a way around this error?
Sun, 21 Jul 2013 21:12:26

Systemerror

"BagDogRun" said ...
Hi, I downloaded the version you posted but it didn't solve the problem but your post reminded ​​me to check the vmt files. I checked all the vmt and I found the problem. The address of the files was wrong. An example: It's "lordaadvark\me3\edi ... etc." , not "lordaadvark/me3/edi etc ...". "\" not "/". I fixed all the vmt and downloaded the bge version of EDI and now it works. Thank you for the help.
Hey I have a similar problem and I've tried to do what you said. I opened the .vmt file in VTFEdit and changed the path, then saved it again. Unfortunatly, the problem remains. The consolse is saying [spoiler:1sqrmx6o]Model file 'LordAardvark/SFM/ME3/Casual/EDI_Robot.mdl' and associated vtx files are out of date Error! Variable "$rimlight" is multiply defined in material "models/lordaardvark/me3/edi/robot/hmf_arm_edia_diff"! Error! Variable "$rimlightboost" is multiply defined in material "models/lordaardvark/me3/edi/robot/hmf_arm_edia_diff"! Error! Variable "$rimlightboost" is multiply defined in material "models/lordaardvark/me3/edi/robot/hmf_hed_proedi_scalp_diff"! "materials/models/lordardvark/me3/edi/robot/hmf_hed_proedi_scalp_diff.vtf": can't be found on disk Error! Variable "$rimlightboost" is multiply defined in material "models/lordaardvark/me3/edi/robot/hmf_hed_proedi_face_diff"! LordAardvark/SFM/ME3/Casual/EDI_Robot.mdl : material "models/lordaardvark/me3/edi/robot/ttmain2" not found. LordAardvark/SFM/ME3/Casual/EDI_Robot.mdl : material "models/lordaardvark/me3/edi/robot/ttring02" not found. Failed to load models/![/spoiler:1sqrmx6o] upon opening the Model. I am very new to SFM and just started working with it, so I have no idea what else to do. The model looks something like this: It looked exactly like your model before you fixed it, but I tried repairing it like described in this thread and now it looks a littlle bit different. I am not sure what else to do :/ I hope you can help me Thanks in advance Systemerror
Fri, 26 Jul 2013 06:45:47

Wanderer

"Wanderer" said ...
"RadioActive" said ...
When i'm importing a tga file, I got this error: http://postimage.org/image/lfovdqs85/
Yep my lilith model has a face like a checkerboard now :( . Has anyone found a way around this error?
I managed to fix this problem. All you have to do is export the file as .tga to the desktop instead of saving to desktop. Hope this helps those with this problem :D