is there a way to convert overlays into textures?

Crowbar

Spiritual preprocessor
aa
Dec 19, 2015
1,455
1,297
Treat the .vpk as a folder by itself, and put where the file was relative to the VPK inside it, but relative to /tf
 

Viemärirotta

sniffer
aa
Feb 5, 2016
1,013
590
Crowbar said it well.

If the vpk reads your file is from tf/materials/overlays/*filename*, then your modified file goes there.
 

Viemärirotta

sniffer
aa
Feb 5, 2016
1,013
590
Well no, you put it where the referred overlay texture file originates from, it should be mentioned in the VPK.
 

Crowbar

Spiritual preprocessor
aa
Dec 19, 2015
1,455
1,297
If the VPK lies in /tf, yes.
If inside the vpk something is at models/props_2fort, then it's gonna go to tf/models/props_2fort, etc.
 

suber36g

L3: Member
Jan 20, 2017
134
37
upload_2017-4-2_20-36-7.png
HOW DO I PUT BACK INTO THE VPK???
 

Crowbar

Spiritual preprocessor
aa
Dec 19, 2015
1,455
1,297
You do NOT need any of your custom stuff in the vpk at all. You need it in /tf.
 

suber36g

L3: Member
Jan 20, 2017
134
37
Do I create a folder (named signs) in the materials folder and then put the VMT in it?
 

Tumby

aa
May 12, 2013
1,085
1,194
It's incredible how everyone is failing to provide accurate and complete Information.
For example, everybody is assuming that OP knows everything about TF2's file structure.
A .VPK is a type of file similar to a .ZIP. As much of the games content as possible is stored in these files. That includes Textures, Materials, SFX, Voicelines, and a couple other textbased things.
.VPK's are split up into many smaller files which cannot be accessed individually. The _dir file basically opens all of them at once for you.
When the game is loading files, it searches in many different places, including the .VPKs. The order in which content is loaded heavily matters as well. If a file ABC.vmt exists in two different searchpaths, it will always end up loading the LAST one it finds.
The different places to search for include:
The basic game folder tf/
The VPKs
The custom folder tf/custom/mycustomfolder
Files inside these paths are all treated as if they are in tf/. Again, the only difference is the order.
For your overlay problem, you will either want to use tf/materials or tf/custom/foldername/materials.
You will most likely want to choose depending on your packing software. If you use compilepal you will have no problems using the custom folder.