by Toripony » Mon Jun 20, 2011 8:06 pm
From my files (someone else asked this one time).....
How to get a TgPcDx texture file into your graphics editor.
First, download and install the application DXTBmp. http://www.btinternet.com/~mnwright/programs/dxtbmp.htm
1. Next, I assume you have RWTools installed. In the RWT Options menu, select Texture Editor Path and put in the path to the DXTBmp application executable that you just installed.
2. Now, RIGHT-click on a TgPcDx file and choose Open With... and choose RWTools from the list (or make the file/app association). OR you can open RWTools, then File, Open, and hunt down the texture file (I hate drilling down through all of those folders so I use the former method). Either way, you are now in RWT with the texture file open.
3. From the RWT Graphics menu, select Convert TgPcDx to DDS. You'll get a msg box; just close it. DO NOT CLOSE RWT... it must remain open for now!!
4. Go back to the Graphics menu and select Edit DDS file. DXTBmp will open with a view of the texture file in DDS format.
5. From the DXTBmp Prefs menu, select Select Editor and point it to your Photoshop or PSP application exe (by default it will open MSPaint). BTW, these options only have to be set once.
6. Now, from the DXTBmp Image menu, select Send to Editor. Photoshop will open with your texture file in BMP format where you can edit at will. This is where you can paste a brick texture over it if you so desired (and feeling a little funky, lol).
7. When finished, Save the file with the same name overwriting the file in the temp location that DXTBmp created when it sent the file over to PSP. Close PS or just switch back over to DXTBmp. (This step might be a little different in PSP than in Photoshop. When I do this in Photoshop, it automatically opens the temp folder that DXTBmp created containing the temporary BMP version of our file. If you ever need to go hunt this down, it should be in a temp folder under your C:\User folder\your username\Local.)
8. From the DXTBmp Image menu, select Reload After Edit.
9. From the DXTBmp File menu, select Save (NOT Save As...). In the File Save Dialog, you'll see it is pointing to a folder called TempDDS containing your texture file in the DDS format. RWT created this when you sent the file to DXTBmp originally. Save the file there, overwriting the original. (leave the Type field as is... it knows what to do) Close DXTBmp.
10. From the RWT Graphics menu, select Convert DDS to TgPcDx. In the Convert DDS dialog, you'll once again see you're in the TempDDS folder and there's your texture file. Select it and confirm the alerter that this IS what you want to do. (If you ever have to hunt it down, something probably went wrong. The TempDDS folder exists only temporarily under the RWTools installation folder; it vaporizes when you close RWT)
11. You are done. You can now close RWT. You have walked the TgPcDx file through conversion to a DDS, then conversion to a BMP, done your editing, then walked it through conversion back to DDS and finally back to TgPcDx.
Now that you have DXTBmp on your system, you can associate your TgPcDx files with the app; it will open those files directly. So now by simply double-clicking on any texture file, you can view it instantly in DXTBmp. But remember, if you want to EDIT it, you'll have to follow the entire RWTools conversion-conversion-conversion-conversion procedure. You'll also see the Alpha Channel content in the upper right corner of DXTBmp. I have edited that Alpha Channel using this same procedure; it opens in your graphics editor as a b&w bmp.
Toripony