Go Back   Steam Users' Forums > Steam Tool Discussions > Source SDK General Discussion

Reply
 
Thread Tools Display Modes
Old 07-18-2007, 08:57 AM   #1
WS-Rich
 
 
 
Guest
Posts: n/a
Textures & VTEX

Hi all

Ok so i drop my TGA texture on to Vtex to get my VTF file

I will fast forward on this a little

Put the info in the notepad and save as vmt

Right so i have my texture now to do this you have to do one texture at a time

Now i have lots of them and it will take a long time to do them all so is there anyway to do alot in one go i was thinking you could drop alot in to vtex in one go that would give you all the VTF files but how would you do alot of vmt files in one go

Thanks
 
Reply With Quote
Old 07-18-2007, 09:02 AM   #2
Penumbra
 
 
 
Guest
Posts: n/a
You can open a Command Prompt, go to the directory of vtex.exe and type:

Code:
vtex.exe <your mod dir>\materialsrc\*.tga
I think it will then do all the TGA's in the directory. If you have multiple directories, you can add these to the command (I guess):

Code:
vtex.exe <your mod dir>\materialsrc\wood\*.tga <your mod dir>\materialsrc\stone\*.tga
If there are a lot of directories, you can create a bat-file for it.

Hopes this helps!!
  Reply With Quote
Old 07-18-2007, 03:13 PM   #3
WS-Rich
 
 
 
Guest
Posts: n/a
yep thats cool mate does it put my tga file in to one vtf & one vmt or just do the vtf files

Also if your doing all the metal textures and you got like 10 name metal1 metal2 and so on
does it do all or have you got to put the names in
<your mod dir>\materialsrc\metal\metal1.tga

Last edited by WS-Rich: 07-19-2007 at 01:23 AM.
  Reply With Quote
Old 07-19-2007, 02:22 AM   #4
Penumbra
 
 
 
Guest
Posts: n/a
It puts all the tga files into separate vtf files. the vmt's you'll have to create yourself.

Code:
vtex.exe <your mod dir>\materialsrc\wood\*.tga
will create vtf files from every tga file in the wood directory.
  Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source SDK General Discussion


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 01:28 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.