Titan Quest


Go Back   Titan Quest Forums > Modding Titan Quest > Modifications and The Editor > Skin Modifications
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read



If you are having problems logging in, send a mail to webmaster@titanquest.net and we'll try to sort something out.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-14-2007, 03:34 AM
SkarsniK22's Avatar
SkarsniK22
[User Offline]
Citizen
 
Join Date: Sep 2007
Posts: 47
Default .psd to .tex?

Using the Texture Viewer I have exported a texture as a .psd file & edited it.
But I have no idea how to convert it back...
Can anyone help?
__________________

Warhammer Online
Age Of Reckoning

The Names Jay, Crazy Jay

Kill Crazy Jay
Reply With Quote
  #2 (permalink)  
Old 10-14-2007, 06:11 AM
I_Raps's Avatar
I_Raps
[User Offline]
 
Join Date: Jul 2006
Posts: 2,244
Default Re: .psd to .tex?

I have a batch file that consists of one line:

texturecompiler "target.psd" "target.tex" -format tex

This sits in the C:\Program Files\THQ\Titan Quest Immortal Throne and C:\Program Files\THQ\Titan Quest directories.

Just name your .psd file "target.psd", put it in the directory with the batch file, run the batch file, then rename "target.tex" to its real name.
Reply With Quote
  #3 (permalink)  
Old 10-14-2007, 12:47 PM
SkarsniK22's Avatar
SkarsniK22
[User Offline]
Citizen
 
Join Date: Sep 2007
Posts: 47
Default Re: .psd to .tex?

Whe I open it, it flashes up on the screen the dissapears???

Last edited by SkarsniK22 : 10-14-2007 at 12:54 PM.
Reply With Quote
  #4 (permalink)  
Old 10-14-2007, 07:14 PM
I_Raps's Avatar
I_Raps
[User Offline]
 
Join Date: Jul 2006
Posts: 2,244
Default Re: .psd to .tex?

Quote:
Originally Posted by SkarsniK22 View Post
Whe I open it, it flashes up on the screen the dissapears???
You can add a line in the .bat to make it pause so you can read any error message:

texturecompiler "target.psd" "target.tex" -format tex
pause

If you copied from my first post, make sure there's no html code that got copied; make sure about the spacing, etc.

Your .psd must be named:

target.psd

... and it must be in the same folder with the .bat and texturecompiler.exe. Those are the obvious possible glitches. Another possibility is that your .psd file is not saved with the right options. I normally use the .tga format instead because my paint program barely supports .psd. The .tga lets me set options - 24 bits, uncompressed - and forces layers/selections to be merged so you get one layer and one alpha.

If you want to try that, save your picture as target.tga and change the .bat to say:

texturecompiler "target.tga" "target.tex" -format tex
pause

[Edit] One other thing - even when it works right, all you get with the original (no pause) .bat is a quick flash. Check your directory and see if there's not a new target.tex file in there.

Last edited by I_Raps : 10-14-2007 at 07:17 PM.
Reply With Quote
  #5 (permalink)  
Old 10-15-2007, 05:07 PM
SkarsniK22's Avatar
SkarsniK22
[User Offline]
Citizen
 
Join Date: Sep 2007
Posts: 47
Default Re: .psd to .tex?

I'm really confused....
(1) How do I make a batch file
(2)I dont think I'm confused after No.1...
Reply With Quote
  #6 (permalink)  
Old 10-15-2007, 06:58 PM
I_Raps's Avatar
I_Raps
[User Offline]
 
Join Date: Jul 2006
Posts: 2,244
Default Re: .psd to .tex?

Right-click on your desktop and choose new/text document.
Type in your command lines just as they appear above.
Save the file.
Change its name from "new text document.txt" to "whateveryouwant.bat"
Move it from the desktop to the TQ program directory.
Reply With Quote
  #7 (permalink)  
Old 10-16-2007, 04:27 PM
SkarsniK22's Avatar
SkarsniK22
[User Offline]
Citizen
 
Join Date: Sep 2007
Posts: 47
Default Re: .psd to .tex?

I changed the name from newtextdocument.txt to something.bat
still nothing; target.psd is in the titan quest directory along with something.bat(which still says it is a txt doc even thought the name is changed)
__________________

Warhammer Online
Age Of Reckoning

The Names Jay, Crazy Jay

Kill Crazy Jay

Last edited by SkarsniK22 : 10-16-2007 at 05:18 PM.
Reply With Quote
  #8 (permalink)  
Old 10-16-2007, 10:07 PM
I_Raps's Avatar
I_Raps
[User Offline]
 
Join Date: Jul 2006
Posts: 2,244
Default Re: .psd to .tex?

That's strange, but someone else had a similar problem. I think your operating system is not setup to allow you to create executables.

Download this and try it (just click the Free button and choose Save).

RapidShare: 1-Click Webhosting

Put it in the C:\Program Files\THQ\Titan Quest directory along with your .psd and doubleclick it.

(I've been assuming all this time that you have Windows. If you have Vista or something else, then I'm in unknown territory).
Reply With Quote
  #9 (permalink)  
Old 10-17-2007, 04:27 PM
SkarsniK22's Avatar
SkarsniK22
[User Offline]
Citizen
 
Join Date: Sep 2007
Posts: 47
Default Re: .psd to .tex?

I have Windows XP
__________________

Warhammer Online
Age Of Reckoning

The Names Jay, Crazy Jay

Kill Crazy Jay
Reply With Quote
  #10 (permalink)  
Old 10-17-2007, 08:06 PM
daloonie
[User Offline]
Citizen
 
Join Date: Mar 2007
Posts: 65
Default Re: .psd to .tex?

I had a problem using batch programming to convert psd to tex. Though I had to take untraditional methods to resolve it.
The problem was MS-DOS didn't recognize the path to the textureconverter.exe. So I had to guide it to the right path before setting converting my texture to tex.

Code:
f:
cd games
cd Titan Quest Immortal Throne
TextureConverter.exe "c:\maleskin.psd" "c:\maleskin.tex" -format dxt3
pause
Then it worked.
__________________
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:54 AM.


Powered by vBulletin® Version 3.6.11
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Titan Quest Forums are not affiliated with THQ/Iron Lore.