Hard Light Productions Forums

Off-Topic Discussion => Gaming Discussion => Topic started by: Krallis on December 08, 2009, 02:27:41 pm

Title: Extract DDS to PSD
Post by: Krallis on December 08, 2009, 02:27:41 pm
Im trying to extract the .dds texture from the FS2 VP's.
When I save them as PSD's and open them in photoshop they appear fine.
However when they are loaded into my game engien they turn bright pink/yellow/green and the textures are repeated about 4 time in the same space.

Is there anyway to save DDS files as a psd so that they appear properly.
Title: Re: Extract DDS to PSD
Post by: Water on December 08, 2009, 02:43:17 pm
So you are using Photoshop with the dds plugin to open the files and then saving as psd? Or are you doing something else?
Title: Re: Extract DDS to PSD
Post by: Krallis on December 08, 2009, 04:10:28 pm
I might have the plugin I might not.
Im opening the files and saving them using photoshop. (i also tried saving as a copy)
But they end up a badly bitmapped repeated texture that is in 4 bright colours whenever I bring it into my engine.
Title: Re: Extract DDS to PSD
Post by: chief1983 on December 08, 2009, 05:02:40 pm
A PSD...as a game texture format?...wut?

I'm really confused.  Either I misunderstand or you're missing some basic concepts of game texture formats.
Title: Re: Extract DDS to PSD
Post by: Krallis on December 08, 2009, 06:09:13 pm
Im using unreal engine 3, you import your textures as an image file and create a material in the editor.

It can do BMP JPG TIFF PCX PSD etc
Title: Re: Extract DDS to PSD
Post by: chief1983 on December 08, 2009, 06:34:42 pm
You shouldn't use PSD directly though, it's an exchange format, not an actual image format.  It holds layers, some of which could be on or off, who knows.  Doesn't make sense to me to use it anyway.  Why not just use the textures directly?  I can't imagine the UE3 engine can't handle DDS.  Also, DDS files are mipmapped, might be why you're getting the texture showing up multiple times.
Title: Re: Extract DDS to PSD
Post by: Krallis on December 08, 2009, 06:58:39 pm
I use psd because it appears to hold transparency information like a png whereas  jpg an bmp dont appear to. And UE3 doesnt support png
Title: Re: Extract DDS to PSD
Post by: Rodo on December 08, 2009, 07:15:56 pm
You could just use Gimp, it's free and it has a good .dds pluggin, so you'll have no trouble at all converting, after reading the original DDS file you can save to .xfc or .tga and then work on it as much as you like, then you can export the result back to .dds format again to check the results ingame.
Title: Re: Extract DDS to PSD
Post by: Water on December 08, 2009, 08:10:25 pm
I use psd because it appears to hold transparency information like a png whereas  jpg an bmp dont appear to. And UE3 doesnt support png
Try tga rather than psd.
Title: Re: Extract DDS to PSD
Post by: chief1983 on December 08, 2009, 08:43:27 pm
TIFF doesn't have alpha?  Either way, yeah try TGA, it should support that.  PSD supports transparency because it's an exchange format.  I'm surprised the program you're using can handle it but you might as well export to a standard format instead of using PSD, you'll have a better idea of what it will look like.  If a TGA looks fine and something is still odd, it's probably something with the UE3 converter.
Title: Re: Extract DDS to PSD
Post by: SteinerX on December 10, 2009, 02:26:59 am
Not sure if this will be of use ...

But had same problems as I began to tex. in Sins of a Solar Empire ... I use PSD and still do ... now without a problem:

The problems were due to the channels/alpha:

Reply: 594: http://sri-corp.com/Forum/index.php?topic=2436.585 (http://sri-corp.com/Forum/index.php?topic=2436.585)

EDIT: also I reverted the .psd to .dds
Title: Re: Extract DDS to PSD
Post by: Stormkeeper on December 10, 2009, 03:09:39 am
Iirc, NVIDIA has a dds conversion Photoshop plug-in.
Title: Re: Extract DDS to PSD
Post by: CP5670 on December 10, 2009, 11:22:46 am
I use the nvDXT utility for FS2 textures and it works well there, although it's command line based.
Title: Re: Extract DDS to PSD
Post by: Colonol Dekker on December 10, 2009, 01:56:00 pm
Why's this in gaming discussion?
Title: Re: Extract DDS to PSD
Post by: Jeff Vader on December 10, 2009, 02:00:04 pm
Why's this in gaming discussion?
Im using unreal engine 3
Even though he is extracting FS2 textures (which, on that note, seems to be working flawlessly), the actual modding is Unreal-related. Which is a non-FS game.
Title: Re: Extract DDS to PSD
Post by: Colonol Dekker on December 11, 2009, 04:59:05 am
Use nvidia plugins :)